summaryrefslogtreecommitdiff
path: root/fc-glyphname
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2006-09-05 02:24:01 -0700
committerKeith Packard <keithp@neko.keithp.com>2006-09-05 02:24:01 -0700
commit23816bf9acbd6cc5dd942daaba3cc084ea70d99d (patch)
tree8a3eaada0d114322b26e2def7ba8d2809bccc7d8 /fc-glyphname
parent323ecd0cd3b8eeb50c4af87d57f2ea7b19f37215 (diff)
Eliminate .so PLT entries for local symbols. (thanks to Arjan van de Ven)
Using a simple shell script that processes the public headers, two header files are constructed that map public symbols to hidden internal aliases avoiding the assocated PLT entry for referring to a public symbol. A few mistakes in the FcPrivate/FcPublic annotations were also discovered through this process
Diffstat (limited to 'fc-glyphname')
-rw-r--r--fc-glyphname/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/fc-glyphname/Makefile.am b/fc-glyphname/Makefile.am
index eb211017..063ba006 100644
--- a/fc-glyphname/Makefile.am
+++ b/fc-glyphname/Makefile.am
@@ -47,5 +47,12 @@ $(TARG): $(STMPL) fc-glyphname$(EXEEXT) $(SGLYPHNAME)
rm -f $(TARG)
./fc-glyphname$(EXEEXT) $(SGLYPHNAME) < $(STMPL) > $(TARG)
-CLEANFILES=$(TARG)
+ALIAS_FILES = fcalias.h fcaliastail.h
+
+BUILT_SOURCES = $(ALIAS_FILES)
+
+$(ALIAS_FILES):
+ touch $(ALIAS_FILES)
+
+CLEANFILES=$(TARG) $(ALIAS_FILES)