summaryrefslogtreecommitdiff
path: root/fc-case
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-case
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-case')
-rw-r--r--fc-case/Makefile.am9
1 files changed, 8 insertions, 1 deletions
diff --git a/fc-case/Makefile.am b/fc-case/Makefile.am
index 11da16ea..e498da0f 100644
--- a/fc-case/Makefile.am
+++ b/fc-case/Makefile.am
@@ -52,5 +52,12 @@ $(TARG): $(STMPL) fc-case$(EXEEXT) $(SCASEFOLDING)
rm -f $(TARG)
./fc-case$(EXEEXT) $(SCASEFOLDING) < $(STMPL) > $(TARG)
-CLEANFILES=$(TARG)
+ALIAS_FILES = fcalias.h fcaliastail.h
+
+BUILT_SOURCES = $(ALIAS_FILES)
+
+$(ALIAS_FILES):
+ touch $(ALIAS_FILES)
+
+CLEANFILES=$(TARG) $(ALIAS_FILES)