summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_mingw32.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/include/makeinclude/platform_mingw32.GNU')
-rw-r--r--ACE/include/makeinclude/platform_mingw32.GNU35
1 files changed, 35 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_mingw32.GNU b/ACE/include/makeinclude/platform_mingw32.GNU
new file mode 100644
index 00000000000..62f00982144
--- /dev/null
+++ b/ACE/include/makeinclude/platform_mingw32.GNU
@@ -0,0 +1,35 @@
+# -*- Makefile -*-
+# $Id$
+#
+# This file should allow to build ACE for mingw32 with mingw tools.
+#
+
+mingw32 = 1
+
+# MinGW has wfmo and registry
+wfmo ?= 1
+winregistry ?= 1
+
+# We can use the QoS support
+qos ?= 1
+
+PWD=$(subst \,/,$(shell pwd))
+
+ifeq (cmd,$(findstring cmd,$(SHELL)))
+ CMDSEP = &
+ vxworks_ntbuild = 1
+ MKDIR_NTSYTLE = 1
+ ACE_MKDIR = mkdir
+ ECHO_BLANK_LINE = cmd /c echo.
+ PRELIB:=
+endif
+
+include $(ACE_ROOT)/include/makeinclude/platform_gnuwin32_common.GNU
+
+PLATFORM_SSL_LIBS ?= -lssl32 -leay32
+
+ifeq ($(winsock2),1)
+ LIBS += -lws2_32 -lmswsock
+endif
+
+LIBS += -lwsock32 -lnetapi32