Add support for plugin dissectors on cygwin builds, by adding the following
authorobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 14 Apr 2004 22:13:28 +0000 (22:13 +0000)
committerobiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 14 Apr 2004 22:13:28 +0000 (22:13 +0000)
line to every Makefile.am file for a given plugin XXX:

XXX_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

This way symbols defined in libethereal and GLib are resolved when linking
the plugin dissector modules.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10601 f5534014-38df-0310-8fa8-9805f1628bb7

19 files changed:
doc/README.plugins
plugins/acn/Makefile.am
plugins/artnet/Makefile.am
plugins/asn1/Makefile.am
plugins/ciscosm/Makefile.am
plugins/docsis/Makefile.am
plugins/enttec/Makefile.am
plugins/giop/Makefile.am
plugins/gryphon/Makefile.am
plugins/irda/Makefile.am
plugins/lwres/Makefile.am
plugins/megaco/Makefile.am
plugins/mgcp/Makefile.am
plugins/pcli/Makefile.am
plugins/rdm/Makefile.am
plugins/rlm/Makefile.am
plugins/rtnet/Makefile.am
plugins/rudp/Makefile.am
plugins/v5ua/Makefile.am

index 131edb76df580e95a5f5c2170011fb2cab36ce7a..1dbb6e1d28db5c697d7a0909905d9c99d9fe56a3 100644 (file)
@@ -1,4 +1,4 @@
-$Id: README.plugins,v 1.10 2004/03/02 23:45:33 jmayer Exp $
+$Id: README.plugins,v 1.11 2004/04/14 22:13:21 obiot Exp $
 
 Plugins
 
@@ -122,6 +122,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = xxx.la
 xxx_la_SOURCES = packet-xxx.c moduleinfo.h
 xxx_la_LDFLAGS = -module -avoid-version
+xxx_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index f48ed45379042fb9ee3ceb563ecedbe23fcd89a8..287ce9e414be014d1d00a630c1b6b6e80906cb6e 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/ACN
 #
-# $Id: Makefile.am,v 1.2 2003/11/17 22:34:21 guy Exp $
+# $Id: Makefile.am,v 1.3 2004/04/14 22:13:22 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = acn.la
 acn_la_SOURCES = packet-acn.c moduleinfo.h acn.h
 acn_la_LDFLAGS = -module -avoid-version
+acn_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 833e30c463845783c39141efeec7dd456c0e769d..1316d62eedc19774759f26cc925f6883912086f9 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/ArtNET
 #
-# $Id: Makefile.am,v 1.3 2003/11/17 22:34:22 guy Exp $
+# $Id: Makefile.am,v 1.4 2004/04/14 22:13:23 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = artnet.la
 artnet_la_SOURCES = packet-artnet.c moduleinfo.h
 artnet_la_LDFLAGS = -module -avoid-version
+artnet_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 12c2ad2807e129d19af38baf039da0c357d46f25..437cd697ff9f2421c4e103f151de8b5e7a32c9c9 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/asn1
 #
-# $Id: Makefile.am,v 1.4 2004/01/18 14:08:28 jmayer Exp $
+# $Id: Makefile.am,v 1.5 2004/04/14 22:13:23 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = asn1.la
 asn1_la_SOURCES = packet-asn1.c moduleinfo.h
 asn1_la_LDFLAGS = -module -avoid-version
+asn1_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index f8049321e0c9aeaddaf1495c6080183c78097e20..f5aebc6e5a7e15d5f8db77ffc2ca1bdac568589b 100644 (file)
@@ -2,7 +2,7 @@
 # Automake file for Cisco SS7 Session Management dissector
 # Copyright 2004, Duncan Sargeant <dunc-ethereal@rcpt.to>
 #
-# $Id: Makefile.am,v 1.1 2004/03/25 11:21:06 guy Exp $
+# $Id: Makefile.am,v 1.2 2004/04/14 22:13:23 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -30,6 +30,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = ciscosm.la
 ciscosm_la_SOURCES = packet-sm.c moduleinfo.h
 ciscosm_la_LDFLAGS = -module -avoid-version
+ciscosm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 4a666e6e5f0ce3116105983c906c789cd48b836f..74130821745a3818dd8a0ae903fe593fe0650bcd 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/docsis subdissectors
 #
