Mailing List Archive

README.plugins patch
I've updated README.plugins for ethereal 0.9.11. The patch follows. I'm
not subscribed to this list, so cc me in any replies.

Cheers,
Shaun


--- README.plugins- 2003-01-28 18:51:52.000000000 -0700
+++ README.plugins 2003-06-05 10:19:01.000000000 -0600
@@ -225,29 +225,34 @@
Unfortunately there are quite some several places in the top level
Makefile.am that need to be altered for adding a plugin.

-Add your plugin to the plugin_src, plugin_static_ldadd, plugin_libs,
-and plugin_ldadd:
-
-plugin_src = \
- plugins/mgcp/packet-mgcp.c \
- plugins/gryphon/packet-gryphon.c \
- plugins/xxx/packet-xxx.c
-
-plugin_static_ldadd = \
- plugins/mgcp/packet-mgcp-static.o \
- plugins/gryphon/packet-gryphon-static.o \
- plugins/xxx/packet-xxx-static.o
+Add your plugin to plugin_libs, both plugin_ldadd, and plugin_src:

+if HAVE_PLUGINS
plugin_libs = \
- plugins/gryphon/gryphon.la \
- plugins/mgcp/mgcp.la \
+[clip]
+ plugins/mgcp/mgcp.la \
+ plugins/pcli/pcli.la \
plugins/xxx/xxx.la

+if ENABLE_STATIC
+plugin_ldadd = \
+[clip]
+ plugins/mgcp/packet-mgcp-static.o \
+ plugins/pcli/packet-pcli-static.o \
+ plugins/xxx/packet-xxx-static.o
+
+plugin_src = \
+[clip]
+ plugins/mgcp/packet-mgcp.c \
+ plugins/pcli/packet-pcli.c \
+ plugins/xxx/packet-xxx.c
+
+else # ENABLE_STATIC
plugin_ldadd = \
- "-dlopen" self \
- "-dlopen" plugins/gryphon/gryphon.la \
- "-dlopen" plugins/mgcp/mgcp.la \
- "-dlopen" plugins/xxx/xxx.la
+[clip]
+ "-dlopen" plugins/mgcp/mgcp.la \
+ "-dlopen" plugins/pcli/pcli.la
+ "-dlopen" plugins/xxx/xxx.la

4.7 Changes to top level configure.in

@@ -255,19 +260,9 @@
configure.in

AC_OUTPUT(
- Makefile
- doc/Makefile
- gtk/Makefile
- packaging/Makefile
- packaging/nsis/Makefile
- packaging/rpm/Makefile
- packaging/rpm/ethereal.spec
- packaging/svr4/Makefile
- packaging/svr4/checkinstall
- packaging/svr4/pkginfo
- plugins/Makefile
- plugins/gryphon/Makefile
+[clip]
plugins/mgcp/Makefile
+ plugins/pcli/Makefile
plugins/xxx/Makefile
tools/Makefile
tools/lemon/Makefile