|
5 | 5 | # Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group |
6 | 6 | # Portions Copyright (c) 1994, Regents of the University of California |
7 | 7 | # |
8 | | -# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.148 2006/09/09 03:15:40 tgl Exp $ |
| 8 | +# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.149 2006/09/27 21:29:17 tgl Exp $ |
9 | 9 | # |
10 | 10 | #------------------------------------------------------------------------- |
11 | 11 |
|
@@ -34,7 +34,7 @@ LIBS := $(LIBS:-lpgport=) |
34 | 34 | OBJS=fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o\ |
35 | 35 | fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o\ |
36 | 36 | md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o\ |
37 | | -$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o,$(LIBOBJS)) |
| 37 | +$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o,$(LIBOBJS)) |
38 | 38 |
|
39 | 39 | ifeq ($(PORTNAME), cygwin) |
40 | 40 | overrideshlib = cyg$(NAME)$(DLSUFFIX) |
@@ -80,7 +80,7 @@ backend_src = $(top_srcdir)/src/backend |
80 | 80 | # For port modules, this only happens if configure decides the module |
81 | 81 | # is needed (see filter hack in OBJS, above). |
82 | 82 |
|
83 | | -crypt.cgetaddrinfo.cinet_aton.cnoblock.cpgstrcasecmp.csnprintf.cstrerror.copen.cthread.c:% :$(top_srcdir)/src/port/% |
| 83 | +crypt.cgetaddrinfo.cinet_aton.cnoblock.copen.cpgstrcasecmp.csnprintf.cstrerror.cstrlcpy.cthread.c:% :$(top_srcdir)/src/port/% |
84 | 84 | rm -f$@&&$(LN_S)$<. |
85 | 85 |
|
86 | 86 | md5.cip.c:% :$(backend_src)/libpq/% |
@@ -169,7 +169,7 @@ uninstall: uninstall-lib |
169 | 169 | rm -f'$(DESTDIR)$(includedir)/libpq-fe.h''$(DESTDIR)$(includedir_internal)/libpq-int.h''$(DESTDIR)$(includedir_internal)/pqexpbuffer.h''$(DESTDIR)$(datadir)/pg_service.conf.sample' |
170 | 170 |
|
171 | 171 | cleandistclean: clean-lib |
172 | | -rm -f$(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.copen.c thread.c md5.c ip.c encnames.c wchar.c pthread.h exports.list |
| 172 | +rm -f$(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.copen.cpgstrcasecmp.c snprintf.c strerror.cstrlcpy.c thread.c md5.c ip.c encnames.c wchar.c pthread.h exports.list |
173 | 173 | rm -f pg_config_paths.h# Might be left over from a Win32 client-only build |
174 | 174 |
|
175 | 175 | maintainer-clean: distclean |
|