blob: 91afd7421dfcc58d5aa99f4878ec69ba03f75800 (
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
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# $Id$
# platform_macosx.GNU
# support for Mac OS X 10.4 (Tiger)
# By default, this uses the default compiler selected using gcc_select.
cidl = 1
boost = 1
zzip = 1
zlib = 1
ifndef exceptions
exceptions = 1
endif
ifeq (,$(threads))
threads = 1
endif
ifeq (,$(debug))
debug = 1
endif
ifeq (,$(optimize))
optimize = 0
endif
ifeq (,$(ssl))
ssl = 1
endif
ifeq (,$(versioned_so))
versioned_so = 0
endif
ifeq (,$(no_hidden_visibility))
# Disable symbol visibility support by default.
#
# Apple's g++ 4 compiler doesn't appear to correctly support
# visibility attributes, at least as well as the vanilla g++.
no_hidden_visibility = 1
endif
with_ld = macosx
pipes ?= 1
CC = gcc
CXX = g++
CFLAGS += -Wall -Wpointer-arith -Wno-long-double
DCFLAGS += -g
DLD = $(CXX)
LD = $(CXX)
#LIBS += -lstdc++.6 -lSystem -lSystemStubs
OCFLAGS += -O2 -mcpu=G3 -mtune=G4
RANLIB = ranlib
SOEXT = dylib
SOFLAGS += -dynamiclib
SOBUILD = -o $(VSHDIR)$*.dylib $<
# Test for template instantiation, add to SOFLAGS if versioned_so set,
# add -E to LDFLAGS if using GNU ld
#
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
LDFLAGS += -flat_namespace
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)
|