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