5 include ..\config.nmake
7 ## To add a plugin: Add entry to PLUGIN_LIST
29 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET= process-plugins
32 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=clean process-plugins
34 distclean: distclean-local
35 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=distclean process-plugins
37 maintainer-clean: maintainer-clean-local
38 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=maintainer-clean process-plugins
44 distclean-local: clean-local
46 maintainer-clean-local: distclean-local
49 $(MAKE) -f Makefile.nmake PLUGIN_TARGET=checkapi process-plugins
53 process-plugins : $(PLUGIN_LIST) custom
55 $(PLUGIN_LIST) : _FORCE_ # _FORCE_ req'd since each target actually exists
57 $(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
61 if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake $(PLUGIN_TARGET)
64 ################################################################################
65 # copy all plugins to $(INSTALL_DIR)/plugins/$(VERSION), so Wireshark will load them, when
66 # started from $(INSTALL_DIR).
67 ################################################################################
70 !IFDEF ENABLE_LIBWIRESHARK
72 @for %f in ( $(PLUGIN_LIST) ) do xcopy plugins\%f\*.dll $(INSTALL_DIR)\plugins\$(VERSION) /d
74 if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake install-plugins
80 _FORCE_: ## Assumption: no file named _FORCE_ exists in the current directory