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
26af72b4
Commit
26af72b4
authored
Jan 05, 2009
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow out-of-tree builds on mingw and cygwin
Author: Richard Evans <richard.evans@blueallegro.net>
parent
901d419e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
+11
-10
src/Makefile.shlib
src/Makefile.shlib
+4
-3
src/bin/pgevent/Makefile
src/bin/pgevent/Makefile
+3
-3
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+2
-2
src/makefiles/Makefile.win32
src/makefiles/Makefile.win32
+2
-2
No files found.
src/Makefile.shlib
View file @
26af72b4
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.1
19 2008/12/11 07:34:07
petere Exp $
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.1
20 2009/01/05 09:27:19
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -406,15 +406,16 @@ else # PORTNAME == cygwin || PORTNAME == win32
# Cygwin or Win32 case
DLL_DEFFILE
=
lib
$(NAME)
dll.def
# If SHLIB_EXPORTS is set, the rules below will build a .def file from
# that. Else we build a temporary one here.
ifeq
(,$(SHLIB_EXPORTS))
DLL_DEFFILE
=
lib
$(NAME)
dll.def
exports_file
=
$(DLL_DEFFILE)
$(exports_file)
:
$(OBJS)
$(DLLTOOL)
--export-all
$(DLLTOOL_DEFFLAGS)
--output-def
$@
$^
else
DLL_DEFFILE
=
$(srcdir)
/lib
$(NAME)
dll.def
endif
$(shlib)
:
$(OBJS) $(DLL_DEFFILE)
...
...
src/bin/pgevent/Makefile
View file @
26af72b4
...
...
@@ -21,11 +21,11 @@ all: $(NAME)
install
:
all install-lib
pgevent.dll
:
$(OBJS) pgevent.def
$(DLLWRAP)
--def
pgevent.def
-o
$(NAME)
$(OBJS)
pgevent.dll
:
pgevent.def $(OBJS)
$(DLLWRAP)
--def
$<
-o
$(NAME)
$(OBJS)
pgmsgevent.o
:
pgmsgevent.rc win32ver.rc
$(WINDRES)
pgmsgevent.rc
-o
pgmsgevent.o
--include-dir
=
$(top_builddir)
/src/include
$(WINDRES)
$<
-o
$@
--include-dir
=
$(top_builddir)
/src/include
--include-dir
=
$(top_srcdir)
/src/include
--include-dir
=
$(srcdir)
all-lib
:
$(NAME)
...
...
src/interfaces/libpq/Makefile
View file @
26af72b4
...
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2009, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.17
2 2009/01/01 17:24:03 momjian
Exp $
# $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.17
3 2009/01/05 09:27:19 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -19,7 +19,7 @@ NAME= pq
SO_MAJOR_VERSION
=
5
SO_MINOR_VERSION
=
2
override CPPFLAGS
:
= -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
override CPPFLAGS
:
= -DFRONTEND -DUNSAFE_STAT_OK -I$(srcdir) $(CPPFLAGS) -I$(top_builddir)/src/port
-I$(top_srcdir)/src/port
ifneq
($(PORTNAME), win32)
override
CFLAGS
+=
$(PTHREAD_CFLAGS)
endif
...
...
src/makefiles/Makefile.win32
View file @
26af72b4
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.1
2 2008/12/07 08:36:22
petere Exp $
# $PostgreSQL: pgsql/src/makefiles/Makefile.win32,v 1.1
3 2009/01/05 09:27:20
petere Exp $
# Use replacement include files for those missing on Win32
override
CPPFLAGS
+=
"-I
$(top_srcdir)
/src/include/port/win32"
...
...
@@ -67,4 +67,4 @@ win32ver.rc: $(top_srcdir)/src/port/win32ver.rc
sed
-e
's;FILEDESC;
$(PGFILEDESC)
;'
-e
's;VFT_APP;
$(PGFTYPE)
;'
-e
's;_ICO_;
$(PGICOSTR)
;'
-e
's;\(VERSION.*\),0 *$$;\1,'
`
date
'+%y%j'
|
sed
's/^0*//'
`
';'
$<
>
$@
win32ver.o
:
win32ver.rc
$(WINDRES)
-i
$<
-o
$@
--include-dir
=
$(top_builddir)
/src/include
$(WINDRES)
-i
$<
-o
$@
--include-dir
=
$(top_builddir)
/src/include
--include-dir
=
$(srcdir)
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