2001-04-04 04:50:05 +00:00
|
|
|
#
|
2003-08-05 05:09:37 +00:00
|
|
|
# $Id: Makefile.nmake,v 1.20 2003/08/05 05:05:58 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
|
|
|
|
|
2001-05-22 16:19:45 +00:00
|
|
|
EXE=../../ethereal.exe ../../tethereal.exe ../../editcap.exe \
|
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 \
|
|
|
|
../../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
|
|
|
|
GPL=GPL.txt
|
|
|
|
|
2003-04-21 21:28:39 +00:00
|
|
|
PLUGINS=../../plugins/artnet/artnet.dll \
|
|
|
|
../../plugins/docsis/docsis.dll \
|
2002-07-12 22:52:43 +00:00
|
|
|
../../plugins/giop/coseventcomm.dll \
|
|
|
|
../../plugins/giop/cosnaming.dll \
|
|
|
|
../../plugins/gryphon/gryphon.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 \
|
|
|
|
../../plugins/rtnet/rtnet.dll
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2003-07-22 22:00:38 +00:00
|
|
|
DELIVERABLES=$(EXE) $(DLL) $(DOC) $(GPL) $(PLUGINS)
|
2001-04-04 04:50:05 +00:00
|
|
|
|
2002-03-20 19:45:51 +00:00
|
|
|
ethereal-setup-$(VERSION).exe : ethereal.nsi $(DELIVERABLES)
|
2003-07-22 22:00:38 +00:00
|
|
|
$(MAKENSIS) \
|
|
|
|
!IF "$(GTK_VERSION)" == "2.0"
|
|
|
|
/DGTK2 \
|
|
|
|
!ENDIF
|
|
|
|
!IF "$(GLIB_VERSION)" == "2.0"
|
|
|
|
/DGLIB2 \
|
|
|
|
!ENDIF
|
|
|
|
/DVERSION=$(VERSION) /DWTAP_VERSION=$(WTAP_VERSION) /DCOMMON_FILES_GNU=$(COMMON_FILES_GNU) /DNET_SNMP_DIR=$(NET_SNMP_DIR) 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
|
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
|
|
|
|
|