aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/nsis/Makefile.nmake
blob: 5df525d56fa63cd265d1487cf688c4eda2d564ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
#
# $Id: Makefile.nmake,v 1.23 2003/10/14 01:18:09 guy Exp $
#
# 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/

include ../../config.nmake

EXE=../../ethereal.exe ../../tethereal.exe ../../editcap.exe \
	../../text2pcap.exe ../../mergecap.exe
DLL=../../wiretap/wiretap-$(WTAP_VERSION).dll
DOC=../../doc/ethereal.html		\
	../../doc/tethereal.html	\
	../../doc/ethereal-filter.html	\
	../../doc/editcap.html 		\
	../../doc/text2pcap.html 	\
	../../doc/mergecap.html 	\
	../../FAQ			\
	../../README			\
	../../README.win32
GPL=GPL.txt

PLUGINS=../../plugins/artnet/acn.dll \
	../../plugins/artnet/artnet.dll \
	../../plugins/docsis/docsis.dll \
	../../plugins/giop/coseventcomm.dll \
	../../plugins/giop/cosnaming.dll \
	../../plugins/gryphon/gryphon.dll \
	../../plugins/lwres/lwres.dll \
	../../plugins/megaco/megaco.dll \
	../../plugins/mgcp/mgcp.dll \
	../../plugins/pcli/pcli.dll \
	../../plugins/rtnet/rtnet.dll

DELIVERABLES=$(EXE) $(DLL) $(DOC) $(GPL) $(PLUGINS)

ethereal-setup-$(VERSION).exe : ethereal.nsi $(DELIVERABLES)
	$(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

clean:
	rm -f ethereal-setup-$(VERSION).exe

distclean: clean

$(DOC):
	cd ../../doc
	$(MAKE) -f makefile.nmake
	cd ../packaging/nsis

$(EXE) $(DLL):
	cd ../..
	$(MAKE) -f makefile.nmake
	cd packaging/nsis