5 include ..\config.nmake
8 ############### no need to modify below this line #########
10 CFLAGS=-DHAVE_CONFIG_H $(GLIB_CFLAGS) $(ZLIB_CFLAGS) /I$(PCAP_DIR)/include \
11 -D_U_="" $(LOCAL_CFLAGS)
14 $(CC) $(cvarsdll) $(CFLAGS) -Fd.\ -c $<
16 OBJECTS=airopeek9.obj \
36 network_instruments.obj \
54 all: wiretap-$(WTAP_VERSION).dll
56 wiretap-$(WTAP_VERSION).lib: wiretap-$(WTAP_VERSION).dll
57 wiretap-$(WTAP_VERSION).exp: wiretap-$(WTAP_VERSION).dll
59 wiretap-$(WTAP_VERSION).dll : $(OBJECTS) wtap.def ..\image\wiretap.res
60 $(link) $(dlllflags) $(conlibsdll) \
62 /DEF:wtap.def /OUT:wiretap-$(WTAP_VERSION).dll \
63 /IMPLIB:wiretap-$(WTAP_VERSION).lib \
64 ..\image\wiretap.res \
65 $(OBJECTS) $(wiretap_LIBS)
69 ascend-grammar.c ascend-grammar.h : ascend-grammar.y
70 $(YACC) $(YACC_OPTS) -d -p ascend ascend-grammar.y -o ascend-grammar.c
72 ascend-scanner.obj : ascend-scanner.c ascend-grammar.h
74 ascend-scanner.c : ascend-scanner.l
75 $(LEX) -Pascend -oascend-scanner.c ascend-scanner.l
78 config.h : config.h.win32 ..\config.nmake
79 sed -e s/@VERSION@/$(WTAP_VERSION)/ \
80 -e "s/@HAVE_LIBZ@/$(ZLIB_CONFIG)/" \
85 wiretap-$(WTAP_VERSION).lib \
86 wiretap-$(WTAP_VERSION).exp \
87 wiretap-$(WTAP_VERSION).dll \
91 rm -f config.h ascend-grammar.c ascend-grammar.h ascend-scanner.c