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
3101181e
Commit
3101181e
authored
Jun 19, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add changes to support threads on Win32 native port at some point in the future.
parent
af70d578
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+14
-3
No files found.
src/interfaces/libpq/Makefile
View file @
3101181e
...
@@ -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/libpq/Makefile,v 1.1
09 2004/05/24 01:01:3
8 momjian Exp $
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.1
10 2004/06/19 04:43:1
8 momjian Exp $
#
#
#-------------------------------------------------------------------------
#-------------------------------------------------------------------------
...
@@ -25,8 +25,14 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
...
@@ -25,8 +25,14 @@ 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
\
dllist.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o
\
dllist.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,
$(LIBOBJS)
)
ifeq
($(PORTNAME), win32)
ifeq
($(PORTNAME), win32)
OBJS
+=
win32.o
OBJS
+=
win32.o
ifeq
($(enable_thread_safety), yes)
# This doesn't work yet because configure test fails. 2004-06-19
OBJS
+=
pthread-win32.o
PTHREAD_H_WIN32
=
yes
endif
endif
endif
...
@@ -39,7 +45,7 @@ SHLIB_LINK += -lwsock32 -lws2_32
...
@@ -39,7 +45,7 @@ SHLIB_LINK += -lwsock32 -lws2_32
endif
endif
all
:
all-lib
all
:
$(PTHREAD_H_WIN32)
all-lib
# Shared library stuff
# Shared library stuff
include
$(top_srcdir)/src/Makefile.shlib
include
$(top_srcdir)/src/Makefile.shlib
...
@@ -66,6 +72,11 @@ encnames.c wchar.c : % : $(backend_src)/utils/mb/%
...
@@ -66,6 +72,11 @@ encnames.c wchar.c : % : $(backend_src)/utils/mb/%
rm
-f
$@
&&
$(LN_S)
$<
.
rm
-f
$@
&&
$(LN_S)
$<
.
ifeq
($(PTHREAD_H_WIN32))
pthread.h
:
% : $(top_srcdir)/src/interfaces/libpq/pthread.h.win
rm
-f
$@
&&
$(LN_S)
$<
.
endif
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)
$(INSTALL_DATA)
$(srcdir)
/libpq-int.h
$(DESTDIR)$(includedir_internal)
$(INSTALL_DATA)
$(srcdir)
/libpq-int.h
$(DESTDIR)$(includedir_internal)
...
@@ -79,4 +90,4 @@ uninstall: uninstall-lib
...
@@ -79,4 +90,4 @@ uninstall: uninstall-lib
rm
-f
$(DESTDIR)$(includedir)
/libpq-fe.h
$(DESTDIR)$(includedir_internal)
/libpq-int.h
$(DESTDIR)$(includedir_internal)
/pqexpbuffer.h
rm
-f
$(DESTDIR)$(includedir)
/libpq-fe.h
$(DESTDIR)$(includedir_internal)
/libpq-int.h
$(DESTDIR)$(includedir_internal)
/pqexpbuffer.h
clean distclean maintainer-clean
:
clean-lib
clean distclean maintainer-clean
:
clean-lib
rm
-f
$(OBJS)
crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
rm
-f
$(OBJS)
crypt.c getaddrinfo.c inet_aton.c noblock.c pgstrcasecmp.c snprintf.c strerror.c open.c thread.c dllist.c md5.c ip.c encnames.c wchar.c
pthread.h
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