4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
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 $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -27,7 +27,7 @@ LIBS := $(filter-out -lpgport, $(LIBS))
27
27
28
28
OBJS = execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
29
29
connect.o misc.o path.o \
30
- $(filter snprintf.o, $(LIBOBJS ) )
30
+ $(filter snprintf.o strlcpy.o , $(LIBOBJS ) )
31
31
32
32
# thread.c is needed only for non-WIN32 implementation of path.c
33
33
ifneq ($(PORTNAME ) , win32)
@@ -51,7 +51,7 @@ include $(top_srcdir)/src/Makefile.shlib
51
51
# necessarily use the same object files as the backend uses. Instead,
52
52
# symlink the source files in here and build our own object file.
53
53
54
- path.c snprintf.c thread.c : % : $(top_srcdir ) /src/port/%
54
+ path.c snprintf.c strlcpy.c thread.c : % : $(top_srcdir ) /src/port/%
55
55
rm -f $@ && $(LN_S ) $< .
56
56
57
57
path.o : path.c $(top_builddir ) /src/port/pg_config_paths.h
@@ -67,7 +67,7 @@ installdirs:
67
67
uninstall : uninstall-lib
68
68
69
69
clean distclean maintainer-clean : clean-lib
70
- rm -f $(OBJS ) path.c snprintf.c thread.c
70
+ rm -f $(OBJS ) path.c snprintf.c strlcpy.c thread.c
71
71
72
72
depend dep :
73
73
$(CC ) -MM $(CFLAGS ) * .c > depend
0 commit comments