Use more include dirs for ABI dumping to make preprocessor happier.
authorrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 4 Jun 2011 21:29:13 +0000 (21:29 +0000)
committerrbalint <rbalint@f5534014-38df-0310-8fa8-9805f1628bb7>
Sat, 4 Jun 2011 21:29:13 +0000 (21:29 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37544 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.am.inc

index 9ed0ab2c87ba08d0a00bed7fb4746bf655d6ebd5..a7ad8e6b50e5051cf27151cfcce0283b1f7ea92e 100644 (file)
@@ -28,6 +28,6 @@
        $(AWK) '/^EXPORTS$$/ {next;}; ${def_sym_filter_symbols} /^[^;]/ { print $$1;}' < $< > $@
 
 # abi-compliance-checker descriptor
-INCLUDE_DIRS = $(subst -I,NEWLINE,$(filter -I%, $(CFLAGS)))
+INCLUDE_DIRS = $(subst -I,NEWLINE,$(filter -I%, $(CFLAGS) -I$(abs_top_srcdir) -I$(abs_srcdir)))
 abi-descriptor.xml: ../abi-descriptor.template
        sed "s|INCLUDE_DIRS|$(INCLUDE_DIRS)|g;s/NEWLINE/\n    /g" $< > $@