LIBS := $(filter-out -lpgport, $(LIBS))
OBJS= informix.o snprintf.o strerror.o \
- $(filter strnlen.o, $(LIBOBJS)) $(WIN32RES)
+ $(filter strlcpy.o strnlen.o, $(LIBOBJS)) $(WIN32RES)
PKG_CONFIG_REQUIRES_PRIVATE = libecpg libpgtypes
# Shared library stuff
include $(top_srcdir)/src/Makefile.shlib
-snprintf.c strerror.c strnlen.c: % : $(top_srcdir)/src/port/%
+snprintf.c strerror.c strlcpy.c strnlen.c: % : $(top_srcdir)/src/port/%
rm -f $@ && $(LN_S) $< .
install: all installdirs install-lib
uninstall: uninstall-lib
clean distclean: clean-lib
- rm -f $(OBJS) snprintf.c strerror.c strnlen.c
+ rm -f $(OBJS) snprintf.c strerror.c strlcpy.c strnlen.c
maintainer-clean: distclean maintainer-clean-lib
OBJS= numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \
pgstrcasecmp.o snprintf.o strerror.o \
- $(filter rint.o strnlen.o, $(LIBOBJS)) \
+ $(filter rint.o strlcpy.o strnlen.o, $(LIBOBJS)) \
string.o \
$(WIN32RES)
# necessarily use the same object files as the backend uses. Instead,
# symlink the source files in here and build our own object file.
-pgstrcasecmp.c rint.c snprintf.c strerror.c strnlen.c: % : $(top_srcdir)/src/port/%
+pgstrcasecmp.c rint.c snprintf.c strerror.c strlcpy.c strnlen.c: % : $(top_srcdir)/src/port/%
rm -f $@ && $(LN_S) $< .
string.c: % : $(top_srcdir)/src/common/%
uninstall: uninstall-lib
clean distclean: clean-lib
- rm -f $(OBJS) pgstrcasecmp.c rint.c snprintf.c strerror.c strnlen.c string.c
+ rm -f $(OBJS) pgstrcasecmp.c rint.c snprintf.c strerror.c strlcpy.c strnlen.c string.c
maintainer-clean: distclean maintainer-clean-lib