forked from wireshark/wireshark
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.nmake
79 lines (63 loc) · 1.78 KB
/
Makefile.nmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
# $Id: Makefile.nmake,v 1.22 2002/02/27 09:42:39 guy Exp $
include ..\config.nmake
############### no need to modify below this line #########
CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../wiretap \
/I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
/I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
# For use when making ethereal.dll
libethereal_LIBS = \
wsock32.lib user32.lib \
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
.c.obj::
$(CC) $(CVARSDLL) $(CFLAGS) -Fd.\ -c $<
OBJECTS=atalk-utils.obj \
bitswap.obj \
column-utils.obj \
conversation.obj \
epan.obj \
except.obj \
filesystem.obj \
frame_data.obj \
inet_aton.obj \
inet_pton.obj \
inet_ntop.obj \
ipv4.obj \
int-64bit.obj \
osi-utils.obj \
packet.obj \
plugins.obj \
proto.obj \
resolv.obj \
sna-utils.obj \
strutil.obj \
to_str.obj \
tvbuff.obj \
value_string.obj \
all: ftypes dfilter ethereal.lib
# For use when making ethereal.dll
#ethereal.dll ethereal.lib : config.h $(OBJECTS)
# link /DLL /out:ethereal.dll $(OBJECTS) $(libethereal_LIBS)
ethereal.lib : config.h $(OBJECTS)
lib /out:ethereal.lib $(OBJECTS)
config.h : config.h.win32
sed -e s/@VERSION@/$(VERSION)/ < config.h.win32 > $@
clean:
rm -f $(OBJECTS) ethereal.lib config.h $(PDB_FILE)
cd ftypes
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
cd ../dfilter
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
ftypes:: config.h
cd ftypes
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
cd ..
dfilter:: config.h
cd dfilter
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
cd ..