Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1f48290

Browse files
committed
In libpq/Makefile, use OBJS += as a way to break up long link lines into
something that can be documented.
1 parentfe7a32f commit1f48290

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

‎src/interfaces/libpq/Makefile

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,18 +29,19 @@ endif
2929
# platforms require special flags.
3030
LIBS :=$(LIBS:-lpgport=)
3131

32-
# 'filter' is used for libpgport C files that are needed by libpq if
33-
# identified by configure, and we optionally add pgsleep.o below.
3432
# We can't use Makefile variables here because the MSVC build system scrapes
3533
# OBJS from this file.
36-
# The last two lines come from backend/libpq and utils/mb.
3734
OBJS=fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o\
3835
fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o\
39-
libpq-events.o\
40-
inet_net_ntop.o noblock.o pgstrcasecmp.o thread.o\
41-
$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o,$(LIBOBJS))\
42-
ip.o md5.o\
43-
encnames.o wchar.o
36+
libpq-events.o
37+
# libpgport C files we always use
38+
OBJS += inet_net_ntop.o noblock.o pgstrcasecmp.o thread.o
39+
# libpgport C files that are needed if identified by configure
40+
OBJS +=$(filter crypt.o getaddrinfo.o inet_aton.o open.o snprintf.o strerror.o strlcpy.o win32error.o,$(LIBOBJS))
41+
# backend/libpq
42+
OBJS += ip.o md5.o
43+
# utils/mb
44+
OBJS += encnames.o wchar.o
4445

4546
ifeq ($(PORTNAME), cygwin)
4647
overrideshlib = cyg$(NAME)$(DLSUFFIX)
@@ -134,9 +135,7 @@ clean distclean: clean-lib
134135
# Might be left over from a Win32 client-only build
135136
rm -f pg_config_paths.h
136137
rm -f inet_net_ntop.c noblock.c pgstrcasecmp.c thread.c
137-
# optional libpgport files
138138
rm -f crypt.c getaddrinfo.c inet_aton.c open.c snprintf.c strerror.c strlcpy.c win32error.c
139-
# optional Win32
140139
rm -f pgsleep.c
141140
rm -f md5.c ip.c
142141
rm -f encnames.c wchar.c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp