From Anand V. Narwani:
[obnox/wireshark/wip.git] / packaging / nsis / Makefile.nmake
1 #
2 # $Id: Makefile.nmake,v 1.12 2002/07/12 22:52:38 guy Exp $
3 #
4 # NSIS is a free packager/installer/uninstaller program for Win32.
5 # It was originally written for the Winamp package, but various
6 # freeware and non-freeware packages are using it, too.
7 #
8 # http://www.nullsoft.com/free/nsis/
9
10 include ../../config.nmake
11
12 EXE=../../ethereal.exe ../../tethereal.exe ../../editcap.exe \
13         ../../text2pcap.exe ../../mergecap.exe
14 DLL=../../wiretap/wiretap-$(WTAP_VERSION).dll
15 DOC=../../doc/ethereal.html             \
16         ../../doc/tethereal.html        \
17         ../../doc/editcap.html          \
18         ../../doc/text2pcap.html        \
19         ../../doc/mergecap.html         \
20         ../../README                    \
21         ../../README.win32
22 GPL=GPL.txt
23
24 PLUGINS=../../plugins/docsis/docsis.dll \
25         ../../plugins/giop/coseventcomm.dll \
26         ../../plugins/giop/cosnaming.dll \
27         ../../plugins/gryphon/gryphon.dll \
28         ../../plugins/mgcp/mgcp.dll
29
30 DELIVERABLES=$(EXE) $(DLL) $(DOC) $(GPL) $(PLUGINS) 
31
32 ethereal-setup-$(VERSION).exe : ethereal.nsi $(DELIVERABLES)
33         $(MAKENSIS) ethereal.nsi
34
35 ethereal.nsi : ethereal.nsi.in
36         sed -e s/@VERSION@/$(VERSION)/ \
37                 -e s/@WTAP_VERSION@/$(WTAP_VERSION)/ \
38                 < ethereal.nsi.in > ethereal.nsi
39
40 clean:
41         rm -f ethereal.nsi ethereal-setup-$(VERSION).exe
42
43 $(DOC):
44         cd ../../doc
45         $(MAKE) -f makefile.nmake
46         cd ../packaging/nsis
47
48 $(EXE) $(DLL):
49         cd ../..
50         $(MAKE) -f makefile.nmake
51         cd packaging/nsis
52