summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_macosx_panther.GNU
diff options
context:
space:
mode:
Diffstat (limited to 'include/makeinclude/platform_macosx_panther.GNU')
-rw-r--r--include/makeinclude/platform_macosx_panther.GNU40
1 files changed, 40 insertions, 0 deletions
diff --git a/include/makeinclude/platform_macosx_panther.GNU b/include/makeinclude/platform_macosx_panther.GNU
new file mode 100644
index 00000000000..0ca97e079fe
--- /dev/null
+++ b/include/makeinclude/platform_macosx_panther.GNU
@@ -0,0 +1,40 @@
+# $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
+
+LDFLAGS += -flat_namespace -undefined warning
+CCFLAGS += $(CFLAGS) $(TEMPLATES_FLAG)