5 include ..\config.nmake
7 ## To add a plugin: Add entry to PLUGIN_LIST
26 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET= process-plugins
29 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=clean process-plugins
31 distclean: distclean-local
32 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=distclean process-plugins
34 maintainer-clean: maintainer-clean-local
35 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=maintainer-clean process-plugins
41 distclean-local: clean-local
43 maintainer-clean-local: distclean-local
46 $(MAKE) -f Makefile.nmake PLUGIN_TARGET=checkapi process-plugins
50 process-plugins : $(PLUGIN_LIST) custom
52 $(PLUGIN_LIST) : _FORCE_ # _FORCE_ req'd since each target actually exists
54 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
58 if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake $(PLUGIN_TARGET)
61 ################################################################################
62 # copy all plugins to $(INSTALL_DIR)/plugins/$(VERSION), so Wireshark will load them, when
63 # started from $(INSTALL_DIR).
64 ################################################################################
67 !IFDEF ENABLE_LIBWIRESHARK
69 @for %f in ( $(PLUGIN_LIST) ) do xcopy plugins\%f\*.dll $(INSTALL_DIR)\plugins\$(VERSION)\ /d
71 if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake install-plugins
75 _FORCE_: ## Assumption: no file named _FORCE_ exists in the current directory