diff options
author | Guy Harris <guy@alum.mit.edu> | 2000-11-12 11:08:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2000-11-12 11:08:46 +0000 |
commit | 5694059e97889fb98495a7ce73acfd1cb0e01525 (patch) | |
tree | f59c0bf1a19bf9f24761a194f4cbfd76979da395 /plugins/Makefile.nmake | |
parent | 40e9328384098a7449209fdcbea0dd1868212e82 (diff) | |
download | wireshark-5694059e97889fb98495a7ce73acfd1cb0e01525.tar.gz wireshark-5694059e97889fb98495a7ce73acfd1cb0e01525.tar.bz2 wireshark-5694059e97889fb98495a7ce73acfd1cb0e01525.zip |
Add a Makefile.nmake for the MGCP plugin, and update
"plugins/Makefile.nmake" to build that plugin.
Add to the table of routines callable from plugins
"old_dissector_add()", "old_dissect_data()", and
"proto_is_protocol_enabled()", so that the Gryphon dissector can build
on Windows.
Move the includes of "plugins/plugin_api.h" and "moduleinfo.h" before
all the other includes, except for "config.h", in "plugin-mgcp.c", to
match what the Gryphon dissector does; "plugins_api.h" must be included
before any of the routines whose names it #defines in order for the
plugin to build on Windows. (It still doesn't build on Windows, as
still more routines need to be added to the table of routines callable
from plugins, but tomorrow is another day. Making libethereal a DLL may
obviate the need for that table, *if* all the routines called from a
plugin are in libethereal, as I think routines in a DLL, even a
run-time-loaded DLL, can call routines from another DLL as long as those
routines are exported from the other DLL.)
svn path=/trunk/; revision=2622
Diffstat (limited to 'plugins/Makefile.nmake')
-rw-r--r-- | plugins/Makefile.nmake | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake index 73bddaa39e..d10dfd17da 100644 --- a/plugins/Makefile.nmake +++ b/plugins/Makefile.nmake @@ -1,5 +1,5 @@ # -# $Id: Makefile.nmake,v 1.7 2000/10/11 07:35:02 guy Exp $ +# $Id: Makefile.nmake,v 1.8 2000/11/12 11:08:45 guy Exp $ # include ..\config.nmake @@ -13,15 +13,22 @@ CFLAGS=/DHAVE_CONFIG_H /I.. /I../epan /I../wiretap /I. \ OBJECTS=plugin_api.obj -all: plugin_api.obj gryphon +all: plugin_api.obj gryphon mgcp gryphon:: cd gryphon nmake -f Makefile.nmake cd .. +mgcp:: + cd mgcp + nmake -f Makefile.nmake + cd .. + clean: rm -f plugin_api.obj cd gryphon nmake -f Makefile.nmake clean + cd ../mgcp + nmake -f Makefile.nmake clean cd .. |