aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.nmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2002-10-16 14:45:27 +0000
committerGerald Combs <gerald@wireshark.org>2002-10-16 14:45:27 +0000
commite0cf132365b451fb710649e3798232f33609aeef (patch)
treef39ec943801b88ce2ad7b46e485e81d0d588c1fe /Makefile.nmake
parent103fafbb747da4ac4b85019ba7fe621142b21ee4 (diff)
downloadwireshark-e0cf132365b451fb710649e3798232f33609aeef.tar.gz
wireshark-e0cf132365b451fb710649e3798232f33609aeef.tar.bz2
wireshark-e0cf132365b451fb710649e3798232f33609aeef.zip
Add support for building randpkt under Windows.
svn path=/trunk/; revision=6433
Diffstat (limited to 'Makefile.nmake')
-rw-r--r--Makefile.nmake18
1 files changed, 16 insertions, 2 deletions
diff --git a/Makefile.nmake b/Makefile.nmake
index 9fbdd7c5d0..c84de72ae9 100644
--- a/Makefile.nmake
+++ b/Makefile.nmake
@@ -1,7 +1,7 @@
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
-# $Id: Makefile.nmake,v 1.241 2002/10/09 03:07:26 gerald Exp $
+# $Id: Makefile.nmake,v 1.242 2002/10/16 14:45:27 gerald Exp $
include config.nmake
include <win32.mak>
@@ -364,6 +364,9 @@ dftest_OBJECTS = \
$(ETHEREAL_COMMON_OBJECTS) \
dftest.obj
+randpkt_OBJECTS = \
+ randpkt.obj
+
EXTRA_OBJECTS = \
# snprintf.obj \
# strerror.obj \
@@ -406,6 +409,11 @@ dftest_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib epan\ethereal.lib \
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
+randpkt_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
+ user32.lib \
+ $(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib \
+ $(NET_SNMP_DIR)\win32\lib\libsnmp.lib
+
EXECUTABLES=ethereal.exe tethereal.exe editcap.exe mergecap.exe text2pcap.exe
RESOURCES=image\ethereal.res image\tethereal.res image\editcap.res image\mergecap.res image\text2pcap.res
@@ -451,6 +459,11 @@ dftest.exe : $(dftest_OBJECTS) $(EXTRA_OBJECTS)
/OUT:dftest.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(dftest_LIBS) $(dftest_OBJECTS) $(EXTRA_OBJECTS)
<<
+randpkt.exe : $(randpkt_OBJECTS) $(EXTRA_OBJECTS)
+ $(LINK) @<<
+ /OUT:randpkt.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(randpkt_LIBS) $(randpkt_OBJECTS)
+<<
+
config.h : config.h.win32
sed -e s/@VERSION@/$(VERSION)/ < config.h.win32 > $@
@@ -498,7 +511,8 @@ clean:
tethereal.obj editcap.obj mergecap.obj text2pcap.obj \
text2pcap-scanner.obj text2pcap-scanner.c register.c \
rdps.obj rdps.pdb config.h ps.c \
- rdps.exe rdps.ilk dftest.obj dftest.exe $(RESOURCES)
+ rdps.exe rdps.ilk dftest.obj dftest.exe randpkt.obj randpkt.ext \
+ $(RESOURCES)
cd wiretap
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../gtk