summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorseibel_r <seibel_r@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-03-24 19:26:55 +0000
committerseibel_r <seibel_r@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-03-24 19:26:55 +0000
commitc041b51088d071f6553c157526451bba6dc6309b (patch)
treecdba06ef9249305c228f64adf588e4df9a56a90a /include
parent9b88493d543a78afed0bfc5662679345cf3bd9bb (diff)
downloadATCD-c041b51088d071f6553c157526451bba6dc6309b.tar.gz
Thu Mar 24 13:23:00 2005 Rich Seibel <seibel_r@ociweb.com>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_macosx.GNU14
1 files changed, 11 insertions, 3 deletions
diff --git a/include/makeinclude/platform_macosx.GNU b/include/makeinclude/platform_macosx.GNU
index 254fd153418..5dafe102f16 100644
--- a/include/makeinclude/platform_macosx.GNU
+++ b/include/makeinclude/platform_macosx.GNU
@@ -1,10 +1,16 @@
# $Id$
# platform_macosx.GNU
-# support for Mac OS X 10.2
+# 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.
ifndef exceptions
exceptions = 1
endif
+ifeq (,$(threads))
+ threads = 1
+endif
ifeq (,$(debug))
debug = 1
endif
@@ -28,14 +34,16 @@ 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().
+## 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
-OCFLAGS += -O3
+# 10.3 cannot do -03, this could be version dependent (probably on gcc)
+OCFLAGS += -O2
RANLIB = ranlib
SOEXT = dylib
SOFLAGS += -dynamic