diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-09 00:41:57 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 2000-02-09 00:41:57 +0000 |
commit | 41f0a2c5e66cbac7ca04d7b7adff8d19bf0884cf (patch) | |
tree | f9256321832bac5f31c34ed2782d10d19a861a0b /wiretap/Makefile.nmake | |
parent | a6a7b2af48277c5d2888ebc4e1ebe20bde5c23f3 (diff) | |
download | wireshark-41f0a2c5e66cbac7ca04d7b7adff8d19bf0884cf.tar.gz wireshark-41f0a2c5e66cbac7ca04d7b7adff8d19bf0884cf.tar.bz2 wireshark-41f0a2c5e66cbac7ca04d7b7adff8d19bf0884cf.zip |
Update Makefiles for win32. Move local configuration to config.nmake,
have top-level Makefile.nmake call Makefile.nmake's in subdirectories.
Build plugins, and build generated source (lex, yacc). The only thing we
can't build is register.c; I need to re-work the top-level Makefile.nmake
because it lists object files, not C files, which make-reg-dotc needs.
svn path=/trunk/; revision=1608
Diffstat (limited to 'wiretap/Makefile.nmake')
-rw-r--r-- | wiretap/Makefile.nmake | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/wiretap/Makefile.nmake b/wiretap/Makefile.nmake index 755f5f9fd2..539e5db8d6 100644 --- a/wiretap/Makefile.nmake +++ b/wiretap/Makefile.nmake @@ -1,7 +1,8 @@ -GLIB_DIR=T:\w32-ix86\glib -LOCAL_CFLAGS= -#################3 +include ..\config.nmake + +############### no need to modify below this line ######### + CFLAGS=/DHAVE_CONFIG_H /I$(GLIB_DIR) $(LOCAL_CFLAGS) OBJECTS=ascend-grammar.obj \ @@ -23,9 +24,16 @@ OBJECTS=ascend-grammar.obj \ toshiba.obj \ wtap.obj - libwtap.lib : config.h $(OBJECTS) - lib /out:libwtap.lib $(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 -t ascend-scanner.l > ascend-scanner.c config.h : config.h.win32 |