1 ## Makefile for building ethereal.exe with Microsoft C and nmake
2 ## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
4 # $Id: Makefile.nmake,v 1.39 2003/01/22 00:40:36 sahlberg Exp $
6 include ..\config.nmake
8 ############### no need to modify below this line #########
10 CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap \
11 /I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
12 /I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
14 /I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
15 /I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
16 /I$(PCAP_DIR)\include /I$(NET_SNMP_DIR)\include \
17 /I$(NET_SNMP_DIR)\win32 -D_U_="" $(LOCAL_CFLAGS)
19 CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
22 $(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
31 ETHEREAL_TAP_OBJECTS = $(ETHEREAL_TAP_SRC:.c=.obj)
33 # gtkclist.obj is not in here because it is gtk+-1.2 code,
34 # while the DLL for GTK+ on windows is gtk+-1.3, and there's
35 # some functions that have disappeared in gtk+-1.3. I might
36 # get around to #ifdef'ing them out in our gtkclist.c.
37 OBJECTS=capture_dlg.obj \
45 dfilter_expr_dlg.obj \
48 ethereal-tap-register.obj \
69 proto_hier_stats_dlg.obj \
75 $(ETHEREAL_TAP_OBJECTS)
77 libui.lib : ..\config.h $(OBJECTS)
78 lib /out:libui.lib $(OBJECTS)
80 ethereal-tap-register.c: $(ETHEREAL_TAP_SRC) ../make-tapreg-dotc
81 @echo Making ethereal-tap-register.c
82 @$(SH) ../make-tapreg-dotc ethereal-tap-register.c . $(ETHEREAL_TAP_SRC)
85 rm -f $(OBJECTS) libui.lib $(PDB_FILE)