summaryrefslogtreecommitdiff
path: root/sal/qa/osl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2011-09-12 14:41:08 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-09-12 22:47:48 +0200
commit30ad5e9d87adec68971464d49c733e29fc643847 (patch)
treef181812ee1946eb2c5e755569fa6c2a333716357 /sal/qa/osl
parent2b39501b8ec6affb8afa9c6b93dff434b075e211 (diff)
sb140: #i117694# some CppUnit related cleanup
Diffstat (limited to 'sal/qa/osl')
-rw-r--r--sal/qa/osl/condition/makefile.mk3
-rw-r--r--sal/qa/osl/file/makefile.mk7
-rw-r--r--sal/qa/osl/getsystempathfromfileurl/makefile.mk3
-rw-r--r--sal/qa/osl/getsystempathfromfileurl/version.map34
-rw-r--r--sal/qa/osl/module/export_dll.map35
-rw-r--r--sal/qa/osl/module/makefile.mk7
-rw-r--r--sal/qa/osl/module/osl_Module_DLL.cxx2
-rw-r--r--sal/qa/osl/process/makefile.mk5
-rwxr-xr-xsal/qa/osl/security/makefile.mk3
-rw-r--r--sal/qa/osl/setthreadname/version.map34
-rwxr-xr-xsal/qa/osl/socket/makefile.mk17
11 files changed, 27 insertions, 123 deletions
diff --git a/sal/qa/osl/condition/makefile.mk b/sal/qa/osl/condition/makefile.mk
index 9683f20a7dde..0b1d3f6a0499 100644
--- a/sal/qa/osl/condition/makefile.mk
+++ b/sal/qa/osl/condition/makefile.mk
@@ -31,6 +31,7 @@ PRJNAME=sal
TARGET=qa_osl_condition
ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
# --- Settings -----------------------------------------------------
@@ -52,7 +53,7 @@ SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB)
SHL1IMPLIB= i$(SHL1TARGET)
DEF1NAME =$(SHL1TARGET)
-SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL1USE_EXPORTS = name
# ------------------------------------------------------------------
SLOFILES=$(SHL1OBJS)
diff --git a/sal/qa/osl/file/makefile.mk b/sal/qa/osl/file/makefile.mk
index de85e5e5ef34..db0d257281bd 100644
--- a/sal/qa/osl/file/makefile.mk
+++ b/sal/qa/osl/file/makefile.mk
@@ -31,6 +31,7 @@ PRJNAME=sal
TARGET=qa_osl_file
ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
# --- Settings -----------------------------------------------------
@@ -48,7 +49,7 @@ SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB)
SHL1IMPLIB= i$(SHL1TARGET)
DEF1NAME =$(SHL1TARGET)
-SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL1USE_EXPORTS = name
#-------------------------------------------------------------------
@@ -57,7 +58,7 @@ SHL2TARGET=tcwf
SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB)
SHL2IMPLIB=i$(SHL2TARGET)
SHL2DEF=$(MISC)$/$(SHL2TARGET).def
-SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL2USE_EXPORTS = name
DEF2NAME =$(SHL2TARGET)
@@ -72,7 +73,7 @@ SHL3STDLIBS= $(SALLIB) $(CPPUNITLIB)
SHL3IMPLIB= i$(SHL3TARGET)
DEF3NAME =$(SHL3TARGET)
-SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL3USE_EXPORTS = name
# END --------------------------------------------------------------
#------------------------------- All object files -------------------------------
diff --git a/sal/qa/osl/getsystempathfromfileurl/makefile.mk b/sal/qa/osl/getsystempathfromfileurl/makefile.mk
index 71597ba07f0a..324c238b4a44 100644
--- a/sal/qa/osl/getsystempathfromfileurl/makefile.mk
+++ b/sal/qa/osl/getsystempathfromfileurl/makefile.mk
@@ -34,6 +34,7 @@ PRJNAME = sal
TARGET = qa_osl_getsystempathfromfileurl
ENABLE_EXCEPTIONS = TRUE
+VISIBILITY_HIDDEN = TRUE
.INCLUDE: settings.mk
@@ -50,7 +51,7 @@ SHL1OBJS = $(SLO)/test-getsystempathfromfileurl.obj
SHL1RPATH = NONE
SHL1STDLIBS = $(CPPUNITLIB) $(SALLIB)
SHL1TARGET = test-getsystempathfromfileurl
-SHL1VERSIONMAP = version.map
+SHL1USE_EXPORTS = name
DEF1NAME = $(SHL1TARGET)
SLOFILES = $(SHL1OBJS)
diff --git a/sal/qa/osl/getsystempathfromfileurl/version.map b/sal/qa/osl/getsystempathfromfileurl/version.map
deleted file mode 100644
index ef2ab497cb5e..000000000000
--- a/sal/qa/osl/getsystempathfromfileurl/version.map
+++ /dev/null
@@ -1,34 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2011 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-UDK_3_0_0 {
- global:
- cppunitTestPlugIn;
-
- local:
- *;
-};
diff --git a/sal/qa/osl/module/export_dll.map b/sal/qa/osl/module/export_dll.map
deleted file mode 100644
index 879f246ebae1..000000000000
--- a/sal/qa/osl/module/export_dll.map
+++ /dev/null
@@ -1,35 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2010 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#*************************************************************************
-
-UDK_3_0_0 {
- global:
- firstfunc;
- cppunitTestPlugIn;
-
- local:
- *;
-};
diff --git a/sal/qa/osl/module/makefile.mk b/sal/qa/osl/module/makefile.mk
index 7fdf0ca43c15..a1ce5511c1b8 100644
--- a/sal/qa/osl/module/makefile.mk
+++ b/sal/qa/osl/module/makefile.mk
@@ -31,6 +31,7 @@ PRJNAME=sal
TARGET=qa_module
ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
# --- Settings -----------------------------------------------------
@@ -52,8 +53,8 @@ SHL1STDLIBS = $(SALLIB) $(CPPUNITLIB)
SHL1IMPLIB = i$(SHL1TARGET)
SHL1DEF = $(MISC)$/$(SHL1TARGET).def
DEF1NAME = $(SHL1TARGET)
-SHL1VERSIONMAP = export_dll.map
-
+SHL1USE_EXPORTS = name
+SHL1CPPUNITTEST = FALSE
# --- main l ------------------------------------------------------
SHL2OBJS= $(SLO)$/osl_Module.obj
@@ -73,7 +74,7 @@ SHL2IMPLIB= i$(SHL2TARGET)
SHL2DEF= $(MISC)$/$(SHL2TARGET).def
DEF2NAME =$(SHL2TARGET)
-SHL2VERSIONMAP= $(PRJ)$/qa$/export.map
+SHL2USE_EXPORTS= name
SLOFILES = $(SHL2OBJS)
diff --git a/sal/qa/osl/module/osl_Module_DLL.cxx b/sal/qa/osl/module/osl_Module_DLL.cxx
index 8dd3ba900870..8ceecb474941 100644
--- a/sal/qa/osl/module/osl_Module_DLL.cxx
+++ b/sal/qa/osl/module/osl_Module_DLL.cxx
@@ -39,7 +39,7 @@
// But we instatiate a test plugin to fake the build process.
CPPUNIT_PLUGIN_IMPLEMENT();
-extern "C" sal_Bool SAL_CALL firstfunc( sal_Bool bRes )
+extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL firstfunc( sal_Bool bRes )
{
return ( bRes = sal_True );
}
diff --git a/sal/qa/osl/process/makefile.mk b/sal/qa/osl/process/makefile.mk
index 73360cbd04d9..e73c7a8377e3 100644
--- a/sal/qa/osl/process/makefile.mk
+++ b/sal/qa/osl/process/makefile.mk
@@ -30,6 +30,7 @@ PRJNAME=sal
TARGET=qa_osl_process
ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
# --- Settings -----------------------------------------------------
@@ -47,14 +48,14 @@ SHL1TARGET=osl_Thread
SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB)
SHL1IMPLIB=i$(SHL1TARGET)
DEF1NAME=$(SHL1TARGET)
-SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL1USE_EXPORTS = name
SHL2OBJS=$(SLO)$/osl_process.obj
SHL2TARGET=osl_process
SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB)
SHL2IMPLIB=i$(SHL2TARGET)
DEF2NAME=$(SHL2TARGET)
-SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL2USE_EXPORTS = name
OBJ3FILES=$(OBJ)$/osl_process_child.obj
APP3TARGET=osl_process_child
diff --git a/sal/qa/osl/security/makefile.mk b/sal/qa/osl/security/makefile.mk
index 85d9beb44972..00c946a84514 100755
--- a/sal/qa/osl/security/makefile.mk
+++ b/sal/qa/osl/security/makefile.mk
@@ -31,6 +31,7 @@ PRJNAME=sal
TARGET=qa_osl_security
ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
# --- Settings -----------------------------------------------------
@@ -56,7 +57,7 @@ SHL1IMPLIB= i$(SHL1TARGET)
SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME =$(SHL1TARGET)
-SHL1VERSIONMAP= $(PRJ)$/qa$/export.map
+SHL1USE_EXPORTS= name
SLOFILES = $(SHL1OBJS)
diff --git a/sal/qa/osl/setthreadname/version.map b/sal/qa/osl/setthreadname/version.map
deleted file mode 100644
index ef2ab497cb5e..000000000000
--- a/sal/qa/osl/setthreadname/version.map
+++ /dev/null
@@ -1,34 +0,0 @@
-#*************************************************************************
-#
-# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
-#
-# Copyright 2000, 2011 Oracle and/or its affiliates.
-#
-# OpenOffice.org - a multi-platform office productivity suite
-#
-# This file is part of OpenOffice.org.
-#
-# OpenOffice.org is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Lesser General Public License version 3
-# only, as published by the Free Software Foundation.
-#
-# OpenOffice.org is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Lesser General Public License version 3 for more details
-# (a copy is included in the LICENSE file that accompanied this code).
-#
-# You should have received a copy of the GNU Lesser General Public License
-# version 3 along with OpenOffice.org. If not, see
-# <http://www.openoffice.org/license.html>
-# for a copy of the LGPLv3 License.
-#
-#***********************************************************************/
-
-UDK_3_0_0 {
- global:
- cppunitTestPlugIn;
-
- local:
- *;
-};
diff --git a/sal/qa/osl/socket/makefile.mk b/sal/qa/osl/socket/makefile.mk
index cdc268a2402a..b6434e83abf1 100755
--- a/sal/qa/osl/socket/makefile.mk
+++ b/sal/qa/osl/socket/makefile.mk
@@ -31,6 +31,7 @@ PRJNAME=sal
TARGET=qa_osl_socket
ENABLE_EXCEPTIONS=TRUE
+VISIBILITY_HIDDEN=TRUE
# --- Settings -----------------------------------------------------
@@ -59,7 +60,7 @@ SHL1IMPLIB= i$(SHL1TARGET)
# SHL1DEF= $(MISC)$/$(SHL1TARGET).def
DEF1NAME=$(SHL1TARGET)
# DEF1EXPORTFILE= export.exp
-SHL1VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL1USE_EXPORTS = name
# auto generated Target:Socket
# END ------------------------------------------------------------------
@@ -71,7 +72,7 @@ SHL2STDLIBS= $(SALLIB) $(CPPUNITLIB)
SHL2IMPLIB= i$(SHL2TARGET)
DEF2NAME= $(SHL2TARGET)
-SHL2VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL2USE_EXPORTS = name
# END --------------------------------------------------------------
@@ -94,7 +95,7 @@ SHL3STDLIBS += -ldl -lnsl
SHL3IMPLIB= i$(SHL3TARGET)
DEF3NAME= $(SHL3TARGET)
-SHL3VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL3USE_EXPORTS = name
# auto generated Target:Socket
# END ------------------------------------------------------------------
@@ -117,7 +118,7 @@ SHL4STDLIBS += -ldl -lnsl
SHL4IMPLIB= i$(SHL4TARGET)
DEF4NAME= $(SHL4TARGET)
-SHL4VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL4VUSE_EXPORTS = name
# auto generated Target:Socket
# END ------------------------------------------------------------------
@@ -140,7 +141,7 @@ SHL5STDLIBS += -ldl -lnsl
SHL5IMPLIB= i$(SHL5TARGET)
DEF5NAME= $(SHL5TARGET)
-SHL5VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL5USE_EXPORTS = name
# auto generated Target:Socket
# END ------------------------------------------------------------------
@@ -163,7 +164,7 @@ SHL6STDLIBS += -ldl -lnsl
SHL6IMPLIB= i$(SHL6TARGET)
DEF6NAME= $(SHL6TARGET)
-SHL6VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL6USE_EXPORTS = name
# auto generated Target:Socket
# END ------------------------------------------------------------------
@@ -186,7 +187,7 @@ SHL7STDLIBS += -ldl -lnsl
SHL7IMPLIB= i$(SHL7TARGET)
DEF7NAME= $(SHL7TARGET)
-SHL7VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL7USE_EXPORTS = name
# auto generated Target:Socket
# END ------------------------------------------------------------------
@@ -209,7 +210,7 @@ SHL8STDLIBS += -ldl -lnsl
SHL8IMPLIB= i$(SHL8TARGET)
DEF8NAME= $(SHL8TARGET)
-SHL8VERSIONMAP = $(PRJ)$/qa$/export.map
+SHL8USE_EXPORTS = name
# auto generated Target:Socket
# END ------------------------------------------------------------------