2006-09-25 01:09:00 +00:00
|
|
|
# Makefile.am
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
# Wireshark - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@wireshark.org>
|
|
|
|
# Copyright 1998 Gerald Combs
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or
|
|
|
|
# modify it under the terms of the GNU General Public License
|
|
|
|
# as published by the Free Software Foundation; either version 2
|
|
|
|
# of the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
# GNU General Public License for more details.
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License
|
|
|
|
# along with this program; if not, write to the Free Software
|
2012-06-28 22:56:06 +00:00
|
|
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2006-09-25 01:09:00 +00:00
|
|
|
#
|
|
|
|
|
2007-03-23 17:49:59 +00:00
|
|
|
if HAVE_WARNINGS_AS_ERRORS
|
2007-03-22 23:24:13 +00:00
|
|
|
AM_CFLAGS = -Werror
|
|
|
|
endif
|
|
|
|
|
2013-03-12 06:53:39 +00:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir) @LUA_INCLUDES@
|
2006-09-25 01:09:00 +00:00
|
|
|
|
|
|
|
noinst_LTLIBRARIES = libwslua.la
|
|
|
|
|
2007-08-02 16:06:13 +00:00
|
|
|
wslua_modules = \
|
2009-06-16 05:26:46 +00:00
|
|
|
$(srcdir)/lua_bitop.c \
|
2014-02-22 05:44:00 +00:00
|
|
|
$(srcdir)/lrexlib.c \
|
|
|
|
$(srcdir)/lrexlib_glib.c \
|
|
|
|
$(srcdir)/lrexlib_glib_f.c \
|
2007-08-02 16:06:13 +00:00
|
|
|
$(srcdir)/wslua_tvb.c \
|
|
|
|
$(srcdir)/wslua_proto.c \
|
2014-02-03 03:49:30 +00:00
|
|
|
$(srcdir)/wslua_int64.c \
|
2007-08-02 16:06:13 +00:00
|
|
|
$(srcdir)/wslua_tree.c \
|
|
|
|
$(srcdir)/wslua_pinfo.c \
|
|
|
|
$(srcdir)/wslua_listener.c \
|
|
|
|
$(srcdir)/wslua_gui.c \
|
|
|
|
$(srcdir)/wslua_util.c \
|
|
|
|
$(srcdir)/wslua_field.c \
|
2014-03-18 17:21:51 +00:00
|
|
|
$(srcdir)/wslua_file.c \
|
2014-02-03 03:49:30 +00:00
|
|
|
$(srcdir)/wslua_struct.c \
|
2014-02-19 08:22:55 +00:00
|
|
|
$(srcdir)/wslua_dumper.c \
|
|
|
|
$(srcdir)/wslua_internals.c
|
2007-08-02 16:06:13 +00:00
|
|
|
|
2006-09-25 01:09:00 +00:00
|
|
|
libwslua_la_SOURCES = \
|
2007-08-02 16:06:13 +00:00
|
|
|
$(wslua_modules) \
|
2006-10-17 18:20:44 +00:00
|
|
|
taps_wslua.c \
|
2006-10-03 14:27:45 +00:00
|
|
|
register_wslua.c \
|
2006-09-25 01:09:00 +00:00
|
|
|
init_wslua.c \
|
2013-08-13 10:38:30 +00:00
|
|
|
init_wslua.h \
|
2006-09-25 01:09:00 +00:00
|
|
|
wslua.h
|
|
|
|
|
|
|
|
libwslua_la_LIBADD = @LUA_LIBS@
|
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
2006-10-17 18:20:44 +00:00
|
|
|
taps_wslua.c \
|
2006-10-03 14:27:45 +00:00
|
|
|
register_wslua.c \
|
|
|
|
declare_wslua.h
|
2006-09-25 01:09:00 +00:00
|
|
|
|
2007-01-04 18:35:33 +00:00
|
|
|
dist_pkgdata_DATA = \
|
2006-10-17 18:20:44 +00:00
|
|
|
console.lua \
|
|
|
|
dtd_gen.lua
|
2006-09-25 01:09:00 +00:00
|
|
|
|
2008-12-23 17:01:59 +00:00
|
|
|
nodist_pkgdata_DATA = \
|
|
|
|
init.lua
|
|
|
|
|
2006-09-25 01:09:00 +00:00
|
|
|
CLEANFILES = \
|
|
|
|
*~
|
|
|
|
|
|
|
|
DISTCLEANFILES = \
|
2006-10-03 23:32:51 +00:00
|
|
|
$(BUILT_SOURCES) \
|
2006-09-26 22:24:50 +00:00
|
|
|
taps.txt \
|
2009-06-08 19:02:49 +00:00
|
|
|
wslua_register.h \
|
|
|
|
init.lua
|
2006-09-25 01:09:00 +00:00
|
|
|
|
|
|
|
MAINTAINERCLEANFILES = \
|
|
|
|
Makefile.in \
|
2006-10-04 14:37:46 +00:00
|
|
|
register_wslua.c \
|
2009-06-08 19:02:49 +00:00
|
|
|
declare_wslua.h
|
2006-09-25 01:09:00 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2010-05-14 16:27:03 +00:00
|
|
|
declare_wslua.h \
|
2014-01-13 22:06:12 +00:00
|
|
|
lua_bitop.h \
|
2014-02-22 05:44:00 +00:00
|
|
|
lrexlib.h \
|
|
|
|
lrexlib_algo.h \
|
2010-05-14 16:27:03 +00:00
|
|
|
register_wslua.c \
|
|
|
|
taps \
|
|
|
|
make-reg.pl \
|
|
|
|
template-init.lua \
|
|
|
|
make-init-lua.pl \
|
|
|
|
make-taps.pl \
|
|
|
|
Makefile.nmake \
|
|
|
|
CMakeLists.txt
|
2006-09-25 01:09:00 +00:00
|
|
|
|
|
|
|
taps_used = \
|
|
|
|
../dissectors/packet-http.h \
|
|
|
|
../dissectors/packet-ip.h \
|
|
|
|
../dissectors/packet-udp.h \
|
2009-05-10 16:02:35 +00:00
|
|
|
../dissectors/packet-h225.h \
|
|
|
|
../dissectors/packet-ieee80211.h
|
2006-09-25 01:09:00 +00:00
|
|
|
|
|
|
|
taps: $(taps_used)
|
|
|
|
touch taps
|
|
|
|
|
2006-10-17 18:20:44 +00:00
|
|
|
taps_wslua.c: make-taps.pl taps
|
|
|
|
$(PERL) $(srcdir)/make-taps.pl taps taps_wslua.c taps.txt
|
2006-09-25 01:09:00 +00:00
|
|
|
|
2006-10-17 18:20:44 +00:00
|
|
|
taps.txt: taps_wslua.c
|
2009-05-10 16:02:35 +00:00
|
|
|
|
2006-10-03 14:27:45 +00:00
|
|
|
wslua.h: declare_wslua.h
|
|
|
|
|
|
|
|
register_wslua.c: declare_wslua.h
|
|
|
|
|
2006-10-18 15:05:55 +00:00
|
|
|
declare_wslua.h: make-reg.pl $(wslua_modules) taps_wslua.c
|
2006-10-03 14:27:45 +00:00
|
|
|
$(PERL) $(srcdir)/make-reg.pl $(wslua_modules);
|
|
|
|
|
2006-09-25 01:09:00 +00:00
|
|
|
dummy:
|
|
|
|
touch dummy
|
|
|
|
|
2007-03-21 00:48:46 +00:00
|
|
|
init.lua: template-init.lua make-init-lua.pl ../ftypes/ftypes.h ../../wiretap/wtap.h ../proto.h ../../stat_menu.h
|
2010-05-28 11:48:29 +00:00
|
|
|
$(PERL) $(srcdir)/make-init-lua.pl $(top_srcdir) $(srcdir)/template-init.lua > init.lua
|
2008-07-02 01:44:30 +00:00
|
|
|
|
|
|
|
checkapi:
|
2012-04-04 20:46:49 +00:00
|
|
|
$(PERL) ../../tools/checkAPIs.pl -g termoutput -build \
|
2008-07-02 01:44:30 +00:00
|
|
|
init_wslua.c \
|
|
|
|
register_wslua.c \
|
|
|
|
taps_wslua.c \
|
2014-02-22 05:44:00 +00:00
|
|
|
lrexlib_glib.c \
|
|
|
|
lrexlib_glib_f.c \
|
2008-07-02 01:44:30 +00:00
|
|
|
wslua_dumper.c \
|
|
|
|
wslua_field.c \
|
2014-03-18 17:21:51 +00:00
|
|
|
wslua_file.c \
|
2008-07-02 01:44:30 +00:00
|
|
|
wslua_gui.c \
|
2014-02-03 03:49:30 +00:00
|
|
|
wslua_int64.c \
|
2008-07-02 01:44:30 +00:00
|
|
|
wslua_pinfo.c \
|
|
|
|
wslua_proto.c \
|
2014-02-03 03:49:30 +00:00
|
|
|
wslua_struct.c \
|
|
|
|
wslua_tree.c \
|
2008-07-02 01:44:30 +00:00
|
|
|
wslua_tree.c \
|
|
|
|
wslua_tvb.c \
|
|
|
|
wslua_util.c
|