blob: 7e5ca330ae148285c8e3957b92ba03bba12184ac (
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
|
# $Id$
# platform_macosx.GNU
# support for Mac OS X 10.3 (Panther)
ifndef exceptions
exceptions = 1
endif
ifeq (,$(debug))
debug = 1
endif
ifeq (,$(optimize))
optimize = 0
endif
ifeq (,$(versioned_so))
versioned_so = 0
endif
with_ld = macosx
CC = gcc
CXX = g++
CFLAGS += -Wall -Wpointer-arith -Wno-long-double -pipe
DCFLAGS += -g
DLD = libtool
LD = $(CXX)
LIBS += -lcc_dynamic -lstdc++ -lSystem
OCFLAGS += -O3
RANLIB = ranlib
SOEXT = dylib
SOFLAGS += -dynamic
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
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)
|