~ubuntu-branches/ubuntu/gutsy/wireshark/gutsy-security

« back to all changes in this revision

Viewing changes to packaging/nsis/Makefile.nmake

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2007-04-01 08:58:40 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20070401085840-or3qhrpv8alt1bwg
Tags: 0.99.5-1
* New upstream release.
* debian/patches/09_idl2wrs.dpatch: updated to patch idl2wrs.sh.in.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#
2
 
# $Id: Makefile.nmake 19642 2006-10-20 20:06:44Z ulfl $
 
2
# $Id: Makefile.nmake 20626 2007-01-30 17:51:30Z gerald $
3
3
#
4
4
# NSIS is a free packager/installer/uninstaller program for Win32.
5
5
# It was originally written for the Winamp package, but various
42
42
!IFDEF GTK2_DIR
43
43
        ../../wireshark-gtk2.exe \
44
44
!ENDIF
45
 
        ../../text2pcap.exe ../../mergecap.exe ../../capinfos.exe WinPcap_3_1.exe
 
45
        ../../text2pcap.exe ../../mergecap.exe ../../capinfos.exe WinPcap_4_0.exe
46
46
DLL=../../wiretap/wiretap-$(WTAP_VERSION).dll
47
47
DOC=../../doc/wireshark.html            \
48
48
        ../../doc/tshark.html   \
62
62
        ../../help/display_filters.txt \
63
63
        ../../help/faq.txt
64
64
 
65
 
PLUGINS=../../plugins/acn/acn.dll \
 
65
PLUGINS= \
66
66
        ../../plugins/agentx/agentx.dll \
67
67
        ../../plugins/artnet/artnet.dll \
68
68
        ../../plugins/asn1/asn1.dll \
102
102
NEWS.txt: ../../NEWS
103
103
        $(UNIX2DOS) < ../../NEWS > NEWS.txt
104
104
 
105
 
$(DEST)-setup-$(VERSION).exe : $(NSI) $(DELIVERABLES) Makefile.nmake
 
105
# fetch the latest available user-guide.chm version
 
106
user-guide.chm::
 
107
        if exist ..\..\docbook\user-guide.chm xcopy ..\..\docbook\user-guide.chm . /Y /D
 
108
        if exist $(WIRESHARK_LIBS)\user-guide\user-guide.chm xcopy $(WIRESHARK_LIBS)\user-guide\user-guide.chm . /Y /D
 
109
 
 
110
$(DEST)-setup-$(VERSION).exe : user-guide.chm $(NSI) $(DELIVERABLES) Makefile.nmake
106
111
        $(MAKENSIS) \
107
112
        /DDEST=$(DEST) \
 
113
        /DMSVC_VARIANT=$(MSVC_VARIANT) \
 
114
!IFDEF MSVCR_DLL
 
115
        /DMSVCR_DLL="$(MSVCR_DLL)" \
 
116
!ENDIF
 
117
!IFDEF VCREDIST_EXE
 
118
        /DVCREDIST_EXE="$(VCREDIST_EXE)" \
 
119
!ENDIF
108
120
!IF "$(ENABLE_LIBWIRESHARK)" != ""
109
121
        /DENABLE_LIBWIRESHARK=$(ENABLE_LIBWIRESHARK) \
110
122
!ENDIF
124
136
!ENDIF  
125
137
!IFDEF GTK_WIMP_DIR
126
138
        /DGTK_WIMP_DIR=$(GTK_WIMP_DIR) \
127
 
        /DGTK_THEME_DIR=$(GTK_THEME_DIR) \
 
139
        /DGTK_WIMP_DLLDST_DIR=$(GTK_WIMP_DLLDST_DIR) \
 
140
        /DGTK_WIMP_DLLSRC_DIR=$(GTK_WIMP_DLLSRC_DIR) \
 
141
        /DGTK_WIMP_RCDST_DIR=$(GTK_WIMP_RCDST_DIR) \
 
142
        /DGTK_WIMP_RCSRC_DIR=$(GTK_WIMP_RCSRC_DIR) \
128
143
!ENDIF  
129
144
        /DGLIB_DIR=$(GLIB_DIR) \
130
145
        /DICONV_DIR=$(ICONV_DIR) \
162
177
        rm -f wireshark-gtk1-setup-$(VERSION).exe
163
178
        rm -f wireshark-gtk2-setup-$(VERSION).exe
164
179
        rm -f NEWS.txt
 
180
        rm -f user-guide.chm
165
181
 
166
182
distclean: clean
167
183
        rm -f wireshark-setup-*.exe
172
188
 
173
189
$(DOC):
174
190
        cd ../../doc
175
 
        $(MAKE) -f makefile.nmake
 
191
        $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
176
192
        cd ../packaging/nsis
177
193
 
178
194
$(EXE) $(DLL):
179
195
        cd ../..
180
 
        $(MAKE) -f makefile.nmake
 
196
        $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
181
197
        cd packaging/nsis