diff options
author | Nathan Neulinger <nneul@umr.edu> | 2000-12-22 15:55:36 +0000 |
---|---|---|
committer | Nathan Neulinger <nneul@umr.edu> | 2000-12-22 15:55:36 +0000 |
commit | aa1cf7209e81c92cb261eca45757991f4ebb2ed8 (patch) | |
tree | a3c05f2b8dee7e884f998c05461a1a271ffc094d /Makefile.am | |
parent | fe8e42b58e685db9f01484484f94268a68c989bd (diff) |
added tethereal_static target
svn path=/trunk/; revision=2769
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 4206f77d3f..2d1e8341df 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ # Makefile.am # Automake file for Ethereal # -# $Id: Makefile.am,v 1.259 2000/12/17 07:38:14 guy Exp $ +# $Id: Makefile.am,v 1.260 2000/12/22 15:55:36 nneul Exp $ # # Ethereal - Network traffic analyzer # By Gerald Combs <gerald@zing.org> @@ -27,7 +27,7 @@ ACLOCAL_AMFLAGS = `./aclocal-flags` bin_PROGRAMS = @ethereal_bin@ @editcap_bin@ @tethereal_bin@ man_MANS = @ethereal_man@ @editcap_man@ @tethereal_man@ -EXTRA_PROGRAMS = ethereal ethereal_static tethereal editcap +EXTRA_PROGRAMS = ethereal ethereal_static tethereal tethereal_static editcap EXTRA_MANS = ethereal.1 tethereal.1 editcap.1 sysconf_DATA = manuf @@ -386,6 +386,9 @@ tethereal_SOURCES = \ $(ETHEREAL_COMMON_SOURCES) \ tethereal.c +tethereal_static_SOURCES = \ + $(tethereal_SOURCES) + # Additional libs that I know how to build. These will be # linked into the tethereal executable. tethereal_additional_libs = wiretap/libwiretap.a epan/libethereal.a @@ -397,6 +400,10 @@ tethereal_DEPENDENCIES = \ plugins/gryphon/gryphon.la \ plugins/mgcp/mgcp.la +tethereal_static_DEPENDENCIES = \ + $(ethereal_optional_objects) \ + $(tethereal_additional_libs) + # This automake variable adds to the link-line for the executable tethereal_LDADD = wiretap/libwiretap.a \ $(ethereal_optional_objects) \ @@ -407,7 +414,15 @@ tethereal_LDADD = wiretap/libwiretap.a \ "-dlopen" plugins/mgcp/mgcp.la @GLIB_LIBS@ -lm \ @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ +tethereal_static_LDADD = wiretap/libwiretap.a \ + $(ethereal_optional_objects) \ + $(tethereal_additional_libs) \ + @SNMP_LIBS@ \ + @GLIB_LIBS@ -lm \ + @PCAP_LIBS@ @SOCKET_LIBS@ @NSL_LIBS@ + tethereal_LDFLAGS = -export-dynamic +tethereal_static_LDFLAGS = -Wl,-static editcap_SOURCES = editcap.c |