Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / include / makeinclude / platform_macosx_panther.GNU
blobf1e15c015157747063e94f175e1bc8f48529bda9
1 # -*- Makefile -*-
3 # platform_macosx.GNU
4 # support for Mac OS X 10.3 (Panther)
6 threads ?= 1
7 debug ?= 1
8 optimize ?= 0
9 versioned_so ?= 0
10 with_ld = macosx
12 CC              = gcc
13 CXX             = g++
14 CFLAGS          += -Wno-long-double
16 DCFLAGS         += -g
17 DLD             = libtool
18 LD              = $(CXX)
19 LIBS            += -lcc_dynamic -lstdc++ -lSystem
21 OCFLAGS         += -O2 -mcpu=G3 -mtune=G4
22 RANLIB          = ranlib
23 SOEXT           = dylib
24 SOFLAGS += -dynamic
25 SOBUILD = -o $(VSHDIR)$*.dylib $<
27 # Test for template instantiation, add to SOFLAGS if versioned_so set,
28 # add -E to LDFLAGS if using GNU ld
30 include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
32 LDFLAGS         += -flat_namespace -undefined warning
33 CCFLAGS         += $(CFLAGS) $(FLAGS_C_CC)