1 ## Makefile for building ethereal.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
4 # $Id: Makefile.nmake,v 1.47 2003/08/23 09:09:35 sahlberg Exp $
6 include ..\config.nmake
8 ############### no need to modify below this line #########
10 CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap $(GTK_CFLAGS) \
12 /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
13 /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
14 /I$(PCAP_DIR)\include /I$(NET_SNMP_DIR)\include \
15 /I$(NET_SNMP_DIR)\win32 /Zm800 -D_U_="" $(LOCAL_CFLAGS)
17 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
20 $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
24 endpoint_talkers_eth.c \
25 endpoint_talkers_ip.c \
26 endpoint_talkers_tcpip.c \
27 endpoint_talkers_tr.c \
28 endpoint_talkers_udpip.c \
37 ETHEREAL_TAP_OBJECTS = $(ETHEREAL_TAP_SRC:.c=.obj)
39 # gtkclist.obj is not in here because it is gtk+-1.2 code,
40 # while the DLL for GTK+ on windows is gtk+-1.3, and there's
41 # some functions that have disappeared in gtk+-1.3. I might
42 # get around to #ifdef'ing them out in our gtkclist.c.
43 OBJECTS=capture_dlg.obj \
51 dfilter_expr_dlg.obj \
54 endpoint_talkers_table.obj \
55 ethereal-tap-register.obj \
77 proto_hier_stats_dlg.obj \
78 service_response_time_table.obj \
84 $(ETHEREAL_TAP_OBJECTS)
86 libui.lib : ..\config.h $(OBJECTS)
87 lib /out:libui.lib $(OBJECTS)
89 ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) ../make-tapreg-dotc
90 @echo Making ethereal-tap-register.c
91 @$(SH) ../make-tapreg-dotc ethereal-tap-register.c . $(ETHEREAL_TAP_SRC)
94 rm -f $(OBJECTS) libui.lib $(PDB_FILE)