Clean up white space.
[obnox/wireshark/wip.git] / wiretap / Makefile.nmake
1 #
2 # $Id: Makefile.nmake,v 1.15 2000/09/19 17:27:08 gram Exp $
3 #
4
5 include ..\config.nmake
6
7 ############### no need to modify below this line #########
8
9 CFLAGS=/MT /DHAVE_CONFIG_H /I$(GLIB_DIR) $(LOCAL_CFLAGS)
10
11 {$S}.c{$O}.obj::
12    $(CC) $(CFLAGS) -Fd$O\ -c $<
13
14 OBJECTS=ascend-grammar.obj \
15         ascend-scanner.obj \
16         ascend.obj \
17         buffer.obj \
18         csids.obj \
19         file.obj \
20         file_wrappers.obj \
21         i4btrace.obj \
22         iptrace.obj \
23         lanalyzer.obj \
24         libpcap.obj \
25         netmon.obj \
26         nettl.obj \
27         netxray.obj \
28         ngsniffer.obj \
29         radcom.obj \
30         pppdump.obj \
31         snoop.obj \
32         toshiba.obj \
33         wtap.obj
34
35 libwtap.lib     : config.h $(OBJECTS)
36         lib /out:libwtap.lib $(OBJECTS)
37
38 ascend-grammar.c ascend-grammar.h : ascend-grammar.y
39         $(YACC) $(YACC_OPTS) -d -p ascend ascend-grammar.y -o ascend-grammar.c
40
41 ascend-scanner.obj : ascend-scanner.c ascend-grammar.h
42
43 ascend-scanner.c : ascend-scanner.l
44         $(LEX) -Pascend -oascend-scanner.c ascend-scanner.l
45
46
47 config.h        : config.h.win32
48         copy config.h.win32 $@
49
50 clean :
51         rm -f $(OBJECTS) libwtap.lib ascend-grammar.c ascend-grammar.h ascend-scanner.c