summaryrefslogtreecommitdiff
path: root/svx/util
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2005-01-21 16:03:34 +0000
committerKurt Zenker <kz@openoffice.org>2005-01-21 16:03:34 +0000
commitf139a6e4cb23e0227abb9ea149415031faf5e09b (patch)
tree802b64c5bdc3208c9dc095a014188624f99be769 /svx/util
parentc0392d57cdb5262a982d183b91b16dddfde460e3 (diff)
INTEGRATION: CWS visibility01 (1.1.1.1.1048); FILE MERGED
2004/12/08 19:45:00 mhu 1.1.1.1.1048.3: #i35758# Change default symbol scope to 'hidden' for sunpro 5.5 as well. 2004/12/06 08:11:29 mnicel 1.1.1.1.1048.2: Part of symbol visibility markup - #i35758# 2004/11/01 20:18:50 mhu 1.1.1.1.1048.1: #i35758# Define SVX_DLLIMPLEMENTATION, symbol visibility preparations.
Diffstat (limited to 'svx/util')
-rw-r--r--svx/util/makefile.pmk18
1 files changed, 16 insertions, 2 deletions
diff --git a/svx/util/makefile.pmk b/svx/util/makefile.pmk
index dec8feeca67b..603ddddf2ce5 100644
--- a/svx/util/makefile.pmk
+++ b/svx/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 17:01:29 $
+# last change: $Author: kz $ $Date: 2005-01-21 17:03:34 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -60,4 +60,18 @@
#
#*************************************************************************
+# define SVX_DLLIMPLEMENTATION (see @ svxdllapi.h)
+CDEFS += -DSVX_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