summaryrefslogtreecommitdiff
path: root/Makefile.am.inc
diff options
context:
space:
mode:
authorBalint Reczey <balint.reczey@ericsson.com>2011-05-31 12:07:25 +0000
committerBalint Reczey <balint.reczey@ericsson.com>2011-05-31 12:07:25 +0000
commit8ac668362979935de61f80593eddaa24690283b9 (patch)
treeeeed42faf6d7be519fd50b8124aadd9cedddf847 /Makefile.am.inc
parent4d11bebc1dd561e8034855d9e198cd5cf8b44246 (diff)
downloadwireshark-8ac668362979935de61f80593eddaa24690283b9.tar.gz
Add dumpabi target to Makefiles in wsutil, epan and wiretap directories.
We can use the dumped ABI description for comparing ABI changes between revisions. svn path=/trunk/; revision=37474
Diffstat (limited to 'Makefile.am.inc')
-rw-r--r--Makefile.am.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am.inc b/Makefile.am.inc
index 91ea02631a..9ed0ab2c87 100644
--- a/Makefile.am.inc
+++ b/Makefile.am.inc
@@ -26,3 +26,8 @@
.def.sym:
$(AWK) '/^EXPORTS$$/ {next;}; ${def_sym_filter_symbols} /^[^;]/ { print $$1;}' < $< > $@
+
+# abi-compliance-checker descriptor
+INCLUDE_DIRS = $(subst -I,NEWLINE,$(filter -I%, $(CFLAGS)))
+abi-descriptor.xml: ../abi-descriptor.template
+ sed "s|INCLUDE_DIRS|$(INCLUDE_DIRS)|g;s/NEWLINE/\n /g" $< > $@