|
|
|
|
@ -5,7 +5,7 @@ |
|
|
|
|
# Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
|
|
|
|
# Portions Copyright (c) 1994, Regents of the University of California
|
|
|
|
|
#
|
|
|
|
|
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.148 2006/09/09 03:15:40 tgl Exp $
|
|
|
|
|
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.149 2006/09/27 21:29:17 tgl Exp $
|
|
|
|
|
#
|
|
|
|
|
#-------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
@ -34,7 +34,7 @@ LIBS := $(LIBS:-lpgport=) |
|
|
|
|
OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
|
|
|
|
|
fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
|
|
|
|
|
md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o \
|
|
|
|
|
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o, $(LIBOBJS))
|
|
|
|
|
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o, $(LIBOBJS))
|
|
|
|
|
|
|
|
|
|
ifeq ($(PORTNAME), cygwin) |
|
|
|
|
override shlib = cyg$(NAME)$(DLSUFFIX)
|
|
|
|
|
@ -80,7 +80,7 @@ backend_src = $(top_srcdir)/src/backend |
|
|
|
|
# For port modules, this only happens if configure decides the module
|
|
|
|
|
# is needed (see filter hack in OBJS, above).
|
|
|
|
|
|
|
|
|
|
crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c: % : $(top_srcdir)/src/port/% |
|
|
|
|
crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c: % : $(top_srcdir)/src/port/% |
|
|
|
|
rm -f $@ && $(LN_S) $< .
|
|
|
|
|
|
|
|
|
|
md5.c ip.c: % : $(backend_src)/libpq/% |
|
|
|
|
@ -169,7 +169,7 @@ uninstall: uninstall-lib |
|
|
|
|
rm -f '$(DESTDIR)$(includedir)/libpq-fe.h' '$(DESTDIR)$(includedir_internal)/libpq-int.h' '$(DESTDIR)$(includedir_internal)/pqexpbuffer.h' '$(DESTDIR)$(datadir)/pg_service.conf.sample'
|
|
|
|
|
|
|
|
|
|
clean distclean: clean-lib |
|
|
|
|
rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c md5.c ip.c encnames.c wchar.c pthread.h exports.list
|
|
|
|
|
rm -f $(OBJS) pg_config_paths.h crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c md5.c ip.c encnames.c wchar.c pthread.h exports.list
|
|
|
|
|
rm -f pg_config_paths.h # Might be left over from a Win32 client-only build
|
|
|
|
|
|
|
|
|
|
maintainer-clean: distclean |
|
|
|
|
|