summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.win
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-09-27 15:17:57 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-09-27 15:17:57 +0000
commit664ce79dd84220afbf6c6b727c6280ec85148267 (patch)
treefbed3a54d787b20b3aafc79980ec0bc7807effbb /src/makefiles/Makefile.win
parentf5ab0169231ca69ff194fba191d98e0bcc3e8e72 (diff)
downloadpostgresql-664ce79dd84220afbf6c6b727c6280ec85148267.tar.gz
Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.
Update the installation instructions (formerly misnamed "FAQ"), add configure checks for some headers rather than having users copy stubs manually (ugh!). Use Autoconf check for exe extension. This also avoids inheriting the value of $(X) from the environment.
Diffstat (limited to 'src/makefiles/Makefile.win')
-rw-r--r--src/makefiles/Makefile.win4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/makefiles/Makefile.win b/src/makefiles/Makefile.win
index 45fab0e6e2..2f4d723edd 100644
--- a/src/makefiles/Makefile.win
+++ b/src/makefiles/Makefile.win
@@ -1,9 +1,7 @@
-CFLAGS+= -I/usr/local/include
LDFLAGS+= -g
DLLTOOL= dlltool
DLLWRAP= dllwrap
DLLLIBS=-L/usr/local/lib -L$(libdir) -L$(top_builddir)/src/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
-X=.exe
MK_NO_LORDER=true
MAKE_DLL=true
#MAKE_DLL=false
@@ -16,5 +14,5 @@ SHLIB_LINK=$(DLLLIBS)
curdir:=$(shell pwd)
ifeq ($(findstring backend,$(curdir)), backend)
-CFLAGS+= -DBUILDING_DLL=1
+CPPFLAGS+= -DBUILDING_DLL=1
endif