2 # Include file for Makefile.am files to get additional rules
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 AUTOMAKE_OPTIONS = -Wno-portability
24 AM_V_AWK = $(am__v_AWK_@AM_V@)
25 am__v_AWK_ = $(am__v_AWK_@AM_DEFAULT_V@)
26 am__v_AWK_0 = @echo " AWK " $@;
28 AM_V_LEMON = $(am__v_LEMON_@AM_V@)
29 am__v_LEMON_ = $(am__v_LEMON_@AM_DEFAULT_V@)
30 am__v_LEMON_0 = @echo " LEMON " $@;
32 AM_V_RUNLEX = $(am__v_RUNLEX_@AM_V@)
33 am__v_RUNLEX_ = $(am__v_RUNLEX_@AM_DEFAULT_V@)
34 am__v_RUNLEX_0 = @echo " RUNLEX " $@;
36 AM_V_SED = $(am__v_SED_@AM_V@)
37 am__v_SED_ = $(am__v_SED_@AM_DEFAULT_V@)
38 am__v_SED_0 = @echo " SED " $@;
41 $(AM_V_RUNLEX)$(RUNLEX) "$(LEX)" "$(SED)" -o$@ $<
44 $(AM_V_AWK)$(AWK) '/^EXPORTS$$/ {next;}; ${def_sym_filter_symbols} /^[^;]/ { print $$1;}' < $< > $@
46 # abi-compliance-checker descriptor
47 INCLUDE_DIRS = $(subst -I,NEWLINE,$(filter -I%, $(CFLAGS) -I$(abs_top_srcdir) -I$(abs_srcdir)))
48 abi-descriptor.xml: ../abi-descriptor.template
49 $(AM_V_SED)sed "s|@INCLUDE_DIRS@|$(INCLUDE_DIRS)|g;s/NEWLINE/\n /g;s|@LIBRARY_OUTPUT_PATH@|{RELPATH}/.libs|" $< > $@