-# $Id: Makefile.am,v 1.6 2004/03/17 06:55:02 guy Exp $
+# $Id: Makefile.am,v 1.7 2004/04/14 22:13:24 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = docsis.la
 docsis_la_SOURCES = packet-intrngreq.c packet-type29ucd.c packet-docsis.c packet-bpkmattr.c packet-dsarsp.c packet-macmgmt.c packet-rngrsp.c packet-bpkmreq.c packet-dscack.c packet-map.c packet-tlv.c packet-bpkmrsp.c packet-dscreq.c packet-regack.c packet-uccreq.c packet-dscrsp.c packet-regreq.c packet-uccrsp.c packet-dsaack.c packet-dsdreq.c packet-regrsp.c packet-ucd.c packet-dsareq.c packet-dsdrsp.c packet-rngreq.c packet-vendor.c packet-docsis.h packet-tlv.h moduleinfo.h
 docsis_la_LDFLAGS = -module -avoid-version
+docsis_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 839908185238de274662e84dfa90b9b3e01bea95..77294975a1415c1b9d628b0184d60e0786163498 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/ENTTEC
 #
-# $Id: Makefile.am,v 1.1 2003/11/17 20:57:13 guy Exp $
+# $Id: Makefile.am,v 1.2 2004/04/14 22:13:24 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = enttec.la
 enttec_la_SOURCES = packet-enttec.c moduleinfo.h
 enttec_la_LDFLAGS = -module -avoid-version
+enttec_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index b99bdaaa0be5bf34ec4e45de475447fbffdb9c46..653d2b83f595093e06e821dc33af11260476826b 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/GIOP subdissectors 
 #
-# $Id: Makefile.am,v 1.5 2003/11/17 22:31:27 guy Exp $
+# $Id: Makefile.am,v 1.6 2004/04/14 22:13:25 obiot Exp $
 #
 # Copyright 2001, Ericsson Inc.
 # Frank Singleton <frank.singleton@ericsson.com>
@@ -32,9 +32,11 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = cosnaming.la coseventcomm.la
 cosnaming_la_SOURCES = packet-cosnaming.c moduleinfo.h
 cosnaming_la_LDFLAGS = -module -avoid-version
+cosnaming_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 coseventcomm_la_SOURCES = packet-coseventcomm.c moduleinfo.h
 coseventcomm_la_LDFLAGS = -module -avoid-version
+coseventcomm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 8fa05abfc9d239b8808221e2f29db3a5f245ea0f..7dba13e66ea2f1c23d6a5932fdb40a3d407eb1db 100644 (file)
@@ -3,7 +3,7 @@
 # By Steve Limkemann <stevelim@dgtech.com>
 # Copyright 1998 Steve Limkemann
 #
-# $Id: Makefile.am,v 1.12 2003/11/17 22:34:23 guy Exp $
+# $Id: Makefile.am,v 1.13 2004/04/14 22:13:25 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -31,6 +31,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = gryphon.la
 gryphon_la_SOURCES = packet-gryphon.c packet-gryphon.h moduleinfo.h
 gryphon_la_LDFLAGS = -module -avoid-version
+gryphon_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 92ce16bfcb5d78548237a402090df5df2027c779..5e8fdacd7aba64828691ada73e6a7735d936fa46 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/IrDA
 #
-# $Id: Makefile.am,v 1.1 2003/12/18 19:04:47 guy Exp $
+# $Id: Makefile.am,v 1.2 2004/04/14 22:13:25 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = irda.la
 irda_la_SOURCES = packet-irda.c moduleinfo.h irda-appl.h packet-ircomm.c
 irda_la_LDFLAGS = -module -avoid-version
+irda_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index d6b1d96cf8006b4bc9b97344ae306ab301e78b51..948ffb70f6f063097e99d7151249630154571764 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/lwres
 #
-# $Id: Makefile.am,v 1.3 2003/09/05 07:44:47 jmayer Exp $
+# $Id: Makefile.am,v 1.4 2004/04/14 22:13:25 obiot Exp $
 #
 # Ethereal - Network traffic analyzer / light waight resolver (part of Bind9)
 # By Steve Oleg Terletsky <oleg.terletsky@comverse.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = lwres.la
 lwres_la_SOURCES = packet-lwres.c moduleinfo.h
 lwres_la_LDFLAGS = -module -avoid-version
+lwres_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 21ed2d45abd2cde28dd1abec2881563bb554f7ea..79b2107888ab81a4c044269853fc0c058a21a4b0 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Megaco Ethereal plugin
 #
-# $Id: Makefile.am,v 1.2 2003/09/05 07:44:48 jmayer Exp $
+# $Id: Makefile.am,v 1.3 2004/04/14 22:13:25 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = megaco.la
 megaco_la_SOURCES = packet-megaco.c moduleinfo.h
 megaco_la_LDFLAGS = -module -avoid-version
