blob: 2f0b35db01dcfd05e620999cacc1057161a9357e (
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
|
# $Id$
# platform_macosx.GNU
# support for Mac OS X 10.2
ifndef exceptions
exceptions = 1
endif
ifeq (,$(debug))
debug = 1
endif
ifeq (,$(optimize))
optimize = 0
endif
CC = gcc
CXX = g++
CFLAGS += -Wall -Wpointer-arith -pipe -I/sw/include
# Test for template instantiation.
#
SONAME=
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)
DCFLAGS += -g
DLD = libtool
LD = $(CXX)
LDFLAGS += -L/sw/lib
LIBS += -lcc_dynamic -lstdc++ -lSystem
## dlcompat package (not part of base Darwin) is needed for dlopen().
## Fink installer puts libraries in /sw/lib and headers in /sw/include
## In order to install dlcompat do the following:
## - download fink from http://fink.sf.net
## - type:
## fink install dlcompat
LIBS += -ldl
OCFLAGS += -O3
RANLIB = ranlib
SOEXT = dylib
SOFLAGS += -dynamic
SOBUILD = -o $(VSHDIR)$*.dylib $<
|