wireshark/wiretap/Makefile.nmake
Guy Harris 3c9a310b6d Graham Bloice's changes to, on Win32 using Microsoft's "nmake":
build "register.c" in the top-level Makefile;

	set path in "config.nmake" to include the Cygwin directory for
	tools - those tools are needed to build "register.c";

	remove constructed source files, and some additional object
	files, when doing "nmake clean".

svn path=/trunk/; revision=1896
2000-04-29 07:35:07 +00:00

47 lines
976 B
Makefile

#
# $Id: Makefile.nmake,v 1.12 2000/04/29 07:35:07 guy Exp $
#
include ..\config.nmake
############### no need to modify below this line #########
CFLAGS=/MT /DHAVE_CONFIG_H /I$(GLIB_DIR) $(LOCAL_CFLAGS)
OBJECTS=ascend-grammar.obj \
ascend-scanner.obj \
ascend.obj \
buffer.obj \
file.obj \
file_wrappers.obj \
i4btrace.obj \
iptrace.obj \
lanalyzer.obj \
libpcap.obj \
netmon.obj \
nettl.obj \
netxray.obj \
ngsniffer.obj \
radcom.obj \
snoop.obj \
toshiba.obj \
wtap.obj
libwtap.lib : config.h $(OBJECTS)
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
$(LEX) -Pascend -oascend-scanner.c ascend-scanner.l
config.h : config.h.win32
copy config.h.win32 $@
clean :
rm -f $(OBJECTS) libwtap.lib ascend-grammar.c ascend-grammar.h ascend-scanner.c