summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_cegcc.GNU
blob: a31252a2eba55a9ea0101a4f2557f29334a00f86 (plain)
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
47
# $Id$
#
# This file should allow to build ACE for cygwin32 with cygwin tools.
#
# Edit to change TCPU and w32api defs below.
#
# Don't forget to define the ACE_ROOT environment variable!
#

#
# Chose your target CPU (by default we set it to ARM. In your
# platform_macros.GNU file you can override this to pentium, i486 or i386
#
TCPU ?= arm

cygwin32 = 1

# Cygwin doesn't have rwho
rwho = 0

# Cygwin doesn't allow to add the version number of ACE to the dll name
# because fe ace.dll.5.2.3 isn't a valid dll name
versioned_so=0

ACE_CE_VER ?= 0x600

# Disable auto-import warnings. The Cygwin linker has a problem with imports
# See https://sourceforge.net/tracker/?func=detail&atid=102435&aid=683455&group_id=2435
# for the details why to do this.
LDFLAGS += -Wl,--enable-auto-import
CPPFLAGS += -DACE_HAS_CEGCC 

CPPFLAGS += -D_WIN32_WCE=$(ACE_CE_VER) -DUNICODE -D_UNICODE -D_WINDOWS -DCEVER -DWIN32 -D_WINSOCKAPI_
RCFLAGS += -D_WIN32_WCE=$(ACE_CE_VER) -DUNICODE -D_UNICODE -D_WINDOWS -DCEVER -DWIN32 -D_WINSOCKAPI_ -D_WIN32_IE=0x0500

cpumodelflag=0
tunemodelflag=0

COMPARCH ?= i386-mingw32ce-
#COMPARCH ?= arm-wince-mingw32ce-

LIBS += -lcoredll -lmingw32 -lmingwex -lws2 -lsupc++ -liphlpapi

no_hidden_visibility ?= 1
qos ?= 1

include $(ACE_ROOT)/include/makeinclude/platform_gnuwin32_common.GNU