summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_macosx_jaguar.GNU
diff options
context:
space:
mode:
authorHuang-Ming Huang <huangh@ociweb.com>2016-09-21 15:08:19 -0500
committerHuang-Ming Huang <huangh@ociweb.com>2016-09-21 15:08:19 -0500
commit9979d94aaf9ced72f193f2197dd3fa2901958363 (patch)
treef3c8e8349c1fa89dc977fc2a72c0f37cdf703cd8 /ACE/include/makeinclude/platform_macosx_jaguar.GNU
parent1e2f6fc64b2cc8fdf6824545a77cb93a8e890c8f (diff)
downloadATCD-9979d94aaf9ced72f193f2197dd3fa2901958363.tar.gz
remove '-all' from the filenames of config-macosx-all.h and platform_macosx_all.GNU and rename the original *macosx.(h,GNU) files with juguar suffix
Diffstat (limited to 'ACE/include/makeinclude/platform_macosx_jaguar.GNU')
-rw-r--r--ACE/include/makeinclude/platform_macosx_jaguar.GNU42
1 files changed, 42 insertions, 0 deletions
diff --git a/ACE/include/makeinclude/platform_macosx_jaguar.GNU b/ACE/include/makeinclude/platform_macosx_jaguar.GNU
new file mode 100644
index 00000000000..303a317c1dd
--- /dev/null
+++ b/ACE/include/makeinclude/platform_macosx_jaguar.GNU
@@ -0,0 +1,42 @@
+# -*- Makefile -*-
+
+# support for Mac OS X 10.2 (jaguar), 10.3 (panther)
+# Note: /sw/lib & /sw/include are inserted for the convience of Fink
+# users. Non-Fink users should simply create these directories to
+# eliminate the warnings.
+
+threads ?= 1
+debug ?= 1
+optimize ?= 0
+versioned_so ?= 0
+with_ld = macosx
+
+CC = gcc
+CXX = g++
+CFLAGS += -Wno-long-double -I/sw/include
+
+DCFLAGS += -g
+DLD = libtool
+LD = $(CXX)
+LDFLAGS += -L/sw/lib -flat_namespace -undefined warning
+LIBS += -lcc_dynamic -lstdc++ -lSystem
+
+## dlcompat package (not part of base Darwin) is needed for dlopen() on 10.2.
+## 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
+## 10.3 does not need this package.
+LIBS += -ldl
+# 10.3 cannot do -03, this could be version dependent (probably on gcc)
+OCFLAGS += -O2
+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