summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sot/util/makefile.pmk22
1 files changed, 20 insertions, 2 deletions
diff --git a/sot/util/makefile.pmk b/sot/util/makefile.pmk
index c1e0ff6c0ab3..3fc426ab5ec9 100644
--- a/sot/util/makefile.pmk
+++ b/sot/util/makefile.pmk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.pmk,v $
#
-# $Revision: 1.1.1.1 $
+# $Revision: 1.2 $
#
-# last change: $Author: hr $ $Date: 2000-09-18 16:56:52 $
+# last change: $Author: obo $ $Date: 2005-04-13 12:36:03 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -59,7 +59,25 @@
#
#
#*************************************************************************
+
+# define SOT_DLLIMPLEMENTATION (see @ = sotdllapi.h)
+CDEFS += -DSOT_DLLIMPLEMENTATION
+
+# set default symbol visibility / scope to hidden
+.IF "$(COMNAME)" == "gcc3"
+.IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
+ CFLAGS += -fvisibility=hidden
+.ENDIF # HAVE_GCC_VISIBILITY_FEATURE
+.ENDIF # gcc3
+
+.IF "$(COMNAME)" == "sunpro5"
+.IF "$(CCNUMVER)" >= "00050005"
+ CFLAGS += -xldscope=hidden
+.ENDIF # 5.5
+.ENDIF # sunpro5
+
PROJECTPCH4DLL=TRUE
PROJECTPCH=sotpch
PROJECTPCHSOURCE=$(PRJ)$/util$/sotpch
PDBTARGET=sot
+