Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Ethereal-dev: Re: [Ethereal-dev] Missing p_report_failure

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Olivier Biot" <ethereal@xxxxxxxxxx>
Date: Sun, 25 Apr 2004 22:51:51 +0200
From: Guy Harris

| Speaking of Windows builds:
|
| 1) For MSVC++ builds, can we get rid of the plugin API table by
|    just having libethereal export the functions in question and
|    linking the plugins against libethereal (or a .lib for
|    libethereal)?

That was the way it has been done in order to make Ethereal build
*with plugins* in a cygwin environment (with all the required
autotools).

| 2) If so, what would we do to make that work for MinGW and
|    Cygwin builds (assuming the latter don't already work
|    courtesy of libtool)?

The cygwin builds work this way: -L../../epan -lethereal does this.

plugins/acn/Makefile.am:
acn_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/artnet/Makefile.am:
artnet_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/asn1/Makefile.am:
asn1_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/ciscosm/Makefile.am:
ciscosm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/docsis/Makefile.am:
docsis_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/enttec/Makefile.am:
enttec_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/giop/Makefile.am:
cosnaming_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@
coseventcomm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/gryphon/Makefile.am:
gryphon_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/irda/Makefile.am:
irda_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/lwres/Makefile.am:
lwres_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/megaco/Makefile.am:
megaco_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/mgcp/Makefile.am:
mgcp_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/pcli/Makefile.am:
pcli_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/rdm/Makefile.am:
rdm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/rlm/Makefile.am:
rlm_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/rtnet/Makefile.am:
rtnet_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/rudp/Makefile.am:
rudp_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

plugins/v5ua/Makefile.am:
v5ua_la_LIBADD = -L../../epan -lethereal @GLIB_LIBS@

Maybe we should replace the plugin LIBADD entries with an automake
macro @PLUGIN_LIBADD@ which we define in the top-level configure.in?

Regards,

Olivier