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
a34d76ef
Commit
a34d76ef
authored
Nov 20, 2004
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up makefile dependencies for pg_config_paths.h.
parent
3e3f283e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
15 deletions
+21
-15
src/Makefile.shlib
src/Makefile.shlib
+3
-3
src/interfaces/ecpg/ecpglib/Makefile
src/interfaces/ecpg/ecpglib/Makefile
+6
-4
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+12
-8
No files found.
src/Makefile.shlib
View file @
a34d76ef
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
# Copyright (c) 1998, Regents of the University of California
#
#
# IDENTIFICATION
# IDENTIFICATION
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.
89 2004/11/19 21:27:42
tgl Exp $
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.
90 2004/11/20 21:13:04
tgl Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -257,9 +257,9 @@ endif # enable_shared
...
@@ -257,9 +257,9 @@ endif # enable_shared
all-lib
:
all-static-lib all-shared-lib
all-lib
:
all-static-lib all-shared-lib
all-static-lib
:
$(PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h
lib$(NAME).a
all-static-lib
:
lib$(NAME).a
all-shared-lib
:
$(
PTHREAD_H_WIN32) $(top_builddir)/src/port/pg_config_paths.h $(
shlib)
all-shared-lib
:
$(shlib)
ifndef
LORDER
ifndef
LORDER
MK_NO_LORDER
:=
true
MK_NO_LORDER
:=
true
...
...
src/interfaces/ecpg/ecpglib/Makefile
View file @
a34d76ef
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
#
#
# Copyright (c) 1994, Regents of the University of California
# Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.2
8 2004/10/12 04:48:35 neilc
Exp $
# $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.2
9 2004/11/20 21:13:05 tgl
Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -30,7 +30,7 @@ OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
...
@@ -30,7 +30,7 @@ OBJS= execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
SHLIB_LINK
=
-L
../pgtypeslib
-lpgtypes
$(libpq)
\
SHLIB_LINK
=
-L
../pgtypeslib
-lpgtypes
$(libpq)
\
$(
filter
-lintl
-lssl
-lcrypto
-lkrb5
-lcrypt
-lm
,
$(LIBS)
)
$(PTHREAD_LIBS)
$(
filter
-lintl
-lssl
-lcrypto
-lkrb5
-lcrypt
-lm
,
$(LIBS)
)
$(PTHREAD_LIBS)
all
:
$(top_builddir)/src/port/pg_config_paths.h
all-lib
all
:
all-lib
# Shared library stuff
# Shared library stuff
include
$(top_srcdir)/src/Makefile.shlib
include
$(top_srcdir)/src/Makefile.shlib
...
@@ -46,8 +46,10 @@ path.c: % : $(top_srcdir)/src/port/%
...
@@ -46,8 +46,10 @@ path.c: % : $(top_srcdir)/src/port/%
exec.c
:
% : $(top_srcdir)/src/port/%
exec.c
:
% : $(top_srcdir)/src/port/%
rm
-f
$@
&&
$(LN_S)
$<
.
rm
-f
$@
&&
$(LN_S)
$<
.
$(top_srcdir)/src/port/pg_config_paths.h
:
path.o
:
path.c $(top_builddir)/src/port/pg_config_paths.h
$(MAKE)
-C
$(top_srcdir)
/src/port pg_config_paths.h
$(top_builddir)/src/port/pg_config_paths.h
:
$(MAKE)
-C
$(top_builddir)
/src/port pg_config_paths.h
install
:
all installdirs install-lib
install
:
all installdirs install-lib
...
...
src/interfaces/libpq/Makefile
View file @
a34d76ef
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
# Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
# Portions Copyright (c) 1994, Regents of the University of California
#
#
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.12
1 2004/11/17 17:46:19
tgl Exp $
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.12
2 2004/11/20 21:13:06
tgl Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -37,13 +37,15 @@ endif
...
@@ -37,13 +37,15 @@ endif
ifeq
($(PORTNAME), win32)
ifeq
($(PORTNAME), win32)
OBJS
+=
win32.o libpqrc.o
OBJS
+=
win32.o libpqrc.o
libpqrc.o
:
libpq.rc
windres
-i
libpq.rc
-o
libpqrc.o
DLL_DEFFILE
=
libpqdll.def
DLL_DEFFILE
=
libpqdll.def
libpqrc.o
:
libpq.rc
windres
-i
libpq.rc
-o
libpqrc.o
ifeq
($(enable_thread_safety), yes)
ifeq
($(enable_thread_safety), yes)
# This doesn't work yet because configure test fails. 2004-06-19
# This doesn't work yet because configure test fails. 2004-06-19
OBJS
+=
pthread-win32.o
OBJS
+=
pthread-win32.o
PTHREAD_H_WIN32
=
yes
PTHREAD_H_WIN32
=
pthread.h
endif
endif
endif
endif
...
@@ -57,7 +59,7 @@ SHLIB_LINK += -lwsock32 -lws2_32 $(filter -leay32 -lssleay32, $(LIBS))
...
@@ -57,7 +59,7 @@ SHLIB_LINK += -lwsock32 -lws2_32 $(filter -leay32 -lssleay32, $(LIBS))
endif
endif
all
:
$(PTHREAD_H_WIN32)
$(top_builddir)/src/port/pg_config_paths.h
def-files all-lib
all
:
$(PTHREAD_H_WIN32) def-files all-lib
# Shared library stuff
# Shared library stuff
include
$(top_srcdir)/src/Makefile.shlib
include
$(top_srcdir)/src/Makefile.shlib
...
@@ -118,12 +120,14 @@ $(srcdir)/blibpqdll.def: exports.txt
...
@@ -118,12 +120,14 @@ $(srcdir)/blibpqdll.def: exports.txt
ifneq
($(PTHREAD_H_WIN32), "")
ifneq
($(PTHREAD_H_WIN32), "")
pthread.h
:
%
: $(top_srcdir)/src/interfaces/libpq/pthread.h.win
pthread.h
:
$(top_srcdir)/src/interfaces/libpq/pthread.h.win
rm
-f
$@
&&
$(LN_S)
$<
.
rm
-f
$@
&&
$(LN_S)
$<
.
endif
endif
$(top_srcdir)/src/port/pg_config_paths.h
:
fe-connect.o
:
fe-connect.c $(top_builddir)/src/port/pg_config_paths.h
$(MAKE)
-C
$(top_srcdir)
/src/port pg_config_paths.h
$(top_builddir)/src/port/pg_config_paths.h
:
$(MAKE)
-C
$(top_builddir)
/src/port pg_config_paths.h
install
:
all installdirs install-lib
install
:
all installdirs install-lib
$(INSTALL_DATA)
$(srcdir)
/libpq-fe.h
$(DESTDIR)$(includedir)
$(INSTALL_DATA)
$(srcdir)
/libpq-fe.h
$(DESTDIR)$(includedir)
...
...
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