2001-04-04 04:50:05 +00:00
|
|
|
#
|
2001-04-04 20:08:16 +00:00
|
|
|
# NSIS is a free packager/installer/uninstaller program for Win32.
|
|
|
|
# It was originally written for the Winamp package, but various
|
|
|
|
# freeware and non-freeware packages are using it, too.
|
|
|
|
#
|
|
|
|
# http://www.nullsoft.com/free/nsis/
|
2001-04-04 04:50:05 +00:00
|
|
|
|
|
|
|
include ../../config.nmake
|
2010-01-11 14:48:28 +00:00
|
|
|
# Contains a list of custom plugins(default empty)
|
|
|
|
include Custom.nmake
|
|
|
|
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2012-06-13 21:03:54 +00:00
|
|
|
STAGING_DIR=..\..\$(INSTALL_DIR)
|
|
|
|
|
2006-05-31 17:38:42 +00:00
|
|
|
EXE=../../tshark.exe ../../editcap.exe \
|
2008-04-09 03:48:16 +00:00
|
|
|
!IFDEF GTK_DIR
|
2014-08-28 23:48:53 +00:00
|
|
|
../../wireshark-gtk.exe \
|
2004-02-18 20:45:54 +00:00
|
|
|
!ENDIF
|
2013-12-01 10:05:16 +00:00
|
|
|
../../text2pcap.exe ../../mergecap.exe ../../capinfos.exe $(WIRESHARK_LIB_DIR)\WinPcap_$(WINPCAP_VERSION).exe
|
2014-07-10 00:58:30 +00:00
|
|
|
DLL=../../wiretap/wiretap-$(WTAP_VERSION).dll ../../wsutil/libwsutil.dll
|
2010-04-09 21:42:51 +00:00
|
|
|
DOC=../../doc/ws.css \
|
2013-12-01 10:05:16 +00:00
|
|
|
../../doc/capinfos.html \
|
2010-04-09 21:42:51 +00:00
|
|
|
../../doc/dumpcap.html \
|
2013-12-01 10:05:16 +00:00
|
|
|
../../doc/editcap.html \
|
|
|
|
../../doc/mergecap.html \
|
|
|
|
../../doc/rawshark.html \
|
|
|
|
../../doc/text2pcap.html \
|
2010-04-09 21:42:51 +00:00
|
|
|
../../doc/tshark.html \
|
|
|
|
../../doc/wireshark-filter.html \
|
|
|
|
../../doc/wireshark.html \
|
2012-06-13 21:03:54 +00:00
|
|
|
$(STAGING_DIR)/COPYING.txt \
|
|
|
|
$(STAGING_DIR)/NEWS.txt \
|
|
|
|
$(STAGING_DIR)/README.txt \
|
|
|
|
$(STAGING_DIR)/README.windows.txt
|
2010-04-09 21:42:51 +00:00
|
|
|
|
2004-01-05 21:47:44 +00:00
|
|
|
GPL=../../COPYING
|
2012-06-13 21:03:54 +00:00
|
|
|
HELP=$(STAGING_DIR)/help/capture_filters.txt \
|
|
|
|
$(STAGING_DIR)/help/capturing.txt \
|
|
|
|
$(STAGING_DIR)/help/display_filters.txt \
|
|
|
|
$(STAGING_DIR)/help/faq.txt \
|
|
|
|
$(STAGING_DIR)/help/getting_started.txt \
|
|
|
|
$(STAGING_DIR)/help/overview.txt \
|
|
|
|
$(STAGING_DIR)/help/toc
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2006-11-07 00:56:04 +00:00
|
|
|
PLUGINS= \
|
2003-04-21 21:28:39 +00:00
|
|
|
../../plugins/docsis/docsis.dll \
|
2007-10-14 15:45:24 +00:00
|
|
|
../../plugins/ethercat/ethercat.dll \
|
2002-07-12 22:52:43 +00:00
|
|
|
../../plugins/gryphon/gryphon.dll \
|
2003-12-18 19:07:14 +00:00
|
|
|
../../plugins/irda/irda.dll \
|
2007-05-25 23:40:42 +00:00
|
|
|
../../plugins/m2m/m2m.dll \
|
2005-01-21 19:16:05 +00:00
|
|
|
../../plugins/mate/mate.dll \
|
2009-05-28 18:42:40 +00:00
|
|
|
../../plugins/opcua/opcua.dll \
|
|
|
|
../../plugins/profinet/profinet.dll \
|
2005-03-07 22:31:13 +00:00
|
|
|
../../plugins/stats_tree/stats_tree.dll \
|
2007-08-21 17:49:54 +00:00
|
|
|
../../plugins/unistim/unistim.dll \
|
2007-11-19 17:23:30 +00:00
|
|
|
../../plugins/wimax/wimax.dll \
|
2010-01-11 14:48:28 +00:00
|
|
|
../../plugins/wimaxasncp/wimaxasncp.dll \
|
2012-07-20 01:21:27 +00:00
|
|
|
../../plugins/wimaxmacphy/wimaxmacphy.dll \
|
2010-01-11 14:48:28 +00:00
|
|
|
$(CUSTOM_PLUGINS)
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2012-06-13 19:06:27 +00:00
|
|
|
NSI=\
|
|
|
|
wireshark.nsi \
|
|
|
|
uninstall.nsi \
|
|
|
|
common.nsh \
|
2005-07-23 20:34:43 +00:00
|
|
|
GetWindowsVersion.nsh \
|
|
|
|
servicelib.nsh \
|
|
|
|
AdditionalTasksPage.ini \
|
|
|
|
WinPcapPage.ini
|
|
|
|
|
2012-07-27 23:30:44 +00:00
|
|
|
UNINSTALL_INSTALLER = $(STAGING_DIR)\uninstall_installer.exe
|
2012-06-13 19:06:27 +00:00
|
|
|
|
2004-10-16 11:46:17 +00:00
|
|
|
DELIVERABLES=$(EXE) $(DLL) $(DOC) $(DOC_dos) $(GPL) $(HELP) $(PLUGINS)
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2010-01-12 22:27:41 +00:00
|
|
|
!IFDEF MAKENSIS
|
2010-04-09 21:42:51 +00:00
|
|
|
all: wireshark-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe
|
2010-01-12 22:27:41 +00:00
|
|
|
!ELSE
|
|
|
|
all: _FORCE_
|
|
|
|
@echo ? NSIS not available (MAKENSIS not defined in config.nmake)
|
|
|
|
@echo.
|
|
|
|
@exit 1
|
|
|
|
!ENDIF
|
2004-01-26 21:12:41 +00:00
|
|
|
|
2007-01-19 00:10:22 +00:00
|
|
|
# fetch the latest available user-guide.chm version
|
|
|
|
user-guide.chm::
|
|
|
|
if exist ..\..\docbook\user-guide.chm xcopy ..\..\docbook\user-guide.chm . /Y /D
|
2011-07-19 18:22:46 +00:00
|
|
|
if exist $(WIRESHARK_LIB_DIR)\user-guide\user-guide.chm xcopy $(WIRESHARK_LIB_DIR)\user-guide\user-guide.chm . /Y /D
|
2007-01-19 00:10:22 +00:00
|
|
|
|
2015-01-05 20:53:46 +00:00
|
|
|
common.nsh: config.nsh
|
|
|
|
config.nsh: config.nsh.in ..\..\config.nmake
|
|
|
|
sed \
|
|
|
|
-e s/@PROGRAM_NAME@/$(PROGRAM_NAME)/ \
|
|
|
|
-e s/@MAKEDIR@/$(MAKEDIR_ESCAPED:\=\\)/ \
|
|
|
|
-e s/@STAGING_DIR@/$(STAGING_DIR:\=\\)/ \
|
|
|
|
-e s/@WIRESHARK_TARGET_PLATFORM@/$(WIRESHARK_TARGET_PLATFORM)/ \
|
|
|
|
-e s/@TARGET_MACHINE@/$(TARGET_MACHINE)/ \
|
|
|
|
-e s/@MSVC_VARIANT@/$(MSVC_VARIANT)/ \
|
|
|
|
-e s/@MSC_VER_REQUIRED@/$(MSC_VER_REQUIRED)/ \
|
|
|
|
-e s/@WIRESHARK_LIB_DIR@/$(WIRESHARK_LIB_DIR:\=\\)/ \
|
|
|
|
-e s/@WINPCAP_VERSION@/$(WINPCAP_VERSION)/ \
|
|
|
|
-e s/@PCAP_DISPLAY_VERSION@/$(WINPCAP_VERSION:_=.)/ \
|
|
|
|
-e s/@INTL_DLL@/$(INTL_DLL)/ \
|
|
|
|
-e s/@VERSION@/$(VERSION)/ \
|
|
|
|
-e s/@VERSION_MAJOR@/$(VERSION_MAJOR)/ \
|
|
|
|
-e s/@VERSION_MINOR@/$(VERSION_MINOR)/ \
|
|
|
|
-e s/@VERSION_MICRO@/$(VERSION_MICRO)/ \
|
|
|
|
-e s/@VERSION_BUILD@/$(VERSION_BUILD)/ \
|
|
|
|
-e s/@PRODUCT_VERSION@/$(PRODUCT_VERSION)/ \
|
|
|
|
-e s/@WTAP_VERSION@/$(WTAP_VERSION)/ \
|
|
|
|
-e s/@MSVCR_DLL@/$(MSVCR_DLL:\=\\)/ \
|
|
|
|
-e s/@VCREDIST_EXE@/$(VCREDIST_EXE:\=\\)/ \
|
|
|
|
-e s/@ENABLE_LIBWIRESHARK@/$(ENABLE_LIBWIRESHARK)/ \
|
2008-04-09 03:48:16 +00:00
|
|
|
!IFDEF GTK_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@GTK_DIR@/$(GTK_DIR:\=\\)/ \
|
|
|
|
-e s/@GTK_LIB_DIR@/$(GTK_LIB_DIR:\=\\)/ \
|
|
|
|
-e s/@PANGO_LIB_DIR@/$(PANGO_LIB_DIR:\=\\)/ \
|
|
|
|
-e s/@GDK_DLL@/$(GDK_DLL)/ \
|
|
|
|
-e s/@GTK_DLL@/$(GTK_DLL)/ \
|
|
|
|
-e s/@GTK_NAME@/$(GTK_NAME)/ \
|
|
|
|
-e s/@GTK_ETC_DIR@/$(GTK_ETC_DIR:\=\\)/ \
|
2012-10-19 17:47:34 +00:00
|
|
|
!IFDEF GTK_ENGINES_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@GTK_ENGINES_DIR@/$(GTK_ENGINES_DIR:\=\\)/ \
|
2012-10-19 17:47:34 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF GTK_MODULES_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@GTK_MODULES_DIR@/$(GTK_MODULES_DIR:\=\\)/ \
|
2012-10-19 17:47:34 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF GTK_SCHEMAS_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@GTK_SCHEMAS_DIR@/$(GTK_SCHEMAS_DIR:\=\\)/ \
|
2012-10-19 17:47:34 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF NEED_CAIRO_GOBJECT_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_CAIRO_GOBJECT_DLL@/$(NEED_CAIRO_GOBJECT_DLL)/ \
|
2012-10-19 17:47:34 +00:00
|
|
|
!ENDIF
|
2012-05-14 17:54:47 +00:00
|
|
|
!IFDEF NEED_CAIRO_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_CAIRO_DLL@/$(NEED_CAIRO_DLL)/ \
|
2012-05-14 17:54:47 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF NEED_EXPAT_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_EXPAT_DLL@/$(NEED_EXPAT_DLL)/ \
|
|
|
|
-e s/@EXPAT_DLL@/$(EXPAT_DLL)/ \
|
2007-09-25 16:09:58 +00:00
|
|
|
!ENDIF
|
2012-05-14 17:54:47 +00:00
|
|
|
!IFDEF NEED_FFI_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_FFI_DLL@/$(NEED_FFI_DLL)/ \
|
|
|
|
-e s/@FFI_DLL@/$(FFI_DLL)/ \
|
2012-04-19 18:31:11 +00:00
|
|
|
!ENDIF
|
2012-05-14 17:54:47 +00:00
|
|
|
!IFDEF NEED_FONTCONFIG_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_FONTCONFIG_DLL@/$(NEED_FONTCONFIG_DLL)/ \
|
|
|
|
-e s/@FONTCONFIG_DLL@/$(FONTCONFIG_DLL)/ \
|
2007-09-25 16:09:58 +00:00
|
|
|
!ENDIF
|
2009-09-16 13:34:37 +00:00
|
|
|
!IFDEF NEED_FREETYPE_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_FREETYPE_DLL@/$(NEED_FREETYPE_DLL)/ \
|
|
|
|
-e s/@FREETYPE_DLL@/$(FREETYPE_DLL)/ \
|
2009-09-16 13:34:37 +00:00
|
|
|
!ENDIF
|
2014-05-16 16:21:57 +00:00
|
|
|
!IFDEF NEED_HARFBUZZ_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_HARFBUZZ_DLL@/$(NEED_HARFBUZZ_DLL)/ \
|
|
|
|
-e s/@HARFBUZZ_DLL@/$(HARFBUZZ_DLL)/ \
|
2014-05-16 16:21:57 +00:00
|
|
|
!ENDIF
|
2012-05-14 17:54:47 +00:00
|
|
|
!IFDEF NEED_JASPER_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_JASPER_DLL@/$(NEED_JASPER_DLL)/ \
|
|
|
|
-e s/@JASPER_DLL@/$(JASPER_DLL)/ \
|
2012-04-19 18:31:11 +00:00
|
|
|
!ENDIF
|
2012-05-14 17:54:47 +00:00
|
|
|
!IFDEF NEED_JPEG_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_JPEG_DLL@/$(NEED_JPEG_DLL)/ \
|
|
|
|
-e s/@JPEG_DLL@/$(JPEG_DLL)/ \
|
2012-04-19 18:31:11 +00:00
|
|
|
!ENDIF
|
2012-05-14 17:54:47 +00:00
|
|
|
!IFDEF NEED_LZMA_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_LZMA_DLL@/$(NEED_LZMA_DLL)/ \
|
|
|
|
-e s/@LZMA_DLL@/$(LZMA_DLL)/ \
|
2012-05-14 17:54:47 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF NEED_PIXMAN_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_PIXMAN_DLL@/$(NEED_PIXMAN_DLL)/ \
|
|
|
|
-e s/@PIXMAN_DLL@/$(PIXMAN_DLL)/ \
|
2012-05-14 17:54:47 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF NEED_PNG_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_PNG_DLL@/$(NEED_PNG_DLL)/ \
|
|
|
|
-e s/@PNG_DLL@/$(PNG_DLL)/ \
|
2012-05-14 17:54:47 +00:00
|
|
|
!ENDIF
|
2014-05-16 16:21:57 +00:00
|
|
|
!IFDEF NEED_SEH_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_SEH_DLL@/$(NEED_SEH_DLL)/ \
|
|
|
|
-e s/@SEH_DLL@/$(SEH_DLL)/ \
|
2014-05-16 16:21:57 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF NEED_SJLJ_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_SJLJ_DLL@/$(NEED_SJLJ_DLL)/ \
|
|
|
|
-e s/@SJLJ_DLL@/$(SJLJ_DLL)/ \
|
2014-05-16 16:21:57 +00:00
|
|
|
!ENDIF
|
2012-05-14 17:54:47 +00:00
|
|
|
!IFDEF NEED_TIFF_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_TIFF_DLL@/$(NEED_TIFF_DLL)/ \
|
|
|
|
-e s/@TIFF_DLL@/$(TIFF_DLL)/ \
|
2012-05-14 17:54:47 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF NEED_XML_DLL
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@NEED_XML_DLL@/$(NEED_XML_DLL)/ \
|
|
|
|
-e s/@XML_DLL@/$(XML_DLL)/ \
|
|
|
|
!ENDIF
|
|
|
|
!ENDIF
|
2008-08-07 21:41:48 +00:00
|
|
|
!IF "$(C_ARES_DIR)" != ""
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@C_ARES_DIR@/$(C_ARES_DIR:\=\\)/ \
|
2008-08-07 21:41:48 +00:00
|
|
|
!ENDIF
|
2003-12-22 21:41:40 +00:00
|
|
|
!IF "$(ADNS_DIR)" != ""
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@ADNS_DIR@/$(ADNS_DIR:\=\\)/ \
|
2003-12-22 21:41:40 +00:00
|
|
|
!ENDIF
|
2006-08-05 05:12:09 +00:00
|
|
|
!IF "$(KFW_DIR)" != ""
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@KFW_DIR@/$(KFW_DIR:\=\\)/ \
|
|
|
|
-e s/@KFW_PATH@/$(KFW_PATH:\=\\)/ \
|
|
|
|
-e s/@COMERR_DLL@/$(COMERR_DLL:\=\\)/ \
|
|
|
|
-e s/@KRB5_DLL@/$(KRB5_DLL:\=\\)/ \
|
|
|
|
-e s/@K5SPRT_DLL@/$(K5SPRT_DLL:\=\\)/ \
|
2006-08-05 05:12:09 +00:00
|
|
|
!ENDIF
|
2006-08-07 19:52:18 +00:00
|
|
|
!IF "$(GNUTLS_DIR)" != ""
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@GPGERROR_DLL@/$(GPGERROR_DLL)/ \
|
|
|
|
-e s/@GCC_DLL@/$(GCC_DLL)/ \
|
|
|
|
-e s/@GNUTLS_DIR@/$(GNUTLS_DIR:\=\\)/ \
|
2006-08-07 19:52:18 +00:00
|
|
|
!ENDIF
|
2003-12-22 21:41:40 +00:00
|
|
|
!IF "$(ZLIB_DIR)" != ""
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@ZLIB_DIR@/$(ZLIB_DIR:\=\\)/ \
|
2006-02-07 09:12:43 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF LUA_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@LUA_DIR@/$(LUA_DIR:\=\\)/ \
|
2006-04-20 20:33:04 +00:00
|
|
|
!ENDIF
|
2007-08-27 06:28:20 +00:00
|
|
|
!IFDEF SMI_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@SMI_DIR@/$(SMI_DIR:\=\\)/ \
|
2007-08-27 06:28:20 +00:00
|
|
|
!ENDIF
|
2012-05-29 23:31:00 +00:00
|
|
|
!IFDEF GEOIP_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@GEOIP_DIR@/$(GEOIP_DIR:\=\\)/ \
|
2012-05-29 23:31:00 +00:00
|
|
|
!ENDIF
|
2013-02-19 22:21:17 +00:00
|
|
|
!IFDEF WINSPARKLE_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@WINSPARKLE_DIR@/$(WINSPARKLE_DIR:\=\\)/ \
|
2013-02-19 22:21:17 +00:00
|
|
|
!ENDIF
|
2006-04-20 20:33:04 +00:00
|
|
|
!IFDEF HHC_DIR
|
2015-01-05 20:53:46 +00:00
|
|
|
-e 's/@HHC_DIR@/$(HHC_DIR:\=\\\\\\)/' \
|
2012-10-11 20:45:35 +00:00
|
|
|
!ENDIF
|
2014-08-28 23:48:53 +00:00
|
|
|
!IF EXIST("..\..\wireshark-qt-release\wireshark.exe")
|
2015-01-05 20:53:46 +00:00
|
|
|
-e s/@QT_DIR@/..\\..\\wireshark-qt-release/ \
|
2003-07-22 22:00:38 +00:00
|
|
|
!ENDIF
|
2015-01-05 20:53:46 +00:00
|
|
|
-e 's/\(^^!define .* \)@.*@$$/; \1/' \
|
|
|
|
< config.nsh.in > $@
|
2014-07-29 22:51:57 +00:00
|
|
|
|
2015-01-05 20:53:46 +00:00
|
|
|
wireshark.nsi: qt-dll-manifest.nsh common.nsh
|
2014-08-08 00:30:45 +00:00
|
|
|
qt-dll-manifest.nsh: windeployqt-to-nsis.ps1 Makefile.nmake
|
2014-08-14 16:52:09 +00:00
|
|
|
!IF EXIST("$(QT5_BASE_DIR)\bin\qmake.exe")
|
2014-08-05 15:23:41 +00:00
|
|
|
set PATH=%PATH%;$(QT5_BASE_DIR)\bin
|
2013-08-30 00:43:51 +00:00
|
|
|
!ENDIF
|
2014-08-14 16:52:09 +00:00
|
|
|
$(POWERSHELL) windeployqt-to-nsis.ps1 \
|
2014-08-28 23:48:53 +00:00
|
|
|
-Executable ..\..\wireshark-qt-release\wireshark.exe \
|
2014-08-14 16:52:09 +00:00
|
|
|
-FilePath $@
|
2012-06-13 19:06:27 +00:00
|
|
|
|
2012-07-24 23:59:42 +00:00
|
|
|
$(STAGING_DIR)\uninstall.exe : $(NSI)
|
2012-06-13 19:06:27 +00:00
|
|
|
rm -f $(UNINSTALL_INSTALLER)
|
2015-01-05 20:53:46 +00:00
|
|
|
$(MAKENSIS) uninstall.nsi
|
2012-06-13 19:06:27 +00:00
|
|
|
$(UNINSTALL_INSTALLER)
|
2012-07-24 16:30:03 +00:00
|
|
|
rm -f $(UNINSTALL_INSTALLER)
|
2012-06-13 19:06:27 +00:00
|
|
|
|
2012-07-24 23:59:42 +00:00
|
|
|
uninstall-exe : $(STAGING_DIR)\uninstall.exe
|
2012-06-13 19:06:27 +00:00
|
|
|
|
2012-07-24 23:59:42 +00:00
|
|
|
wireshark-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe : user-guide.chm $(NSI) $(DELIVERABLES) Makefile.nmake $(STAGING_DIR)\uninstall.exe
|
2015-01-05 20:53:46 +00:00
|
|
|
$(MAKENSIS) wireshark.nsi
|
2001-04-12 18:07:22 +00:00
|
|
|
|
|
|
|
clean:
|
2009-03-11 22:16:35 +00:00
|
|
|
rm -f wireshark-$(WIRESHARK_TARGET_PLATFORM)-$(VERSION).exe
|
2012-06-13 19:06:27 +00:00
|
|
|
rm -f $(UNINSTALL_INSTALLER)
|
2004-10-16 11:46:17 +00:00
|
|
|
rm -f NEWS.txt
|
2007-01-19 00:10:22 +00:00
|
|
|
rm -f user-guide.chm
|
2014-07-30 16:33:43 +00:00
|
|
|
rm -f qt-dll-manifest.nsh
|
2015-01-05 20:53:46 +00:00
|
|
|
rm -f config.nsh
|
2002-01-04 21:20:20 +00:00
|
|
|
|
2003-10-10 21:31:53 +00:00
|
|
|
distclean: clean
|
2009-03-11 22:16:35 +00:00
|
|
|
rm -f wireshark-$(WIRESHARK_TARGET_PLATFORM)-*.exe
|
2003-10-10 21:31:53 +00:00
|
|
|
|
Make the "maintainer-clean" rules get rid of some additional generated
files. Do this with GENERATED_HEADER_FILES, GENERATED_C_FILES, and
GENERATED_FILES macros in Makefile.common files, along the lines of what
wiretap/Makefile.common has.
Clean up "*~" files with "make clean" rather than only "make distclean"
in some additional places.
Add "maintainer-clean" rules to the Makefile.nmake files, paralelling
the ones in the automake-generated Makefile.in files, using the
GENERATED_FILES macros from Makefile.common files. In some cases, move
the cleanup of files from "make distclean" to "make maintainer-clean",
and in other cases, put in a comment indicating why we're not doing that
(because some files that are distributed in the source tarballs, namely
Flex output, were built with a UN*X Flex and won't compile on Windows,
so we get rid of them with "make distclean" so you can clean up stuff
that *has* to be re-generated for Windows).
Clean up some *CLEANFILES definitions - get rid of ones that no longer
apply as files were moved or that add to the definition a name that's
already there.
svn path=/trunk/; revision=13402
2005-02-14 20:33:57 +00:00
|
|
|
maintainer-clean: distclean
|
|
|
|
|
2002-01-04 21:20:20 +00:00
|
|
|
$(DOC):
|
|
|
|
cd ../../doc
|
2013-06-25 15:32:49 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2002-01-04 21:20:20 +00:00
|
|
|
cd ../packaging/nsis
|
|
|
|
|
|
|
|
$(EXE) $(DLL):
|
|
|
|
cd ../..
|
2013-06-25 15:32:49 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2002-01-04 21:20:20 +00:00
|
|
|
cd packaging/nsis
|
2010-01-12 22:27:41 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
_FORCE_: ## Assumption: no file named _FORCE_ exists in the current directory
|