2000-04-12 21:52:11 +00:00
|
|
|
#
|
2000-05-29 20:11:41 +00:00
|
|
|
# $Id: Makefile.nmake,v 1.13 2000/05/29 20:11:31 guy Exp $
|
2000-04-12 21:52:11 +00:00
|
|
|
#
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-02-09 00:41:57 +00:00
|
|
|
include ..\config.nmake
|
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
2000-04-04 08:22:13 +00:00
|
|
|
CFLAGS=/MT /DHAVE_CONFIG_H /I$(GLIB_DIR) $(LOCAL_CFLAGS)
|
1999-07-13 02:53:26 +00:00
|
|
|
|
2000-05-29 20:11:41 +00:00
|
|
|
{$S}.c{$O}.obj::
|
|
|
|
$(CC) $(CFLAGS) -Fd$O\ -c $<
|
|
|
|
|
1999-12-15 08:08:42 +00:00
|
|
|
OBJECTS=ascend-grammar.obj \
|
|
|
|
ascend-scanner.obj \
|
|
|
|
ascend.obj \
|
|
|
|
buffer.obj \
|
|
|
|
file.obj \
|
2000-01-13 18:26:15 +00:00
|
|
|
file_wrappers.obj \
|
1999-12-15 08:08:42 +00:00
|
|
|
i4btrace.obj \
|
|
|
|
iptrace.obj \
|
|
|
|
lanalyzer.obj \
|
|
|
|
libpcap.obj \
|
|
|
|
netmon.obj \
|
|
|
|
nettl.obj \
|
|
|
|
netxray.obj \
|
|
|
|
ngsniffer.obj \
|
|
|
|
radcom.obj \
|
|
|
|
snoop.obj \
|
|
|
|
toshiba.obj \
|
1999-08-03 20:51:41 +00:00
|
|
|
wtap.obj
|
1999-07-13 02:53:26 +00:00
|
|
|
|
|
|
|
libwtap.lib : config.h $(OBJECTS)
|
2000-02-09 00:41:57 +00:00
|
|
|
lib /out:libwtap.lib $(OBJECTS)
|
|
|
|
|
|
|
|
ascend-grammar.c ascend-grammar.h : ascend-grammar.y
|
|
|
|
$(YACC) $(YACC_OPTS) -d -p ascend ascend-grammar.y -o ascend-grammar.c
|
|
|
|
|
|
|
|
ascend-scanner.obj : ascend-scanner.c ascend-grammar.h
|
|
|
|
|
|
|
|
ascend-scanner.c : ascend-scanner.l
|
2000-04-06 06:19:42 +00:00
|
|
|
$(LEX) -Pascend -oascend-scanner.c ascend-scanner.l
|
1999-07-13 02:53:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
config.h : config.h.win32
|
|
|
|
copy config.h.win32 $@
|
|
|
|
|
2000-04-04 08:22:13 +00:00
|
|
|
clean :
|
2000-04-29 07:35:07 +00:00
|
|
|
rm -f $(OBJECTS) libwtap.lib ascend-grammar.c ascend-grammar.h ascend-scanner.c
|