5 # Wireshark - Network traffic analyzer
6 # By Gerald Combs <gerald@wireshark.org>
7 # Copyright 1998 Gerald Combs
9 # This program is free software; you can redistribute it and/or
10 # modify it under the terms of the GNU General Public License
11 # as published by the Free Software Foundation; either version 2
12 # of the License, or (at your option) any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 # GNU General Public License for more details.
19 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
24 if HAVE_WARNINGS_AS_ERRORS
28 AM_CPPFLAGS = -I$(top_srcdir) @LUA_INCLUDES@
30 noinst_LTLIBRARIES = libwslua.la
33 $(srcdir)/lua_bitop.c \
34 $(srcdir)/wslua_tvb.c \
35 $(srcdir)/wslua_proto.c \
36 $(srcdir)/wslua_tree.c \
37 $(srcdir)/wslua_pinfo.c \
38 $(srcdir)/wslua_listener.c \
39 $(srcdir)/wslua_gui.c \
40 $(srcdir)/wslua_util.c \
41 $(srcdir)/wslua_field.c \
42 $(srcdir)/wslua_dumper.c
44 libwslua_la_SOURCES = \
52 libwslua_la_LIBADD = @LUA_LIBS@
63 nodist_pkgdata_DATA = \
75 MAINTAINERCLEANFILES = \
92 ../dissectors/packet-http.h \
93 ../dissectors/packet-ip.h \
94 ../dissectors/packet-udp.h \
95 ../dissectors/packet-h225.h \
96 ../dissectors/packet-ieee80211.h
101 taps_wslua.c: make-taps.pl taps
102 $(PERL) $(srcdir)/make-taps.pl taps taps_wslua.c taps.txt
104 taps.txt: taps_wslua.c
106 wslua.h: declare_wslua.h
108 register_wslua.c: declare_wslua.h
110 declare_wslua.h: make-reg.pl $(wslua_modules) taps_wslua.c
111 $(PERL) $(srcdir)/make-reg.pl $(wslua_modules);
116 init.lua: template-init.lua make-init-lua.pl ../ftypes/ftypes.h ../../wiretap/wtap.h ../proto.h ../../stat_menu.h
117 $(PERL) $(srcdir)/make-init-lua.pl $(top_srcdir) $(srcdir)/template-init.lua > init.lua
120 $(PERL) ../../tools/checkAPIs.pl -g termoutput -build \