2001-04-04 04:50:05 +00:00
|
|
|
#
|
2004-03-25 11:21:07 +00:00
|
|
|
# $Id: Makefile.nmake,v 1.39 2004/03/25 11:21:06 guy Exp $
|
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
|
|
|
|
|
2004-02-18 20:45:54 +00:00
|
|
|
!IFDEF GTK1_ONLY
|
|
|
|
# define installer name and undefine GTK2_DIR to get a seperate
|
|
|
|
# installer for ethereal GTK1 version
|
|
|
|
DEST=ethereal-gtk1
|
|
|
|
!IFDEF GTK2_DIR
|
|
|
|
!UNDEF GTK2_DIR
|
|
|
|
!ENDIF
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
|
|
|
|
!IFDEF GTK2_ONLY
|
|
|
|
# define installer name and undefine GTK1_DIR to get a seperate
|
|
|
|
# installer for ethereal GTK2 version
|
2004-02-06 18:47:45 +00:00
|
|
|
DEST=ethereal-gtk2
|
2004-02-18 20:45:54 +00:00
|
|
|
!IFDEF GTK1_DIR
|
|
|
|
!UNDEF GTK1_DIR
|
|
|
|
!ENDIF
|
|
|
|
!ENDIF
|
|
|
|
|
|
|
|
!IFNDEF DEST
|
|
|
|
# define installer name for combined GTK1 and GTK2 installer package
|
|
|
|
DEST=ethereal
|
2004-02-03 20:03:40 +00:00
|
|
|
!ENDIF
|
|
|
|
|
2004-02-18 20:45:54 +00:00
|
|
|
EXE=../../tethereal.exe ../../editcap.exe \
|
|
|
|
!IFDEF GTK1_DIR
|
|
|
|
../../ethereal.exe \
|
|
|
|
!ENDIF
|
|
|
|
!IFDEF GTK2_DIR
|
|
|
|
../../ethereal-gtk2.exe \
|
|
|
|
!ENDIF
|
2001-07-12 22:45:23 +00:00
|
|
|
../../text2pcap.exe ../../mergecap.exe
|
2001-04-04 04:50:05 +00:00
|
|
|
DLL=../../wiretap/wiretap-$(WTAP_VERSION).dll
|
|
|
|
DOC=../../doc/ethereal.html \
|
|
|
|
../../doc/tethereal.html \
|
2003-10-02 22:28:04 +00:00
|
|
|
../../doc/ethereal-filter.html \
|
2001-04-04 04:50:05 +00:00
|
|
|
../../doc/editcap.html \
|
2001-05-22 16:19:45 +00:00
|
|
|
../../doc/text2pcap.html \
|
2001-07-12 22:45:23 +00:00
|
|
|
../../doc/mergecap.html \
|
2002-08-20 00:59:42 +00:00
|
|
|
../../FAQ \
|
2001-04-04 04:50:05 +00:00
|
|
|
../../README \
|
|
|
|
../../README.win32
|
2004-01-05 21:47:44 +00:00
|
|
|
GPL=../../COPYING
|
|
|
|
HELP=../../help/toc \
|
|
|
|
../../help/overview.txt \
|
|
|
|
../../help/capture_filters.txt \
|
|
|
|
../../help/display_filters.txt \
|
|
|
|
../../help/well_known.txt \
|
|
|
|
../../help/faq.txt
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2003-10-27 22:29:52 +00:00
|
|
|
PLUGINS=../../plugins/acn/acn.dll \
|
2003-10-14 01:18:11 +00:00
|
|
|
../../plugins/artnet/artnet.dll \
|
2003-10-28 07:02:38 +00:00
|
|
|
../../plugins/asn1/asn1.dll \
|
2004-03-25 11:21:07 +00:00
|
|
|
../../plugins/ciscosm/ciscosm.dll \
|
2003-04-21 21:28:39 +00:00
|
|
|
../../plugins/docsis/docsis.dll \
|
2003-11-17 20:57:14 +00:00
|
|
|
../../plugins/enttec/enttec.dll \
|
2002-07-12 22:52:43 +00:00
|
|
|
../../plugins/giop/coseventcomm.dll \
|
|
|
|
../../plugins/giop/cosnaming.dll \
|
|
|
|
../../plugins/gryphon/gryphon.dll \
|
2003-12-18 19:07:14 +00:00
|
|
|
../../plugins/irda/irda.dll \
|
2003-08-05 05:09:37 +00:00
|
|
|
../../plugins/lwres/lwres.dll \
|
2003-01-28 22:18:06 +00:00
|
|
|
../../plugins/megaco/megaco.dll \
|
|
|
|
../../plugins/mgcp/mgcp.dll \
|
2003-06-11 09:17:03 +00:00
|
|
|
../../plugins/pcli/pcli.dll \
|
2003-11-17 20:57:14 +00:00
|
|
|
../../plugins/rdm/rdm.dll \
|
2004-03-25 11:21:07 +00:00
|
|
|
../../plugins/rlm/rlm.dll \
|
2003-12-17 05:16:21 +00:00
|
|
|
../../plugins/rtnet/rtnet.dll \
|
2004-03-25 11:21:07 +00:00
|
|
|
../../plugins/rudp/rudp.dll \
|
2003-12-17 05:16:21 +00:00
|
|
|
../../plugins/v5ua/v5ua.dll
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2004-01-05 21:47:44 +00:00
|
|
|
DELIVERABLES=$(EXE) $(DLL) $(DOC) $(GPL) $(HELP) $(PLUGINS)
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2004-01-26 21:12:41 +00:00
|
|
|
|
2004-02-18 20:45:54 +00:00
|
|
|
|
2004-01-26 21:12:41 +00:00
|
|
|
$(DEST)-setup-$(VERSION).exe : ethereal.nsi $(DELIVERABLES) Makefile.nmake
|
2003-07-22 22:00:38 +00:00
|
|
|
$(MAKENSIS) \
|
2004-02-18 20:45:54 +00:00
|
|
|
/DDEST=$(DEST) \
|
2003-12-26 12:27:47 +00:00
|
|
|
!IF "$(MAKENSIS_MODERN_UI)" != ""
|
|
|
|
/DMAKENSIS_MODERN_UI=$(MAKENSIS_MODERN_UI) \
|
|
|
|
!ENDIF
|
2004-02-18 20:45:54 +00:00
|
|
|
!IFDEF GTK1_DIR
|
2004-02-06 18:47:45 +00:00
|
|
|
/DGTK1_DIR=$(GTK1_DIR) \
|
2004-02-18 20:45:54 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF GTK2_DIR
|
2004-02-06 18:47:45 +00:00
|
|
|
/DGTK2_DIR=$(GTK2_DIR) \
|
2004-02-24 18:51:40 +00:00
|
|
|
!ENDIF
|
|
|
|
!IFDEF GTK_WIMP_DIR
|
|
|
|
/DGTK_WIMP_DIR=$(GTK_WIMP_DIR) \
|
2004-02-18 20:45:54 +00:00
|
|
|
!ENDIF
|
2003-12-22 21:41:40 +00:00
|
|
|
/DGLIB_DIR=$(GLIB_DIR) \
|
|
|
|
/DICONV_DIR=$(ICONV_DIR) \
|
|
|
|
/DGETTEXT_DIR=$(GETTEXT_DIR) \
|
|
|
|
/DVERSION=$(VERSION) \
|
|
|
|
/DWTAP_VERSION=$(WTAP_VERSION) \
|
|
|
|
/DNET_SNMP_DIR=$(NET_SNMP_DIR) \
|
|
|
|
!IF "$(ADNS_DIR)" != ""
|
|
|
|
/DADNS_DIR=$(ADNS_DIR) \
|
|
|
|
!ENDIF
|
|
|
|
!IF "$(PCRE_DIR)" != ""
|
|
|
|
/DPCRE_DIR=$(PCRE_DIR) \
|
|
|
|
!ENDIF
|
|
|
|
!IF "$(ZLIB_DIR)" != ""
|
|
|
|
/DZLIB_DIR=$(ZLIB_DIR) \
|
2003-07-22 22:00:38 +00:00
|
|
|
!ENDIF
|
2003-12-22 21:41:40 +00:00
|
|
|
ethereal.nsi
|
2001-04-12 18:07:22 +00:00
|
|
|
|
|
|
|
clean:
|
2002-08-19 15:48:28 +00:00
|
|
|
rm -f ethereal-setup-$(VERSION).exe
|
2004-02-18 20:45:54 +00:00
|
|
|
rm -f ethereal-gtk1-setup-$(VERSION).exe
|
2004-02-06 18:47:45 +00:00
|
|
|
rm -f ethereal-gtk2-setup-$(VERSION).exe
|
2002-01-04 21:20:20 +00:00
|
|
|
|
2003-10-10 21:31:53 +00:00
|
|
|
distclean: clean
|
|
|
|
|
2002-01-04 21:20:20 +00:00
|
|
|
$(DOC):
|
|
|
|
cd ../../doc
|
|
|
|
$(MAKE) -f makefile.nmake
|
|
|
|
cd ../packaging/nsis
|
|
|
|
|
|
|
|
$(EXE) $(DLL):
|
|
|
|
cd ../..
|
|
|
|
$(MAKE) -f makefile.nmake
|
|
|
|
cd packaging/nsis
|