File: platform_mingw32.GNU

package info (click to toggle)
ace 6.2.8%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 49,348 kB
  • ctags: 42,082
  • sloc: cpp: 342,284; perl: 32,718; ansic: 20,838; sh: 3,759; python: 828; exp: 787; yacc: 511; xml: 330; lex: 158; lisp: 116; makefile: 82; csh: 20; tcl: 5
file content (46 lines) | stat: -rw-r--r-- 945 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- Makefile -*-
# $Id: platform_mingw32.GNU 97708 2014-04-09 13:09:56Z johnnyw $
#
# This file should allow to build ACE for mingw32 with mingw tools.

ACE_PLATFORM_CONFIG ?= config-win32.h

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 -liphlpapi
endif

LIBS += -lwsock32 -lnetapi32

ifeq ($(GXX_4_OR_BETTER),1)
  ifeq ($(CXX_MAJOR_VERSION),4)
    ifeq ($(findstring $(CXX_MINOR_VERSION),7 8 9),$(CXX_MINOR_VERSION))
      CPPFLAGS += -Wno-unknown-pragmas
    endif
  else
    CPPFLAGS += -Wno-unknown-pragmas
  endif
endif