aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am.inc
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2015-11-23 03:26:44 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2015-11-23 07:50:57 +0000
commited4e53a0e7702ed259f5590727feb3750a21c45b (patch)
tree06b12bffe880c7503e1e7eb27a5ee1be1f65798e /Makefile.am.inc
parent391f11a7ec16045ed5909d617edcaada1f8f9afc (diff)
Fix 'make dumpapi' target
Broken by 67d9daa65b9d555ced9fb1a9df90b1f8f1a4a257. Also indent XML template. Change-Id: I3a604a0319d16caca7e191c48c16f42691f4b910 Reviewed-on: https://code.wireshark.org/review/12049 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'Makefile.am.inc')
-rw-r--r--Makefile.am.inc9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile.am.inc b/Makefile.am.inc
index 5a107689e7..9bf5cf87d2 100644
--- a/Makefile.am.inc
+++ b/Makefile.am.inc
@@ -44,6 +44,11 @@ am__v_SED_0 = @echo " SED " $@;
$(AM_V_AWK)$(AWK) '/^EXPORTS$$/ {next;}; ${def_sym_filter_symbols} /^[^;]/ { print $$1;}' < $< > $@
# abi-compliance-checker descriptor
-INCLUDE_DIRS = $(subst -I,NEWLINE,$(filter -I%, $(CFLAGS) -I$(abs_top_srcdir) -I$(abs_srcdir)))
+abi_incdirs = $(subst -I,NEWLINE,$(filter -I%,$(CFLAGS) -I$(abs_top_srcdir) -I$(abs_srcdir)))
+abi_sysdirs = $(subst -isystem,NEWLINE,$(filter -isystem%,$(CFLAGS)))
+INCLUDE_DIRS = $(abi_incdirs) $(abi_sysdirs)
abi-descriptor.xml: ../abi-descriptor.template
- $(AM_V_SED)sed "s|@INCLUDE_DIRS@|$(INCLUDE_DIRS)|g;s/NEWLINE/\n /g;s|@LIBRARY_OUTPUT_PATH@|{RELPATH}/.libs|" $< > $@
+ $(AM_V_SED)sed \
+ -e 's|@INCLUDE_DIRS@|$(INCLUDE_DIRS)|g' \
+ -e 's/ *NEWLINE/\n /g' \
+ -e 's|@LIBRARY_OUTPUT_PATH@|{RELPATH}/.libs|' $< > $@