2000-09-27 04:55:05 +00:00
|
|
|
# Makefile.am
|
|
|
|
# Automake file for the EPAN library
|
|
|
|
# (Ethereal Protocol ANalyzer Library)
|
|
|
|
#
|
2001-11-22 03:07:07 +00:00
|
|
|
# $Id: Makefile.am,v 1.29 2001/11/22 03:07:06 hagbard Exp $
|
2000-09-27 04:55:05 +00:00
|
|
|
#
|
|
|
|
# Ethereal - Network traffic analyzer
|
|
|
|
# By Gerald Combs <gerald@zing.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.
|
|
|
|
|
2001-02-01 20:21:25 +00:00
|
|
|
SUBDIRS = ftypes dfilter
|
2000-09-27 04:55:05 +00:00
|
|
|
|
|
|
|
# EPAN will eventually be a shared library. While I move source code around,
|
|
|
|
# however, it is an archive library.
|
|
|
|
|
Give libethereal its own configuration file, and have that configuration
file, rather than the top-level Ethereal configuration file, check for
"inet_aton()", "inet_pton()", and "inet_ntop()". Then make its
Makefile.am include the appropriate object files if necessary.
Otherwise, they don't get built and put into libethereal, and therefore
attempts to link with anything in libethereal that uses them fail on
platforms that lack ethem, causing the build to fail.
That means a bunch of things need to be fixed to cope with libethereal
having its own "config.h" file; this means removing the include of
"config.h" from some libethereal header files. Move the definitions of
the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so
"resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure
script (so we don't have to include it in "plugins.h" to check whether
HAVE_DLFCN_H is defined).
Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for
now, define that in the top-level configuration file, and have Ethereal
and Tethereal pass it as an argument to "epan_init()" - that should be
cleaned up at some point.
Remove from the top-level configure script checks for things used only
in libethereal.
svn path=/trunk/; revision=2498
2000-10-16 23:18:05 +00:00
|
|
|
ACLOCAL_AMFLAGS = `../aclocal-flags`
|
|
|
|
|
2000-10-14 03:53:25 +00:00
|
|
|
noinst_LIBRARIES = libethereal.a
|
2000-09-27 04:55:05 +00:00
|
|
|
|
Give libethereal its own configuration file, and have that configuration
file, rather than the top-level Ethereal configuration file, check for
"inet_aton()", "inet_pton()", and "inet_ntop()". Then make its
Makefile.am include the appropriate object files if necessary.
Otherwise, they don't get built and put into libethereal, and therefore
attempts to link with anything in libethereal that uses them fail on
platforms that lack ethem, causing the build to fail.
That means a bunch of things need to be fixed to cope with libethereal
having its own "config.h" file; this means removing the include of
"config.h" from some libethereal header files. Move the definitions of
the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so
"resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure
script (so we don't have to include it in "plugins.h" to check whether
HAVE_DLFCN_H is defined).
Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for
now, define that in the top-level configuration file, and have Ethereal
and Tethereal pass it as an argument to "epan_init()" - that should be
cleaned up at some point.
Remove from the top-level configure script checks for things used only
in libethereal.
svn path=/trunk/; revision=2498
2000-10-16 23:18:05 +00:00
|
|
|
INCLUDES = -I$(srcdir)/..
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2000-10-14 03:53:25 +00:00
|
|
|
libethereal_a_SOURCES = \
|
2001-03-22 16:24:16 +00:00
|
|
|
atalk-utils.c \
|
|
|
|
atalk-utils.h \
|
Move the table of bit-swapped byte values to "epan/bitswap.c", and
declare it, and define a "BIT_SWAP" macro that uses it, in
"epan/bitswap.h".
Use that macro to bit-swap bytes in the IEEE 802.11 dissector, rather
than the macro that was used (said macro used GCCisms and didn't compile
on Windows).
Make an "init_plugin()" routine to enable a plugin and call its init
routine, and call it from "check_plugin_status()" and
"plugins_enable_cb()", rather than having very similar code in two
places; "patable" is now part of libethereal, and, at least on Windows,
attempts to refer to it from "libui" failed. Make "patable" static to
"epan/plugins.c". (This may still not work, as now "libui" is calling a
routine in "libethereal"; if that fails, perhaps it's time to get rid of
the "enable/disable plugins" stuff completely, as new-style plugins, at
least, register themselves as protocols and should be controllable from
the "Edit->Protocols" window just as built-in dissectors are.)
svn path=/trunk/; revision=2649
2000-11-15 09:37:53 +00:00
|
|
|
bitswap.c \
|
|
|
|
bitswap.h \
|
2001-04-01 03:42:00 +00:00
|
|
|
column_info.h \
|
2000-09-27 04:55:05 +00:00
|
|
|
conversation.c \
|
|
|
|
conversation.h \
|
2001-04-01 07:32:35 +00:00
|
|
|
column-utils.c \
|
|
|
|
column-utils.h \
|
2000-09-27 04:55:05 +00:00
|
|
|
epan.c \
|
|
|
|
epan.h \
|
|
|
|
except.c \
|
|
|
|
except.h \
|
2000-10-19 07:18:19 +00:00
|
|
|
exceptions.h \
|
2000-09-28 03:16:29 +00:00
|
|
|
filesystem.c \
|
|
|
|
filesystem.h \
|
2001-04-01 04:11:51 +00:00
|
|
|
frame_data.c \
|
|
|
|
frame_data.h \
|
2001-02-01 20:21:25 +00:00
|
|
|
gdebug.h \
|
2001-11-22 03:07:07 +00:00
|
|
|
int-64bit.c \
|
|
|
|
int-64bit.h \
|
2000-09-28 03:52:12 +00:00
|
|
|
ipv4.c \
|
|
|
|
ipv4.h \
|
2001-04-01 07:06:24 +00:00
|
|
|
ipv6-utils.h \
|
2001-09-14 07:33:04 +00:00
|
|
|
nstime.h \
|
2001-04-01 05:48:15 +00:00
|
|
|
osi-utils.c \
|
|
|
|
osi-utils.h \
|
2000-09-27 05:18:06 +00:00
|
|
|
packet.c \
|
|
|
|
packet.h \
|
2001-04-01 04:50:42 +00:00
|
|
|
packet_info.h \
|
2000-09-27 04:55:05 +00:00
|
|
|
pint.h \
|
|
|
|
plugins.c \
|
|
|
|
plugins.h \
|
|
|
|
proto.c \
|
|
|
|
proto.h \
|
2000-09-28 03:28:54 +00:00
|
|
|
resolv.c \
|
|
|
|
resolv.h \
|
2001-03-22 16:24:16 +00:00
|
|
|
sna-utils.c \
|
|
|
|
sna-utils.h \
|
2000-09-27 04:55:05 +00:00
|
|
|
strutil.c \
|
|
|
|
strutil.h \
|
2001-04-01 06:11:25 +00:00
|
|
|
timestamp.h \
|
2001-04-01 02:47:56 +00:00
|
|
|
to_str.c \
|
|
|
|
to_str.h \
|
2000-09-27 04:55:05 +00:00
|
|
|
tvbuff.c \
|
2001-04-01 03:18:41 +00:00
|
|
|
tvbuff.h \
|
|
|
|
value_string.c \
|
|
|
|
value_string.h
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2000-10-14 04:31:26 +00:00
|
|
|
EXTRA_libethereal_a_SOURCES = \
|
|
|
|
inet_aton.c \
|
|
|
|
inet_pton.c \
|
|
|
|
inet_ntop.c \
|
|
|
|
inet_aton.h \
|
|
|
|
inet_v6defs.h
|
2000-09-27 04:55:05 +00:00
|
|
|
|
2000-10-11 07:35:02 +00:00
|
|
|
EXTRA_DIST = \
|
2000-10-17 09:25:37 +00:00
|
|
|
config.h.win32 \
|
2000-11-20 16:18:08 +00:00
|
|
|
Makefile.nmake \
|
|
|
|
tvbtest.c
|
2000-10-11 07:35:02 +00:00
|
|
|
|
2000-09-27 04:55:05 +00:00
|
|
|
CLEANFILES = \
|
2000-10-14 03:53:25 +00:00
|
|
|
libethereal.a \
|
2000-09-27 04:55:05 +00:00
|
|
|
*~
|
|
|
|
|
Give libethereal its own configuration file, and have that configuration
file, rather than the top-level Ethereal configuration file, check for
"inet_aton()", "inet_pton()", and "inet_ntop()". Then make its
Makefile.am include the appropriate object files if necessary.
Otherwise, they don't get built and put into libethereal, and therefore
attempts to link with anything in libethereal that uses them fail on
platforms that lack ethem, causing the build to fail.
That means a bunch of things need to be fixed to cope with libethereal
having its own "config.h" file; this means removing the include of
"config.h" from some libethereal header files. Move the definitions of
the path names used only by "resolv.c" to "resolv.c" from "resolv.h" (so
"resolv.h" doesn't need "config.h", define HAVE_PLUGINS in the configure
script (so we don't have to include it in "plugins.h" to check whether
HAVE_DLFCN_H is defined).
Unfortunately, stuff outside libethereal needs to know PLUGIN_DIR; for
now, define that in the top-level configuration file, and have Ethereal
and Tethereal pass it as an argument to "epan_init()" - that should be
cleaned up at some point.
Remove from the top-level configure script checks for things used only
in libethereal.
svn path=/trunk/; revision=2498
2000-10-16 23:18:05 +00:00
|
|
|
#
|
|
|
|
# Add the object files for missing routines, if any.
|
|
|
|
#
|
|
|
|
libethereal_a_LIBADD = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
|
|
|
|
libethereal_a_DEPENDENCIES = @INET_ATON_O@ @INET_PTON_O@ @INET_NTOP_O@
|
|
|
|
|
2000-09-27 04:55:05 +00:00
|
|
|
|
|
|
|
tvbtest: tvbtest.o tvbuff.o except.o strutil.o
|
|
|
|
$(LINK) -o tvbtest tvbtest.o tvbuff.o except.o strutil.o `glib-config --libs`
|