packet-smb2: display SMB2_FLAGS_PRIORITY_MASK in the header
[metze/wireshark/wip.git] / Makefile.am.inc
1 # Makefile.am.inc
2 # Include file for Makefile.am files to get additional rules
3 #
4 # Wireshark - Network traffic analyzer
5 # By Gerald Combs <gerald@wireshark.org>
6 # Copyright 1998 Gerald Combs
7 #
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.
12 #
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.
17 #
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.
21
22 AUTOMAKE_OPTIONS = -Wno-portability
23
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     " $@;
27
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   " $@;
31
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  " $@;
35
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     " $@;
39
40 .l.c:
41         $(AM_V_RUNLEX)$(RUNLEX) "$(LEX)" "$(SED)" -o$@ $<
42
43 .def.sym:
44         $(AM_V_AWK)$(AWK) '/^EXPORTS$$/ {next;}; ${def_sym_filter_symbols} /^[^;]/ { print $$1;}' < $< > $@
45
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|" $< > $@