aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake
diff options
context:
space:
mode:
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