summaryrefslogtreecommitdiff
path: root/Makefile.am.inc
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am.inc')
-rw-r--r--Makefile.am.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.am.inc b/Makefile.am.inc
index 3c77dba0d8..7af01b3161 100644
--- a/Makefile.am.inc
+++ b/Makefile.am.inc
@@ -23,3 +23,6 @@
.l.c:
$(RUNLEX) "$(LEX)" -o$@ $<
+
+.def.sym:
+ $(AWK) '/^EXPORTS$$/ {next;}; /^[^;]/ { print $$1;}' < $< > $@