summaryrefslogtreecommitdiff
path: root/src/makefiles
diff options
context:
space:
mode:
authorBruce Momjian1999-01-18 12:43:55 +0000
committerBruce Momjian1999-01-18 12:43:55 +0000
commit909c51973363acebf7a33a46a77663cdb64e25a4 (patch)
treed795a18db00cbe0ad500b53ab1ee834a0a8b2469 /src/makefiles
parentd3423daaeee02b036af8c625f124c7b431eaa7f2 (diff)
Add missing Windows files.
Diffstat (limited to 'src/makefiles')
-rw-r--r--src/makefiles/Makefile.win15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.win b/src/makefiles/Makefile.win
new file mode 100644
index 00000000000..44b1369aa81
--- /dev/null
+++ b/src/makefiles/Makefile.win
@@ -0,0 +1,15 @@
+CFLAGS+= -I/usr/local/include
+LDFLAGS+= -g
+DLLTOOL= dlltool
+DLLWRAP= dllwrap
+DLLLIBS=-L/usr/local/lib -L$(LIBDIR) -L$(SRCDIR)/backend -lpostgres -lcygipc -lcygwin -lcrypt -lkernel32
+X=.exe
+MK_NO_LORDER=true
+MAKE_DLL=true
+#MAKE_DLL=false
+SHLIB_LINK=$(DLLLIBS)
+
+%.dll: %.o
+ $(DLLTOOL) --export-all --output-def $*.def $<
+ $(DLLWRAP) -o $@ --def $*.def $< $(SRCDIR)/utils/dllinit.o $(DLLLIBS)
+ rm -f $*.def