+megaco_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index bd5adea0904ce211f3acf1c99a677604dc02bf12..a37fe22d36397280cc1700fc46496fb53b7f8ba3 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/MGCP
 #
-# $Id: Makefile.am,v 1.8 2003/11/17 22:34:24 guy Exp $
+# $Id: Makefile.am,v 1.9 2004/04/14 22:13:26 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = mgcp.la
 mgcp_la_SOURCES = packet-mgcp.c packet-mgcp.h moduleinfo.h
 mgcp_la_LDFLAGS = -module -avoid-version
+mgcp_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 5ecb15fdd41b85a232adeac4cc01f2e00f9237de..58390665f3d6b7003ccf6098e238f8d4994fb50f 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/Gryphon
 #
-# $Id: Makefile.am,v 1.3 2003/11/17 22:34:24 guy Exp $
+# $Id: Makefile.am,v 1.4 2004/04/14 22:13:26 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = pcli.la
 pcli_la_SOURCES = packet-pcli.c moduleinfo.h
 pcli_la_LDFLAGS = -module -avoid-version
+pcli_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index ec9e06de0be54fe410a0de2e58417f6cbe9049c2..1570e703a88064dc2c38d31fe3966ec5451616a3 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/RDM
 #
-# $Id: Makefile.am,v 1.1 2003/11/17 20:57:14 guy Exp $
+# $Id: Makefile.am,v 1.2 2004/04/14 22:13:26 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = rdm.la
 rdm_la_SOURCES = packet-rdm.c moduleinfo.h
 rdm_la_LDFLAGS = -module -avoid-version
+rdm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index d396030698c109bcb4572e5cae8398dde4d02726..5e2400b3f45a1ba041c25087e45383bbdfaacfc0 100644 (file)
@@ -2,7 +2,7 @@
 # Automake file for Cisco SS7 Redundant Link Management dissector
 # Copyright 2004, Duncan Sargeant <dunc-ethereal@rcpt.to>
 #
-# $Id: Makefile.am,v 1.1 2004/03/25 11:21:07 guy Exp $
+# $Id: Makefile.am,v 1.2 2004/04/14 22:13:26 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -30,6 +30,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = rlm.la
 rlm_la_SOURCES = packet-rlm.c moduleinfo.h
 rlm_la_LDFLAGS = -module -avoid-version
+rlm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 66fd96fdb68686a6a0768ee3c0f3d8b36b8bd208..4f2bff969971dc0e1c89fc2cb611422e6edddeb2 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for Ethereal/RTNET
 #
-# $Id: Makefile.am,v 1.3 2003/11/17 22:34:25 guy Exp $
+# $Id: Makefile.am,v 1.4 2004/04/14 22:13:27 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = rtnet.la
 rtnet_la_SOURCES = packet-rtnet.c moduleinfo.h
 rtnet_la_LDFLAGS = -module -avoid-version
+rtnet_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index b681bf0eb564b9fb9adfa9ade7741fe8ebd44c5e..e3b7d17fc3646bc28d30cf53024000c7ae19d093 100644 (file)
@@ -2,7 +2,7 @@
 # Automake file for Cisco SS7 Reliable UDP dissector
 # Copyright 2004, Duncan Sargeant <dunc-ethereal@rcpt.to>
 #
-# $Id: Makefile.am,v 1.1 2004/03/25 11:21:07 guy Exp $
+# $Id: Makefile.am,v 1.2 2004/04/14 22:13:28 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -30,6 +30,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = rudp.la
 rudp_la_SOURCES = packet-rudp.c moduleinfo.h
 rudp_la_LDFLAGS = -module -avoid-version
+rudp_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,
index 0ea00f5c485335854445a3eaaca59f933be608e7..3b5ae7cd71ac6bbe8f2249f4f59cf8a420092dd3 100644 (file)
@@ -1,7 +1,7 @@
 # Makefile.am
 # Automake file for V5UA plugin
 #
-# $Id: Makefile.am,v 1.2 2003/12/17 07:02:12 guy Exp $
+# $Id: Makefile.am,v 1.3 2004/04/14 22:13:28 obiot Exp $
 #
 # Ethereal - Network traffic analyzer
 # By Gerald Combs <gerald@ethereal.com>
@@ -29,6 +29,7 @@ plugindir = @plugindir@
 plugin_LTLIBRARIES = v5ua.la
 v5ua_la_SOURCES = packet-v5ua.c moduleinfo.h
 v5ua_la_LDFLAGS = -module -avoid-version
+v5ua_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
 
 # Libs must be cleared, or else libtool won't create a shared module.
 # If your module needs to be linked against any particular libraries,