diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-04-13 11:36:03 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-04-13 11:36:03 +0000 |
commit | e66d2f00c2ae8b2b6442644ef109133217e832cf (patch) | |
tree | 19faa3c8f788ffa43e1c130c1d25a2c98dd96a04 /sot/util | |
parent | 00229269f15ede819007c0b49d527194f3bee2a7 (diff) |
INTEGRATION: CWS visibility03 (1.1.1.1.236); FILE MERGED
2005/03/02 16:45:27 mhu 1.1.1.1.236.3: #i40092# Enabled xldscope=hidden for sunpro compiler.
2005/02/28 03:48:27 mnicel 1.1.1.1.236.2: Issue number: 40092
Part of symbol visibility work
2005/02/17 10:45:05 mnicel 1.1.1.1.236.1: Issue number: 40092
Diffstat (limited to 'sot/util')
-rw-r--r-- | sot/util/makefile.pmk | 22 |
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 + |