2000-04-12 21:52:11 +00:00
|
|
|
#
|
2004-07-18 00:24:25 +00:00
|
|
|
# $Id$
|
2000-04-12 21:52:11 +00:00
|
|
|
#
|
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
include ..\config.nmake
|
|
|
|
|
2010-04-19 14:38:20 +00:00
|
|
|
## To add a plugin: Add entry to PLUGIN_LIST
|
|
|
|
|
|
|
|
PLUGIN_LIST = \
|
|
|
|
asn1 \
|
|
|
|
docsis \
|
|
|
|
ethercat \
|
|
|
|
gryphon \
|
|
|
|
irda \
|
|
|
|
m2m \
|
|
|
|
mate \
|
|
|
|
opcua \
|
|
|
|
profinet \
|
|
|
|
stats_tree \
|
|
|
|
unistim \
|
|
|
|
wimax \
|
2012-07-20 01:21:27 +00:00
|
|
|
wimaxasncp \
|
|
|
|
wimaxmacphy
|
2010-04-19 14:38:20 +00:00
|
|
|
|
2005-05-02 10:47:12 +00:00
|
|
|
|
2008-05-27 02:14:14 +00:00
|
|
|
all:
|
2007-12-05 19:43:50 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET= process-plugins
|
2005-01-12 21:38:09 +00:00
|
|
|
|
2007-12-05 19:43:50 +00:00
|
|
|
clean: clean-local
|
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=clean process-plugins
|
2007-08-20 20:50:29 +00:00
|
|
|
|
2007-12-05 19:43:50 +00:00
|
|
|
distclean: distclean-local
|
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=distclean process-plugins
|
2003-12-17 18:05:27 +00:00
|
|
|
|
2007-12-05 19:43:50 +00:00
|
|
|
maintainer-clean: maintainer-clean-local
|
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake PLUGIN_TARGET=maintainer-clean process-plugins
|
2007-05-25 23:40:42 +00:00
|
|
|
|
2007-09-06 10:14:49 +00:00
|
|
|
|
2007-10-15 16:44:31 +00:00
|
|
|
clean-local:
|
2005-05-31 20:42:15 +00:00
|
|
|
rm -rf $(VERSION)
|
2007-10-15 16:44:31 +00:00
|
|
|
|
|
|
|
distclean-local: clean-local
|
|
|
|
|
|
|
|
maintainer-clean-local: distclean-local
|
|
|
|
|
2010-06-04 18:45:02 +00:00
|
|
|
checkapi:
|
|
|
|
$(MAKE) -f Makefile.nmake PLUGIN_TARGET=checkapi process-plugins
|
2008-05-05 16:55:19 +00:00
|
|
|
|
2010-04-19 14:38:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
process-plugins : $(PLUGIN_LIST) custom
|
|
|
|
|
|
|
|
$(PLUGIN_LIST) : _FORCE_ # _FORCE_ req'd since each target actually exists
|
|
|
|
cd $@
|
2007-12-05 19:43:50 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake $(PLUGIN_TARGET)
|
2007-09-06 10:14:49 +00:00
|
|
|
cd ..
|
2010-04-19 14:38:20 +00:00
|
|
|
|
|
|
|
custom :
|
2007-12-05 19:43:50 +00:00
|
|
|
if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake $(PLUGIN_TARGET)
|
2005-05-03 01:03:33 +00:00
|
|
|
|
2010-04-19 14:38:20 +00:00
|
|
|
|
2005-05-03 01:03:33 +00:00
|
|
|
################################################################################
|
2008-12-29 12:37:15 +00:00
|
|
|
# copy all plugins to $(INSTALL_DIR)/plugins/$(VERSION), so Wireshark will load them, when
|
|
|
|
# started from $(INSTALL_DIR).
|
2005-05-03 01:03:33 +00:00
|
|
|
################################################################################
|
|
|
|
|
|
|
|
install-plugins:
|
2006-05-31 00:23:01 +00:00
|
|
|
!IFDEF ENABLE_LIBWIRESHARK
|
2010-04-19 14:38:20 +00:00
|
|
|
cd ..
|
2011-11-18 01:08:20 +00:00
|
|
|
@for %f in ( $(PLUGIN_LIST) ) do xcopy plugins\%f\*.dll $(INSTALL_DIR)\plugins\$(VERSION)\ /d
|
2008-12-29 12:37:15 +00:00
|
|
|
cd plugins
|
2006-09-30 09:45:51 +00:00
|
|
|
if exist Custom.nmake $(MAKE) /$(MAKEFLAGS) -f Custom.nmake install-plugins
|
2005-05-03 01:03:33 +00:00
|
|
|
!ENDIF
|
|
|
|
|
2010-04-19 14:38:20 +00:00
|
|
|
####
|
|
|
|
_FORCE_: ## Assumption: no file named _FORCE_ exists in the current directory
|
|
|
|
|