diff options
author | lroland <lroland@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-05-03 01:03:33 +0000 |
---|---|---|
committer | lroland <lroland@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-05-03 01:03:33 +0000 |
commit | fbbb4646f1e5b687a48865efad1cd5f2ff03085d (patch) | |
tree | 9f5e9d23548f0c0df0c94af1b949977b91b19069 /plugins/Makefile.nmake | |
parent | 6986194605bc8b6233639f932a55ff7b00f3a857 (diff) |
add the new target "install-plugins" to nmake makefile
in the plugins subdirectory. This target will copy all plugins to plugins/$(VERSION), thus (t)ethereal will
find and load the plugins when called from within the source tree.
call this target from the main nmake makefile after
installing other dependencies. call it from the nmake makefile
in the doc subdirectory before calling "tethereal -G".
This way "tethereal -G" will recognize the filterable
fields from the plugins, too.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14284 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins/Makefile.nmake')
-rw-r--r-- | plugins/Makefile.nmake | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/Makefile.nmake b/plugins/Makefile.nmake index 105088cc79..0dcfbc900a 100644 --- a/plugins/Makefile.nmake +++ b/plugins/Makefile.nmake @@ -301,3 +301,43 @@ maintainer-clean: distclean cd ../xml $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake maintainer-clean cd .. + +################################################################################ +# copy all plugins to /plugins/$(VERSION), so Ethereal will load them, when +# started from within the source tree. +################################################################################ + +install-plugins: +!IFDEF ENABLE_LIBETHEREAL + rm -rf $(VERSION) + mkdir $(VERSION) + xcopy acn\*.dll $(VERSION) /d /y + xcopy agentx\*.dll $(VERSION) /d /y + xcopy artnet\*.dll $(VERSION) /d /y + xcopy asn1\*.dll $(VERSION) /d /y + xcopy ciscosm\*.dll $(VERSION) /d /y + xcopy docsis\*.dll $(VERSION) /d /y + xcopy enttec\*.dll $(VERSION) /d /y + xcopy giop\*.dll $(VERSION) /d /y + xcopy gryphon\*.dll $(VERSION) /d /y + xcopy irda\*.dll $(VERSION) /d /y + xcopy lwres\*.dll $(VERSION) /d /y + xcopy mate\*.dll $(VERSION) /d /y + xcopy megaco\*.dll $(VERSION) /d /y + xcopy mgcp\*.dll $(VERSION) /d /y + xcopy opsi\*.dll $(VERSION) /d /y + xcopy pcli\*.dll $(VERSION) /d /y + xcopy profinet\*.dll $(VERSION) /d /y + xcopy rdm\*.dll $(VERSION) /d /y + xcopy rlm\*.dll $(VERSION) /d /y + xcopy rtnet\*.dll $(VERSION) /d /y + xcopy rudp\*.dll $(VERSION) /d /y + xcopy stats_tree\*.dll $(VERSION) /d /y + xcopy v5ua\*.dll $(VERSION) /d /y + xcopy xml\*.dll $(VERSION) /d /y +!ENDIF + +clean_deps: + rm -rf $(VERSION) + + |