5 include ..\config.nmake
7 ## To add a plugin: Add entry to PLUGIN_LIST
27 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET= process-plugins
30 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=clean process-plugins
32 distclean: distclean-local
33 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=distclean process-plugins
35 maintainer-clean: maintainer-clean-local
36 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=maintainer-clean process-plugins
42 distclean-local: clean-local
44 maintainer-clean-local: distclean-local
47 $(MAKE) -f Makefile.nmake PLUGIN_TARGET=checkapi process-plugins
51 process-plugins : $(PLUGIN_LIST) custom
53 $(PLUGIN_LIST) : _FORCE_ # _FORCE_ req'd since each target actually exists
55 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
59 if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake $(PLUGIN_TARGET)
62 ################################################################################
63 # copy all plugins to $(INSTALL_DIR)/plugins/$(VERSION), so Wireshark will load them, when
64 # started from $(INSTALL_DIR).
65 ################################################################################
68 !IFDEF ENABLE_LIBWIRESHARK
70 @for %f in ( $(PLUGIN_LIST) ) do xcopy plugins\%f\*.dll $(INSTALL_DIR)\plugins\$(VERSION)\ /d
72 if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake install-plugins
76 _FORCE_: ## Assumption: no file named _FORCE_ exists in the current directory