summaryrefslogtreecommitdiff
path: root/Makefile.nmake
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-09-12 10:07:23 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-09-12 10:07:23 +0000
commit0b30d8900bcc846f1f0488d5294f742444127a87 (patch)
tree22f0f2cc2aae75d909bc0674f9cddaf5c2df31ea /Makefile.nmake
parentec1329976b9c9cb59a5cdea81e6b6fd08143e3fe (diff)
downloadwireshark-0b30d8900bcc846f1f0488d5294f742444127a87.tar.gz
added a clean_setup target, to cleanup the unzipped files
svn path=/trunk/; revision=11977
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/Makefile.nmake b/Makefile.nmake
index 27ba0e7a17..ea0564b2fe 100644
--- a/Makefile.nmake
+++ b/Makefile.nmake
@@ -384,6 +384,8 @@ REQUIRED_TOOLS=\
verify_tools:
@$(SH) tools\win32-setup.sh --appverify $(REQUIRED_TOOLS)
+# Download and install all the required libraries into ETHEREAL_LIBS.
+# If you used this setup target before, consider doing a clean_setup.
setup: verify_tools
!IF "$(GTK2_INST_VERSION)" == "2.4"
@$(SH) tools\win32-setup.sh --download "$(ETHEREAL_LIBS)" \
@@ -465,6 +467,17 @@ setup: verify_tools
@echo.
@echo Ethereal is ready to build.
+# Cleanup files installed by the setup target. It will not remove the
+# downloaded zip files.
+clean_setup:
+ rm -r -f $(ETHEREAL_LIBS)/glib
+ rm -r -f $(ETHEREAL_LIBS)/gtk+
+ rm -r -f $(ETHEREAL_LIBS)/libiconv-1.9.1.bin.woe32
+ rm -r -f $(ETHEREAL_LIBS)/gettext-runtime-0.13.1
+ rm -r -f $(ETHEREAL_LIBS)/zlib121-dll
+ rm -r -f $(ETHEREAL_LIBS)/gtk2
+ rm -r -f $(ETHEREAL_LIBS)/gtk-wimp
+
update_plugin_api: config.h
cd plugins
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake xyzzy