1999-07-13 02:53:26 +00:00
|
|
|
## Makefile for building ethereal.exe with Microsoft C and nmake
|
2001-03-06 13:08:13 +00:00
|
|
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
2000-04-12 21:52:11 +00:00
|
|
|
#
|
2001-05-20 22:20:33 +00:00
|
|
|
# $Id: Makefile.nmake,v 1.106 2001/05/20 22:20:33 guy Exp $
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
include config.nmake
|
2001-03-23 02:05:29 +00:00
|
|
|
include <win32.mak>
|
1999-07-13 02:53:26 +00:00
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
|
|
|
CC = cl
|
1999-07-21 17:40:42 +00:00
|
|
|
LINK= link
|
|
|
|
|
On Win32, build Ethereal as a Windows-subsystem program rather than a
console-subsystem program, so that when not run from a shell window it
doesn't cause a shell window to be popped up. (Yes, this means that any
messages it prints, when not popped up from a shell window, get lost,
but the same is true of Ethereal on UNIX/X.) Trick for doing this
shamelessly stolen from the Win32 port of the GIMP.
We do not want to build Tethereal or editcap as Windows-subsystem
programs, however, so we take the "/SUBSYSTEM" flag out of LDFLAGS and
put it into the link commands for Ethereal, Tethereal, and editcap.
svn path=/trunk/; revision=1857
2000-04-14 09:00:25 +00:00
|
|
|
LDFLAGS = /NOLOGO /INCREMENTAL:no /MACHINE:I386 $(LOCAL_LDFLAGS)
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
CFLAGS=-DHAVE_CONFIG_H $(LOCAL_CFLAGS) /I$(GLIB_DIR) /I$(GLIB_DIR)\gmodule \
|
2000-10-11 07:35:02 +00:00
|
|
|
/I$(GTK_DIR) /Iepan /Iwiretap /I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
|
2000-02-09 19:18:42 +00:00
|
|
|
/I$(PCAP_DIR)/include
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
|
|
|
|
2000-05-29 20:11:41 +00:00
|
|
|
{$S}.c{$O}.obj::
|
2001-03-23 02:05:29 +00:00
|
|
|
$(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
|
2000-05-29 20:11:41 +00:00
|
|
|
|
2001-05-11 00:39:57 +00:00
|
|
|
DISSECTOR_SRC = \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-aarp.c \
|
|
|
|
packet-afs.c \
|
2000-11-05 23:45:59 +00:00
|
|
|
packet-aim.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-arp.c \
|
|
|
|
packet-ascend.c\
|
|
|
|
packet-atalk.c \
|
|
|
|
packet-atm.c \
|
|
|
|
packet-auto_rp.c \
|
2001-03-31 10:13:13 +00:00
|
|
|
packet-bacapp.c \
|
|
|
|
packet-bacnet.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-bgp.c \
|
|
|
|
packet-bootp.c \
|
|
|
|
packet-bootparams.c \
|
|
|
|
packet-bpdu.c \
|
2001-03-31 10:13:13 +00:00
|
|
|
packet-bvlc.c \
|
2000-10-11 07:35:02 +00:00
|
|
|
packet-bxxp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-cdp.c \
|
|
|
|
packet-cgmp.c \
|
Add a new Wiretap encapsulation type for Cisco HDLC. Map the NetBSD
DLT_HDLC to it.
Make a separate dissector for Cisco HDLC, and add a dissector for Cisco
SLARP. Have the PPP dissector call the Cisco HDLC dissector if the
address field is the Cisco HDLC unicast or multicast address. Use the
Cisco HDLC dissector for the Cisco HDLC Wiretap encapsulation type.
Add a new dissector table "chdlctype", for Cisco HDLC packet types
(they're *almost* the same as Ethernet types, but 0x8035 is SLARP, not
Reverse ARP, and 0x2000 is the Cisco Discovery protocol, for example),
replacing "fr.chdlc".
Have a "chdlctype()" routine, similar to "ethertype()", used both by the
Cisco HDLC and Frame Relay dissectors. Have a "chdlc_vals[]"
"value_string" table for Cisco HDLC types and protocol names. Split the
packet type field in the Frame Relay dissector into separate SNAP and
Cisco HDLC fields, and give them the Ethernet type and Cisco HDLC type
"value_string" tables, respectively.
svn path=/trunk/; revision=3133
2001-03-15 09:11:03 +00:00
|
|
|
packet-chdlc.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-clip.c \
|
|
|
|
packet-clnp.c \
|
2000-06-07 22:57:45 +00:00
|
|
|
packet-cops.c \
|
2001-03-11 02:08:32 +00:00
|
|
|
packet-cups.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-data.c \
|
2001-03-18 02:13:33 +00:00
|
|
|
packet-dcerpc.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-ddtp.c \
|
2001-01-05 19:00:37 +00:00
|
|
|
packet-dec-bpdu.c \
|
2000-08-12 05:41:10 +00:00
|
|
|
packet-diameter.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-dns.c \
|
2000-05-28 22:59:18 +00:00
|
|
|
packet-eigrp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-esis.c \
|
|
|
|
packet-eth.c \
|
|
|
|
packet-ethertype.c \
|
|
|
|
packet-fddi.c \
|
2001-01-07 22:08:31 +00:00
|
|
|
packet-fr.c \
|
2000-10-11 07:35:02 +00:00
|
|
|
packet-frame.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-ftp.c \
|
|
|
|
packet-giop.c \
|
|
|
|
packet-gre.c \
|
2001-04-04 01:00:19 +00:00
|
|
|
packet-gtp.c \
|
2000-11-30 09:31:52 +00:00
|
|
|
packet-gvrp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-h1.c \
|
2000-10-19 06:45:11 +00:00
|
|
|
packet-h261.c \
|
2001-01-27 20:33:01 +00:00
|
|
|
packet-hclnfsd.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-hsrp.c \
|
|
|
|
packet-http.c \
|
|
|
|
packet-icmpv6.c\
|
|
|
|
packet-icp.c \
|
|
|
|
packet-icq.c \
|
2001-05-20 22:20:33 +00:00
|
|
|
packet-igmp.c \
|
2000-10-26 09:14:28 +00:00
|
|
|
packet-igrp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-imap.c \
|
|
|
|
packet-ip.c \
|
|
|
|
packet-ipp.c \
|
|
|
|
packet-ipsec.c \
|
|
|
|
packet-ipv6.c \
|
|
|
|
packet-ipx.c \
|
|
|
|
packet-irc.c \
|
2000-11-15 05:42:35 +00:00
|
|
|
packet-ieee80211.c \
|
2001-02-08 07:08:05 +00:00
|
|
|
packet-ieee8023.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-isakmp.c\
|
|
|
|
packet-isis.c \
|
|
|
|
packet-isis-clv.c \
|
|
|
|
packet-isis-hello.c \
|
|
|
|
packet-isis-lsp.c \
|
|
|
|
packet-isis-snp.c \
|
|
|
|
packet-isl.c \
|
2001-01-11 16:46:21 +00:00
|
|
|
packet-iua.c \
|
2000-08-11 03:32:53 +00:00
|
|
|
packet-kerberos.c \
|
2001-04-20 18:37:53 +00:00
|
|
|
packet-klm.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-l2tp.c \
|
|
|
|
packet-lapb.c \
|
2001-01-05 19:00:37 +00:00
|
|
|
packet-lapbether.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-lapd.c \
|
|
|
|
packet-ldap.c \
|
2000-11-29 13:20:06 +00:00
|
|
|
packet-ldp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-llc.c \
|
2001-03-23 21:38:56 +00:00
|
|
|
packet-lmi.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-lpd.c \
|
2001-01-10 09:25:13 +00:00
|
|
|
packet-m3ua.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-mapi.c \
|
2001-04-24 19:29:14 +00:00
|
|
|
packet-mbtcp.c \
|
2000-05-27 13:54:17 +00:00
|
|
|
packet-mip.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-mount.c \
|
|
|
|
packet-mpls.c \
|
|
|
|
packet-msproxy.c \
|
|
|
|
packet-nbipx.c \
|
|
|
|
packet-nbns.c \
|
|
|
|
packet-ncp.c \
|
2000-07-28 20:03:59 +00:00
|
|
|
packet-ncp2222.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-netbios.c \
|
|
|
|
packet-nfs.c \
|
2001-05-07 20:49:48 +00:00
|
|
|
packet-nisplus.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-nlm.c \
|
|
|
|
packet-nntp.c \
|
|
|
|
packet-ntp.c \
|
|
|
|
packet-null.c \
|
|
|
|
packet-osi.c \
|
|
|
|
packet-osi-options.c \
|
|
|
|
packet-ospf.c \
|
|
|
|
packet-pim.c \
|
|
|
|
packet-pop.c \
|
|
|
|
packet-portmap.c \
|
|
|
|
packet-ppp.c \
|
|
|
|
packet-pppoe.c \
|
|
|
|
packet-pptp.c \
|
|
|
|
packet-q2931.c \
|
|
|
|
packet-q931.c \
|
2000-07-27 11:00:48 +00:00
|
|
|
packet-quake.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-radius.c\
|
2001-04-24 19:18:03 +00:00
|
|
|
packet-ranap.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-raw.c \
|
|
|
|
packet-rip.c \
|
|
|
|
packet-ripng.c \
|
|
|
|
packet-rlogin.c \
|
|
|
|
packet-rpc.c \
|
2001-02-27 19:40:58 +00:00
|
|
|
packet-rquota.c \
|
2000-08-12 05:41:10 +00:00
|
|
|
packet-rsh.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-rsvp.c \
|
|
|
|
packet-rtcp.c \
|
|
|
|
packet-rtp.c \
|
|
|
|
packet-rtsp.c \
|
2001-04-07 08:39:46 +00:00
|
|
|
packet-rwall.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-rx.c \
|
|
|
|
packet-sap.c \
|
2000-07-21 13:18:22 +00:00
|
|
|
packet-sctp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-sdp.c \
|
2000-11-04 07:50:47 +00:00
|
|
|
packet-sip.c \
|
2000-12-23 08:06:16 +00:00
|
|
|
packet-sll.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-smb.c \
|
|
|
|
packet-smb-browse.c \
|
|
|
|
packet-smb-common.c \
|
|
|
|
packet-smb-logon.c \
|
|
|
|
packet-smb-mailslot.c \
|
|
|
|
packet-smb-pipe.c \
|
2000-11-04 03:30:41 +00:00
|
|
|
packet-smtp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-sna.c \
|
|
|
|
packet-snmp.c \
|
|
|
|
packet-socks.c \
|
2001-04-21 07:57:23 +00:00
|
|
|
packet-spray.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-srvloc.c \
|
|
|
|
packet-sscop.c \
|
|
|
|
packet-stat.c \
|
2001-03-15 22:15:32 +00:00
|
|
|
packet-stat-notify.c \
|
2001-01-22 09:04:09 +00:00
|
|
|
packet-sual.c \
|
2000-06-12 02:38:13 +00:00
|
|
|
packet-syslog.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-tacacs.c \
|
|
|
|
packet-tcp.c \
|
|
|
|
packet-telnet.c\
|
|
|
|
packet-tftp.c \
|
|
|
|
packet-time.c \
|
|
|
|
packet-tns.c \
|
2000-10-19 06:45:11 +00:00
|
|
|
packet-tpkt.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-tr.c \
|
|
|
|
packet-trmac.c \
|
|
|
|
packet-udp.c \
|
|
|
|
packet-v120.c \
|
|
|
|
packet-vines.c \
|
|
|
|
packet-vlan.c \
|
|
|
|
packet-vrrp.c \
|
|
|
|
packet-vtp.c \
|
|
|
|
packet-wccp.c \
|
2001-03-23 21:38:56 +00:00
|
|
|
packet-wcp.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-who.c \
|
2001-02-13 00:17:55 +00:00
|
|
|
packet-wap.c \
|
|
|
|
packet-wtls.c \
|
2000-11-04 03:30:41 +00:00
|
|
|
packet-wsp.c \
|
|
|
|
packet-wtp.c \
|
2000-06-12 02:30:35 +00:00
|
|
|
packet-x11.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-x25.c \
|
2000-12-17 07:38:14 +00:00
|
|
|
packet-xot.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-yhoo.c \
|
|
|
|
packet-ypbind.c \
|
2001-04-18 20:41:12 +00:00
|
|
|
packet-yppasswd.c \
|
2000-04-29 07:35:07 +00:00
|
|
|
packet-ypserv.c \
|
2000-08-18 15:26:52 +00:00
|
|
|
packet-ypxfr.c \
|
|
|
|
packet-zebra.c
|
2000-04-29 07:35:07 +00:00
|
|
|
|
2001-05-11 00:39:57 +00:00
|
|
|
DISSECTOR_OBJECTS = $(DISSECTOR_SRC:.c=.obj)
|
2000-01-15 00:23:13 +00:00
|
|
|
|
|
|
|
ETHEREAL_COMMON_OBJECTS = \
|
|
|
|
asn1.obj \
|
2001-04-03 05:26:27 +00:00
|
|
|
capture-wpcap.obj \
|
2000-01-15 00:23:13 +00:00
|
|
|
column.obj \
|
|
|
|
follow.obj \
|
2000-03-28 20:20:11 +00:00
|
|
|
getopt.obj \
|
2000-12-13 02:24:23 +00:00
|
|
|
in_cksum.obj \
|
2000-01-15 00:23:13 +00:00
|
|
|
ipproto.obj \
|
|
|
|
prefs.obj \
|
|
|
|
print.obj \
|
|
|
|
ps.obj \
|
2000-07-31 03:45:53 +00:00
|
|
|
ptvcursor.obj \
|
2000-01-15 00:23:13 +00:00
|
|
|
register.obj \
|
|
|
|
util.obj \
|
|
|
|
xdlc.obj \
|
|
|
|
|
|
|
|
ethereal_OBJECTS = \
|
|
|
|
$(DISSECTOR_OBJECTS) \
|
|
|
|
$(ETHEREAL_COMMON_OBJECTS) \
|
2001-04-03 05:26:27 +00:00
|
|
|
capture.obj \
|
|
|
|
file.obj \
|
|
|
|
filters.obj \
|
2001-03-22 23:54:47 +00:00
|
|
|
proto_hier_stats.obj \
|
2001-04-03 05:26:27 +00:00
|
|
|
summary.obj
|
2000-01-15 00:23:13 +00:00
|
|
|
|
2000-04-12 21:52:11 +00:00
|
|
|
tethereal_OBJECTS = \
|
|
|
|
$(DISSECTOR_OBJECTS) \
|
|
|
|
$(ETHEREAL_COMMON_OBJECTS) \
|
|
|
|
tethereal.obj
|
|
|
|
|
2001-02-11 03:19:45 +00:00
|
|
|
dftest_OBJECTS = \
|
|
|
|
$(DISSECTOR_OBJECTS) \
|
|
|
|
$(ETHEREAL_COMMON_OBJECTS) \
|
|
|
|
dftest.obj
|
|
|
|
|
2000-04-12 21:52:11 +00:00
|
|
|
EXTRA_OBJECTS = \
|
2001-03-23 02:05:29 +00:00
|
|
|
# snprintf.obj \
|
|
|
|
# strerror.obj \
|
2000-10-14 04:31:26 +00:00
|
|
|
mkstemp.obj
|
2000-01-15 00:23:13 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
ethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
|
|
|
gtk\libui.lib epan\ethereal.lib \
|
2001-02-02 04:03:43 +00:00
|
|
|
epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
|
2000-10-11 07:35:02 +00:00
|
|
|
wsock32.lib user32.lib \
|
1999-07-13 02:53:26 +00:00
|
|
|
$(GTK_DIR)\gtk\gtk-$(GTK_VERSION).lib \
|
2000-06-11 07:49:36 +00:00
|
|
|
$(GTK_DIR)\gdk\gdk-$(GTK_VERSION).lib \
|
1999-07-21 17:40:42 +00:00
|
|
|
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
2001-04-03 05:26:27 +00:00
|
|
|
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
|
|
|
|
# $(PCAP_DIR)\lib\wpcap.lib
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
tethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
|
|
|
epan\ethereal.lib \
|
2001-02-02 04:03:43 +00:00
|
|
|
epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
|
2000-10-11 07:35:02 +00:00
|
|
|
wsock32.lib user32.lib \
|
2000-04-12 21:52:11 +00:00
|
|
|
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
2001-04-03 05:26:27 +00:00
|
|
|
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
|
2000-04-12 21:52:11 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
editcap_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
|
|
|
wsock32.lib user32.lib \
|
2000-04-12 21:52:11 +00:00
|
|
|
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
2000-10-14 03:20:55 +00:00
|
|
|
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
|
2000-04-12 21:52:11 +00:00
|
|
|
|
2001-02-11 03:19:45 +00:00
|
|
|
dftest_LIBS= epan\ethereal.lib \
|
|
|
|
epan\dfilter\dfilter.lib epan\ftypes\ftypes.lib \
|
|
|
|
wsock32.lib user32.lib \
|
|
|
|
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
2001-04-03 05:26:27 +00:00
|
|
|
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
|
2001-02-11 03:19:45 +00:00
|
|
|
|
2000-04-12 21:52:11 +00:00
|
|
|
EXECUTABLES=ethereal.exe tethereal.exe editcap.exe
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-04-15 04:10:50 +00:00
|
|
|
RESOURCES=image\ethereal.res image\tethereal.res image\editcap.res
|
2000-04-12 21:52:11 +00:00
|
|
|
|
2001-04-05 04:39:29 +00:00
|
|
|
all: tools wiretap gtk epan image $(EXECUTABLES) $(RESOURCES)
|
2000-04-15 04:10:50 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
ethereal.exe : config.h $(ethereal_OBJECTS) $(EXTRA_OBJECTS) image\ethereal.res wiretap\wiretap-$(WTAP_VERSION).lib gtk\libui.lib plugins
|
2000-06-16 15:05:26 +00:00
|
|
|
@echo Linking $@
|
2000-04-12 21:52:11 +00:00
|
|
|
$(LINK) @<<
|
2001-03-23 02:05:29 +00:00
|
|
|
/OUT:ethereal.exe $(guiflags) $(guilibsdll) $(LDFLAGS) /SUBSYSTEM:windows $(ethereal_LIBS) $(ethereal_OBJECTS) $(EXTRA_OBJECTS) image\ethereal.res
|
2000-04-12 21:52:11 +00:00
|
|
|
<<
|
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
tethereal.exe : config.h $(tethereal_OBJECTS) $(EXTRA_OBJECTS) image\tethereal.res wiretap\wiretap-$(WTAP_VERSION).lib plugins
|
2000-06-16 15:05:26 +00:00
|
|
|
@echo Linking $@
|
1999-07-21 17:40:42 +00:00
|
|
|
$(LINK) @<<
|
2001-03-23 02:05:29 +00:00
|
|
|
/OUT:tethereal.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(tethereal_LIBS) $(tethereal_OBJECTS) $(EXTRA_OBJECTS) image\tethereal.res
|
2000-04-12 21:52:11 +00:00
|
|
|
<<
|
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
editcap.exe : config.h editcap.obj getopt.obj wiretap\wiretap-$(WTAP_VERSION).lib image\editcap.res
|
2000-06-16 15:05:26 +00:00
|
|
|
@echo Linking $@
|
2000-04-12 21:52:11 +00:00
|
|
|
$(LINK) @<<
|
2001-03-23 02:05:29 +00:00
|
|
|
/OUT:editcap.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console editcap.obj getopt.obj $(editcap_LIBS) image\editcap.res
|
1999-07-21 17:40:42 +00:00
|
|
|
<<
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2001-02-11 03:19:45 +00:00
|
|
|
dftest.exe : $(dftest_OBJECTS) $(EXTRA_OBJECTS)
|
|
|
|
$(LINK) @<<
|
2001-03-23 02:05:29 +00:00
|
|
|
/OUT:dftest.exe $(conflags) $(conlibsdll) $(LDFLAGS) /SUBSYSTEM:console $(dftest_LIBS) $(dftest_OBJECTS) $(EXTRA_OBJECTS)
|
2001-02-11 03:19:45 +00:00
|
|
|
<<
|
|
|
|
|
1999-07-13 02:53:26 +00:00
|
|
|
config.h : config.h.win32
|
2001-04-05 04:39:29 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ < config.h.win32 > $@
|
1999-07-13 02:53:26 +00:00
|
|
|
|
|
|
|
ps.c : rdps.exe print.ps
|
|
|
|
rdps print.ps ps.c
|
|
|
|
|
2001-04-20 04:16:19 +00:00
|
|
|
#
|
|
|
|
# The header files listed here are built from x11-fields using Perl;
|
|
|
|
# we declare a dependency here so that they get built.
|
|
|
|
#
|
|
|
|
packet-x11.obj : packet-x11.c x11-declarations.h x11-register-info.h
|
|
|
|
|
|
|
|
#
|
|
|
|
# Build various header files for the X11 dissector.
|
|
|
|
#
|
|
|
|
x11-declarations.h x11-register-info.h: x11-fields process-x11-fields.pl
|
|
|
|
$(PERL) process-x11-fields.pl <x11-fields
|
|
|
|
|
2000-07-28 20:03:59 +00:00
|
|
|
packet-ncp2222.c : ncp2222.py
|
2001-01-11 07:21:35 +00:00
|
|
|
@echo Making packet-ncp2222.c
|
2000-07-28 20:03:59 +00:00
|
|
|
$(PYTHON) ncp2222.py > packet-ncp2222.c
|
|
|
|
|
2001-05-11 00:39:57 +00:00
|
|
|
register.c: $(DISSECTOR_SRC)
|
2000-04-29 07:35:07 +00:00
|
|
|
@echo Making register.c
|
2001-05-11 00:39:57 +00:00
|
|
|
@$(PYTHON) make-reg-dotc.py . $(DISSECTOR_SRC)
|
2001-01-11 07:21:35 +00:00
|
|
|
# How are ifdef's done in NMAKE? It would be nice
|
|
|
|
# to use python if PYTHON is defined, otherwise try to use shell.
|
2001-05-11 00:39:57 +00:00
|
|
|
# @sh make-reg-dotc . $(DISSECTOR_SRC)
|
2000-04-12 21:52:11 +00:00
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
clean:
|
2000-04-29 07:35:07 +00:00
|
|
|
rm -f $(ethereal_OBJECTS) $(EXTRA_OBJECTS) $(EXECUTABLES) \
|
2001-04-12 18:07:22 +00:00
|
|
|
tethereal.obj editcap.obj register.c rdps.obj config.h \
|
|
|
|
ps.c packet-ncp2222.c register.c
|
2000-04-04 08:22:13 +00:00
|
|
|
cd wiretap
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2000-04-04 08:22:13 +00:00
|
|
|
cd ../gtk
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2000-10-11 07:35:02 +00:00
|
|
|
cd ../epan
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2000-04-04 08:22:13 +00:00
|
|
|
cd ../plugins
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2001-02-02 04:03:43 +00:00
|
|
|
cd ../tools
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2001-04-05 04:39:29 +00:00
|
|
|
cd ../image
|
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2001-02-02 04:03:43 +00:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
tools::
|
|
|
|
cd tools
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2000-04-04 08:22:13 +00:00
|
|
|
cd ..
|
2000-02-09 00:41:57 +00:00
|
|
|
|
2001-04-05 04:39:29 +00:00
|
|
|
image::
|
|
|
|
cd image
|
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
|
|
|
cd ..
|
|
|
|
|
2000-02-09 19:18:42 +00:00
|
|
|
wiretap::
|
2000-02-09 00:41:57 +00:00
|
|
|
cd wiretap
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2000-02-09 00:41:57 +00:00
|
|
|
cd ..
|
|
|
|
|
2001-04-05 05:58:05 +00:00
|
|
|
gtk:: config.h
|
2000-02-09 00:41:57 +00:00
|
|
|
cd gtk
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2000-02-09 00:41:57 +00:00
|
|
|
cd ..
|
|
|
|
|
2000-10-11 07:35:02 +00:00
|
|
|
epan::
|
|
|
|
cd epan
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2000-10-11 07:35:02 +00:00
|
|
|
cd ..
|
|
|
|
|
2000-02-09 19:18:42 +00:00
|
|
|
plugins::
|
2000-02-09 00:41:57 +00:00
|
|
|
cd plugins
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2000-02-09 00:41:57 +00:00
|
|
|
cd ..
|