summaryrefslogtreecommitdiff
path: root/Sockets/Makefile.Defines.win32-cygwin
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-12-03 10:51:16 +0000
committerOthmar Gsenger <otti@anytun.org>2007-12-03 10:51:16 +0000
commitfa4f4a8a50c4bab3a3e247fb7186a7f9a00dfc11 (patch)
tree5ff84c3c71e6d3dadbaf9e13d3fdd84ab2691ca6 /Sockets/Makefile.Defines.win32-cygwin
parentadded ssl tools (diff)
Added syncsocket
Diffstat (limited to 'Sockets/Makefile.Defines.win32-cygwin')
-rw-r--r--Sockets/Makefile.Defines.win32-cygwin26
1 files changed, 26 insertions, 0 deletions
diff --git a/Sockets/Makefile.Defines.win32-cygwin b/Sockets/Makefile.Defines.win32-cygwin
new file mode 100644
index 0000000..66ca672
--- /dev/null
+++ b/Sockets/Makefile.Defines.win32-cygwin
@@ -0,0 +1,26 @@
+CXX = g++
+
+CFLAGS += -Wall -g $(INCLUDE) -MD -D_VERSION='"$(VERSION)"'
+
+# turn off optimization if compiling with gcc 2.9.x:
+#CFLAGS += -O0
+CFLAGS += -O2 -mno-cygwin
+
+
+# uncomment depending on your operating system
+#CFLAGS += -DLINUX
+#CFLAGS += -DMACOSX
+# solaris > 8
+#CFLAGS += -DSOLARIS
+# solaris 8
+#CFLAGS += -DSOLARIS8
+# windows and/or cygwin
+CFLAGS += -D_WIN32
+# cygwin
+CFLAGS += -D__CYGWIN__
+
+
+LIBS += c:/openssl/lib/mingw/ssleay32.a \
+ c:/openssl/lib/mingw/libeay32.a \
+ -lws2_32
+