mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Properly add new inet_net_ntop file to libpq Makefile.
This commit is contained in:
parent
7276ab5888
commit
58dfb07b5d
@ -27,13 +27,14 @@ endif
|
|||||||
# Need to recompile any libpgport object files because we need these
|
# Need to recompile any libpgport object files because we need these
|
||||||
# object files to use the same compile flags as libpq. If we used
|
# object files to use the same compile flags as libpq. If we used
|
||||||
# the object files from libpgport, this would not be true on all
|
# the object files from libpgport, this would not be true on all
|
||||||
# platforms.
|
# platforms. We filter some object files so we only use object
|
||||||
|
# files configure says we need.
|
||||||
LIBS := $(LIBS:-lpgport=)
|
LIBS := $(LIBS:-lpgport=)
|
||||||
|
|
||||||
OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
|
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 \
|
fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
|
||||||
libpq-events.o \
|
libpq-events.o \
|
||||||
md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o \
|
md5.o ip.o wchar.o encnames.o inet_net_ntop.o noblock.o pgstrcasecmp.o thread.o \
|
||||||
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))
|
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o, $(LIBOBJS))
|
||||||
|
|
||||||
ifeq ($(PORTNAME), cygwin)
|
ifeq ($(PORTNAME), cygwin)
|
||||||
@ -80,7 +81,7 @@ backend_src = $(top_srcdir)/src/backend
|
|||||||
# For port modules, this only happens if configure decides the module
|
# For port modules, this only happens if configure decides the module
|
||||||
# is needed (see filter hack in OBJS, above).
|
# is needed (see filter hack in OBJS, above).
|
||||||
|
|
||||||
crypt.c getaddrinfo.c inet_aton.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c pgsleep.c: % : $(top_srcdir)/src/port/%
|
crypt.c getaddrinfo.c inet_aton.c inet_net_ntop.c noblock.c open.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c pgsleep.c: % : $(top_srcdir)/src/port/%
|
||||||
rm -f $@ && $(LN_S) $< .
|
rm -f $@ && $(LN_S) $< .
|
||||||
|
|
||||||
md5.c ip.c: % : $(backend_src)/libpq/%
|
md5.c ip.c: % : $(backend_src)/libpq/%
|
||||||
|
Loading…
x
Reference in New Issue
Block a user