44#
55# Copyright (c) 1994, Regents of the University of California
66#
7- # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.43 2006/09/11 20:10:30 tgl Exp $
7+ # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.44 2006/09/28 14:48:45 tgl Exp $
88#
99# -------------------------------------------------------------------------
1010
@@ -27,7 +27,7 @@ LIBS := $(filter-out -lpgport, $(LIBS))
2727
2828OBJS = execute.o typename.o descriptor.o data.o error.o prepare.o memory.o\
2929connect.o misc.o path.o\
30- $(filter snprintf.o,$(LIBOBJS ) )
30+ $(filter snprintf.o strlcpy.o ,$(LIBOBJS ) )
3131
3232# thread.c is needed only for non-WIN32 implementation of path.c
3333ifneq ($(PORTNAME ) , win32)
@@ -51,7 +51,7 @@ include $(top_srcdir)/src/Makefile.shlib
5151# necessarily use the same object files as the backend uses. Instead,
5252# symlink the source files in here and build our own object file.
5353
54- path.c snprintf.c thread.c :% :$(top_srcdir ) /src/port/%
54+ path.c snprintf.c strlcpy.c thread.c :% :$(top_srcdir ) /src/port/%
5555rm -f$@ && $(LN_S ) $< .
5656
5757path.o : path.c$(top_builddir ) /src/port/pg_config_paths.h
@@ -67,7 +67,7 @@ installdirs:
6767uninstall : uninstall-lib
6868
6969clean distclean maintainer-clean : clean-lib
70- rm -f$(OBJS ) path.c snprintf.c thread.c
70+ rm -f$(OBJS ) path.c snprintf.cstrlcpy.c thread.c
7171
7272depend dep :
7373$(CC ) -MM$(CFLAGS ) * .c> depend