@@ -35,7 +35,8 @@ 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 fe-secure.o \
36
36
libpq-events.o
37
37
# libpgport C files we always use
38
- OBJS += chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o thread.o
38
+ OBJS += chklocale.o inet_net_ntop.o noblock.o pgstrcasecmp.o pqsignal.o \
39
+ thread.o
39
40
# libpgport C files that are needed if identified by configure
40
41
OBJS += $(filter crypt.o getaddrinfo.o getpeereid.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o win32setlocale.o, $(LIBOBJS ) )
41
42
# backend/libpq
@@ -81,14 +82,14 @@ include $(top_srcdir)/src/Makefile.shlib
81
82
backend_src = $(top_srcdir ) /src/backend
82
83
83
84
84
- # We use several backend modules verbatim, but since we need to
85
- # compile with appropriate options to build a shared lib, we can't
86
- # necessarily use the same object files as the backend uses. Instead,
87
- # symlink the source files in here and build our own object file .
85
+ # We use several libpgport and backend modules verbatim, but since we need
86
+ # to compile with appropriate options to build a shared lib, we can't
87
+ # necessarily use the same object files built for libpgport and the backend.
88
+ # Instead, symlink the source files in here and build our own object files .
88
89
# For some libpgport modules, this only happens if configure decides
89
90
# the module is needed (see filter hack in OBJS, above).
90
91
91
- chklocale.c crypt.c getaddrinfo.c getpeereid.c inet_aton.c inet_net_ntop.c noblock.c open.c pgsleep.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c win32setlocale.c : % : $(top_srcdir ) /src/port/%
92
+ chklocale.c crypt.c getaddrinfo.c getpeereid.c inet_aton.c inet_net_ntop.c noblock.c open.c pgsleep.c pgstrcasecmp.c pqsignal.c snprintf.c strerror.c strlcpy.c thread.c win32error.c win32setlocale.c : % : $(top_srcdir ) /src/port/%
92
93
rm -f $@ && $(LN_S ) $< .
93
94
94
95
ip.c md5.c : % : $(backend_src ) /libpq/%
@@ -139,7 +140,7 @@ clean distclean: clean-lib
139
140
rm -f $(OBJS ) pthread.h libpq.rc
140
141
# Might be left over from a Win32 client-only build
141
142
rm -f pg_config_paths.h
142
- rm -f inet_net_ntop.c noblock.c pgstrcasecmp.c thread.c
143
+ rm -f inet_net_ntop.c noblock.c pgstrcasecmp.c pqsignal.c thread.c
143
144
rm -f chklocale.c crypt.c getaddrinfo.c getpeereid.c inet_aton.c open.c snprintf.c strerror.c strlcpy.c win32error.c win32setlocale.c
144
145
rm -f pgsleep.c
145
146
rm -f md5.c ip.c
0 commit comments