!ENDIF
!IFDEF HHC_DIR
@$(SH) tools\win32-setup.sh "$(WIN32_SETUP_OPT)" "$(WIRESHARK_LIBS)" \
- user-guide user-guide-20494.zip
+ user-guide user-guide-23522.zip
+!ENDIF
+!IFDEF UPX
+ @$(SH) tools\win32-setup.sh "$(WIN32_SETUP_OPT)" "$(WIRESHARK_LIBS)" \
+ . upx301w.zip
!ENDIF
@echo.
@echo Wireshark is ready to build.
rm -r -f $(WIRESHARK_LIBS)/AirPcap_Devpack_1_0_0_594
rm -r -f $(WIRESHARK_LIBS)/zlib123
rm -r -f $(WIRESHARK_LIBS)/zlib123-dll
+ rm -r -f $(WIRESHARK_LIBS)/upx301w
################################################################################
# Prepare the debug trees for running Wireshark/Tshark from there.
# UPX can be downloaded from:
# http://upx.sourceforge.net/
#
-# If you don't have UPX, comment this line out, so that UPX
-# isn't defined.
+# If you don't have UPX, or don't want to pack exes and dlls,
+# comment this line out, so that UPX isn't defined.
#
-#UPX="c:\upx301w\upx.exe"
+UPX=$(WIRESHARK_LIBS)\upx301w\upx.exe
##### Flags, PATHs and Miscellaneous #####
# http://anonsvn.wireshark.org/wireshark-win32-libs/tags/<date>/packages
# in order to provide backward compatibility with older trees (e.g. a
# previous release or an older SVN checkout).
-DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2007-11-13/packages/"
+DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-win32-libs/tags/2007-11-24/packages/"
# Set DOWNLOAD_PREFIX to /packages to test uploads before creating the tag.
# DOWNLOAD_PREFIX="http://anonsvn.wireshark.org/wireshark-win32-libs/trunk/packages/"
echo "Extracting $DEST_PATH/$PACKAGE into $DEST_PATH/$DEST_SUBDIR"
unzip -oq "$DEST_PATH/$PACKAGE" ||
err_exit "Couldn't unpack $DEST_PATH/$PACKAGE"
- echo "Verifying that the DLLs in $DEST_PATH/$DEST_SUBDIR are executable."
- for i in `/usr/bin/find $DEST_PATH/$DEST_SUBDIR -name \*\.dll` ; do
+ echo "Verifying that the DLLs and EXEs in $DEST_PATH/$DEST_SUBDIR are executable."
+ for i in `/usr/bin/find $DEST_PATH/$DEST_SUBDIR \( -name *\.dll -o -name *\.exe \)` ; do
if [ ! -x "$i" ] ; then
echo "Changing file permissions (add executable bit) to:"
echo "$i"