# 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
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
if HAVE_LIBLUA
wslua_lib = wslua/libwslua.la
wslua_dir = wslua
-wslua_dist_dir =
+wslua_dist_dir =
else # HAVE_LIBLUA
wslua_lib =
wslua_dir =
# only C source available for platforms other than Win32
libwireshark_asmopt_la_SOURCES = \
asm_utils.c \
- asm_utils.h
+ asm_utils.h \
+ asm_utils_win32_x86.asm
EXTRA_libwireshark_la_SOURCES = \
- g_ascii_strcasecmp.c \
- g_ascii_strcasecmp.h \
- g_ascii_strtoull.c \
- g_ascii_strtoull.h \
inet_aton.c \
inet_aton.h
libwireshark.la \
libwireshark_generated.a \
libwireshark_generated.la \
- libwireshark_asmopt.a \
- libwireshark_asmopt.la \
+ libwireshark_asmopt.a \
+ libwireshark_asmopt.la \
+ inet_ntop.c \
+ inet_pton.c \
*~
DISTCLEANFILES = \
#
# Add the object files for missing routines, if any.
#
-libwireshark_la_LIBADD = @G_ASCII_STRCASECMP_LO@ @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ libwireshark_generated.la libwireshark_asmopt.la crypt/libairpdcap.la ftypes/libftypes.la dfilter/libdfilter.la dissectors/libcleandissectors.la dissectors/libdissectors.la dissectors/libasndissectors.la dissectors/libpidldissectors.la $(wslua_lib) @ADNS_LIBS@ @LIBGNUTLS_LIBS@ @LIBICONV@ @KRB5_LIBS@ @SSL_LIBS@ @LIBSMI_LDFLAGS@ -lm
-libwireshark_la_DEPENDENCIES = @G_ASCII_STRCASECMP_LO@ @G_ASCII_STRTOULL_LO@ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ libwireshark_generated.la libwireshark_asmopt.la crypt/libairpdcap.la ftypes/libftypes.la dfilter/libdfilter.la dissectors/libcleandissectors.la dissectors/libdissectors.la dissectors/libasndissectors.la dissectors/libpidldissectors.la $(wslua_lib)
+libwireshark_la_LIBADD = \
+ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ libwireshark_generated.la \
+ libwireshark_asmopt.la crypt/libairpdcap.la ftypes/libftypes.la \
+ dfilter/libdfilter.la dissectors/libcleandissectors.la \
+ dissectors/libdissectors.la dissectors/libasndissectors.la \
+ dissectors/libpidldissectors.la $(wslua_lib) @SOCKET_LIBS@ @NSL_LIBS@ \
+ @ADNS_LIBS@ @LIBGCRYPT_LIBS@ @LIBGNUTLS_LIBS@ @KRB5_LIBS@ \
+ @SSL_LIBS@ @LIBSMI_LDFLAGS@ -lm
+libwireshark_la_DEPENDENCIES = \
+ @INET_ATON_LO@ @INET_PTON_LO@ @INET_NTOP_LO@ libwireshark_generated.la \
+ libwireshark_asmopt.la crypt/libairpdcap.la ftypes/libftypes.la \
+ dfilter/libdfilter.la dissectors/libcleandissectors.la \
+ dissectors/libdissectors.la dissectors/libasndissectors.la \
+ dissectors/libpidldissectors.la $(wslua_lib)
#EXTRA_PROGRAMS = reassemble_test
#reassemble_test_LDADD = $(GLIB_LIBS)
reassemble_test: reassemble_test.o tvbuff.o except.o strutil.o emem.o \
- reassemble.o
+ reassemble.o
$(LINK) $^ $(GLIB_LIBS) -lz
tvbtest: tvbtest.o tvbuff.o except.o strutil.o emem.o
dtd_grammar.h: dtd_grammar.c
-dtd_grammar.c: dtd_grammar.lemon $(LEMON)/lemon$(EXEEXT)
+dtd_grammar.c: $(LEMON)/lemon$(EXEEXT) $(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
$(LEMON)/lemon$(EXEEXT) t=$(srcdir)/$(LEMON)/lempar.c $(srcdir)/dtd_grammar.lemon
-
+
tvbtest.o exntest.o: exceptions.h
sminmpec.c: enterprise-numbers make-sminmpec.pl
$(PERL) $(srcdir)/make-sminmpec.pl $(srcdir)/enterprise-numbers sminmpec.c
+inet_ntop.c:
+ ln -s $(srcdir)/../inet_ntop.c .
+
+inet_pton.c:
+ ln -s $(srcdir)/../inet_pton.c .
+
if HAVE_PLUGINS
if ENABLE_STATIC
../plugins/giop/packet-cosnaming.c \
../plugins/giop/packet-coseventcomm.c \
../plugins/gryphon/packet-gryphon.c \
+ ../plugins/infiniband/packet-infiniband.c \
../plugins/irda/packet-irda.c \
../plugins/lwres/packet-lwres.c \
../plugins/m2m/packet-m2m.c \
../plugins/pcli/packet-pcli.c \
../plugins/rdm/packet-rdm.c \
../plugins/rtnet/packet-rtnet.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1_at.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1_at_devstat.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1_hp.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1_mdt.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1_mdt_devctrl.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1_mst.c \
+ ../plugins/sercosiii/packet-sercosiii_1v1_svc.c \
../plugins/v5ua/packet-v5ua.c \
../plugins/wimax/crc.c \
../plugins/wimax/crc_data.c \
if HAVE_DOXYGEN
$(DOXYGEN) doxygen.cfg
endif # HAVE_DOXYGEN
+
+checkapi:
+ $(PERL) ../tools/checkAPIs.pl -g termoutput $(LIBWIRESHARK_SRC)