Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
85bbd549
Commit
85bbd549
authored
Sep 27, 2006
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Oops, forgot that libpq needs extra steps to make use of src/port/ files.
parent
c92f7e25
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
4 deletions
+18
-4
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+4
-4
src/interfaces/libpq/bcc32.mak
src/interfaces/libpq/bcc32.mak
+7
-0
src/interfaces/libpq/win32.mak
src/interfaces/libpq/win32.mak
+7
-0
No files found.
src/interfaces/libpq/Makefile
View file @
85bbd549
...
...
@@ -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.14
8 2006/09/09 03:15:40
tgl Exp $
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.14
9 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
...
...
src/interfaces/libpq/bcc32.mak
View file @
85bbd549
...
...
@@ -76,6 +76,7 @@ ALL : config "$(OUTDIR)" "$(OUTDIR)\blibpq.dll" "$(OUTDIR)\blibpq.lib"
CLEAN
:
-
@erase
"
$(INTDIR)
\g
etaddrinfo.obj"
-
@erase
"
$(INTDIR)
\p
gstrcasecmp.obj"
-
@erase
"
$(INTDIR)
\s
trlcpy.obj"
-
@erase
"
$(INTDIR)
\t
hread.obj"
-
@erase
"
$(INTDIR)
\i
net_aton.obj"
-
@erase
"
$(INTDIR)
\c
rypt.obj"
...
...
@@ -112,6 +113,7 @@ LIB32_OBJS= \
"
$(INTDIR)
\w
in32.obj"
\
"
$(INTDIR)
\g
etaddrinfo.obj"
\
"
$(INTDIR)
\p
gstrcasecmp.obj"
\
"
$(INTDIR)
\s
trlcpy.obj"
\
"
$(INTDIR)
\t
hread.obj"
\
"
$(INTDIR)
\i
net_aton.obj"
\
"
$(INTDIR)
\c
rypt.obj"
\
...
...
@@ -185,6 +187,11 @@ LINK32_OBJS= "$(INTDIR)\libpqdll.obj"
$(CPP_PROJ)
..\..\port\pgstrcasecmp.c
<<
"$(INTDIR)\strlcpy.obj"
:
..\..\port\strlcpy.c
$(CPP)
@<<
$(CPP_PROJ)
..\..\port\strlcpy.c
<<
"$(INTDIR)\thread.obj"
:
..\..\port\thread.c
$(CPP)
@<<
$(CPP_PROJ)
..\..\port\thread.c
...
...
src/interfaces/libpq/win32.mak
View file @
85bbd549
...
...
@@ -69,6 +69,7 @@ CLEAN :
-
@erase
"
$(INTDIR)
\e
ncnames.obj"
-
@erase
"
$(INTDIR)
\p
thread-win32.obj"
-
@erase
"
$(INTDIR)
\s
nprintf.obj"
-
@erase
"
$(INTDIR)
\s
trlcpy.obj"
-
@erase
"
$(OUTDIR)
\$
(OUTFILENAME).lib"
-
@erase
"
$(OUTDIR)
\$
(OUTFILENAME)dll.lib"
-
@erase
"
$(OUTDIR)
\l
ibpq.res"
...
...
@@ -105,6 +106,7 @@ LIB32_OBJS= \
"
$(INTDIR)
\w
char.obj"
\
"
$(INTDIR)
\e
ncnames.obj"
\
"
$(INTDIR)
\s
nprintf.obj"
\
"
$(INTDIR)
\s
trlcpy.obj"
\
"
$(INTDIR)
\p
thread-win32.obj"
...
...
@@ -220,6 +222,11 @@ LINK32_OBJS= \
$(CPP_PROJ)
/I
"."
..\..\port\snprintf.c
<<
"$(INTDIR)\strlcpy.obj"
:
..\..\port\strlcpy.c
$(CPP)
@<<
$(CPP_PROJ)
/I
"."
..\..\port\strlcpy.c
<<
.c{$(CPP_OBJS)}.obj
:
$(CPP)
$(CPP_PROJ)
$<
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment