summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristof Pintaske <cp@openoffice.org>2001-05-28 10:07:03 +0000
committerChristof Pintaske <cp@openoffice.org>2001-05-28 10:07:03 +0000
commitf567a1270ab252d0959c29078f096efe6c814aec (patch)
tree8a2e92a92bbb50eb60c21b9a1cd38ec63cbeb2c1
parentaa5d1e40e1612d3dd7189adff430d44a2e4b3bfb (diff)
#82073# reduce scope for C symbols (outside psp namespace)
-rw-r--r--psprint/util/libpsp_linux.map6
-rw-r--r--psprint/util/libpsp_solaris.map90
-rw-r--r--psprint/util/makefile.mk10
3 files changed, 103 insertions, 3 deletions
diff --git a/psprint/util/libpsp_linux.map b/psprint/util/libpsp_linux.map
new file mode 100644
index 000000000000..5987f5955aba
--- /dev/null
+++ b/psprint/util/libpsp_linux.map
@@ -0,0 +1,6 @@
+LIBPSPRINT_1_0 {
+ global:
+ __1cDpsp*;
+ local:
+ *;
+};
diff --git a/psprint/util/libpsp_solaris.map b/psprint/util/libpsp_solaris.map
new file mode 100644
index 000000000000..13df8b1e570c
--- /dev/null
+++ b/psprint/util/libpsp_solaris.map
@@ -0,0 +1,90 @@
+{
+ local:
+ AddTable;
+ CloseTTFont;
+ cmapAdd;
+ CountTTCFonts;
+ crc32;
+ CreateT3FromTTGlyphs;
+ CreateT42FromTTGlyphs;
+ CreateTTFromTTGlyphs;
+ DisposeNameRecords;
+ GetRawData;
+ GetTTGlobalFontInfo;
+ GetTTGlyphComponents;
+ GetTTGlyphPoints;
+ GetTTNameRecords;
+ GetTTRawGlyphData;
+ GetTTSimpleCharMetrics;
+ GetTTSimpleGlyphMetrics;
+ glyfAdd;
+ glyfCount;
+ KernGlyphs;
+ listAppend;
+ listAtFirst;
+ listAtLast;
+ listClear;
+ listCopy;
+ listCount;
+ listCurrent;
+ listDispose;
+ listFind;
+ listForAll;
+ listInsertAfter;
+ listInsertBefore;
+ listIsEmpty;
+ listNewCopy;
+ listNewEmpty;
+ listNext;
+ listPosition;
+ listPositionAt;
+ listPrepend;
+ listPrev;
+ listRemove;
+ listSetElementDtor;
+ listSkipBackward;
+ listSkipForward;
+ listToArray;
+ listToFirst;
+ listToLast;
+ MapChar;
+ MapString;
+ modextra;
+ modname;
+ modver;
+ nameAdd;
+ OpenTTFont;
+ ReadGSUB;
+ RemoveTable;
+ StreamToFile;
+ StreamToMemory;
+ TranslateChar12;
+ TranslateChar13;
+ TranslateChar14;
+ TranslateChar15;
+ TranslateChar16;
+ TranslateString12;
+ TranslateString13;
+ TranslateString14;
+ TranslateString15;
+ TranslateString16;
+ TrueTypeCreatorDispose;
+ TrueTypeCreatorNewEmpty;
+ TrueTypeTableDispose;
+ TrueTypeTableNew;
+ TrueTypeTableNew_cmap;
+ TrueTypeTableNew_glyf;
+ TrueTypeTableNew_head;
+ TrueTypeTableNew_hhea;
+ TrueTypeTableNew_loca;
+ TrueTypeTableNew_maxp;
+ TrueTypeTableNew_name;
+ TrueTypeTableNew_post;
+ ulcodes;
+ UseGSUB;
+ xlat_1_2;
+ xlat_1_3;
+ xlat_1_4;
+ xlat_1_5;
+ xlat_1_6;
+};
diff --git a/psprint/util/makefile.mk b/psprint/util/makefile.mk
index eeddc3abc200..958c6df74dcf 100644
--- a/psprint/util/makefile.mk
+++ b/psprint/util/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.2 $
+# $Revision: 1.3 $
#
-# last change: $Author: cp $ $Date: 2001-05-23 11:49:56 $
+# last change: $Author: cp $ $Date: 2001-05-28 11:07:03 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -88,7 +88,11 @@ LIB1FILES= $(SLB)$/fontman.lib \
SHL1TARGET= psp$(UPD)$(DLLPOSTFIX)
SHL1IMPLIB= ipsp
SHL1LIBS=$(LIB1FILES)
-SHL1VERSIONMAP= libpsp.map
+.IF "$(OS)"=="SOLARIS"
+SHL1VERSIONMAP=libpsp_solaris.map
+.ELSE # should work for all gcc/binutils based linker (ld)
+SHL1VERSIONMAP=libpsp_linux.map
+.ENDIF
SHL1STDLIBS=$(UNOTOOLSLIB) \
$(TOOLSLIB) \
$(VOSLIB) \