Hmmm, don't optimize too much :-)
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 12 Sep 2006 01:04:35 +0000 (01:04 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 12 Sep 2006 01:04:35 +0000 (01:04 +0000)
also fix the clean_setup

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19199 f5534014-38df-0310-8fa8-9805f1628bb7

Makefile.nmake

index 890ced70ff671ee1804e498fd450da4dc29f0cbc..eae57a1ba97478509e9d5577fe438d90f2130244 100644 (file)
@@ -8,6 +8,9 @@ include <win32.mak>
 
 ############### no need to modify below this line #########
 
+CC = cl         
+LINK= link
+        
 LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
 
 CFLAGS=-DHAVE_CONFIG_H $(LOCAL_CFLAGS) $(GLIB_CFLAGS) /I. /Iwiretap \
@@ -37,14 +40,14 @@ EXTRA_OBJECTS = \
 
 wireshark_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
        wsock32.lib user32.lib shell32.lib comctl32.lib \
+       $(NET_SNMP_LIBS) \
+       $(HHC_LIBS) \
 !IFDEF ENABLE_LIBWIRESHARK
        epan\libwireshark.lib \
 !ELSE
        epan\dissectors\dissectors.lib \
        epan\wireshark.lib \
        epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
-       $(NET_SNMP_LIBS) \
-       $(HHC_LIBS) \
        $(ADNS_LIBS) \
        $(PCRE_LIBS) \
        $(ZLIB_LIBS) \
@@ -54,13 +57,13 @@ wireshark_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
 tshark_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
        wsock32.lib user32.lib \
        $(GLIB_LIBS) \
+       $(NET_SNMP_LIBS) \
 !IFDEF ENABLE_LIBWIRESHARK
        epan\libwireshark.lib \
 !ELSE
        epan\dissectors\dissectors.lib \
        epan\wireshark.lib \
        epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
-       $(NET_SNMP_LIBS) \
        $(ADNS_LIBS) \
        $(PCRE_LIBS) \
        $(ZLIB_LIBS) \
@@ -612,13 +615,21 @@ setup: verify_tools
 # Cleanup files installed by the setup target. It will not remove the 
 # downloaded zip files.
 clean_setup:
+    rm -r -f $(WIRESHARK_LIBS)/adns-1.0-win32-05
+    rm -r -f $(WIRESHARK_LIBS)/gettext-runtime-0.13.1
     rm -r -f $(WIRESHARK_LIBS)/glib
+    rm -r -f $(WIRESHARK_LIBS)/gnutls-1.5.0-1
+    rm -r -f $(WIRESHARK_LIBS)/gtk2
     rm -r -f $(WIRESHARK_LIBS)/gtk+
+    rm -r -f $(WIRESHARK_LIBS)/gtk-wimp
+    rm -r -f $(WIRESHARK_LIBS)/kfw-2.5
     rm -r -f $(WIRESHARK_LIBS)/libiconv-1.9.1.bin.woe32
-    rm -r -f $(WIRESHARK_LIBS)/gettext-runtime-0.13.1
+    rm -r -f $(WIRESHARK_LIBS)/lua5.1
+    rm -r -f $(WIRESHARK_LIBS)/net-snmp-5.3.1
+    rm -r -f $(WIRESHARK_LIBS)/pcre-6.4
+    rm -r -f $(WIRESHARK_LIBS)/portaudio_v18_1
+    rm -r -f $(WIRESHARK_LIBS)/WpdPack
     rm -r -f $(WIRESHARK_LIBS)/zlib123-dll
-    rm -r -f $(WIRESHARK_LIBS)/gtk2
-    rm -r -f $(WIRESHARK_LIBS)/gtk-wimp
 
 ################################################################################
 # Prepare the source tree for running (t)wireshark directly from there.