2000-10-11 07:35:02 +00:00
|
|
|
include ..\config.nmake
|
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
|
|
|
CFLAGS=/MT /DHAVE_CONFIG_H /I. /I.. /I../wiretap \
|
|
|
|
/I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
|
|
|
|
/I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
|
|
|
|
/I$(PCAP_DIR)\include $(LOCAL_CFLAGS)
|
|
|
|
|
2000-10-14 04:31:26 +00:00
|
|
|
# For use when making ethereal.dll
|
|
|
|
libethereal_LIBS = \
|
|
|
|
wsock32.lib user32.lib \
|
|
|
|
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
|
|
|
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib
|
|
|
|
|
2000-10-11 07:35:02 +00:00
|
|
|
{$S}.c{$O}.obj::
|
|
|
|
$(CC) $(CFLAGS) -Fd$O\ -c $<
|
|
|
|
|
Move the table of bit-swapped byte values to "epan/bitswap.c", and
declare it, and define a "BIT_SWAP" macro that uses it, in
"epan/bitswap.h".
Use that macro to bit-swap bytes in the IEEE 802.11 dissector, rather
than the macro that was used (said macro used GCCisms and didn't compile
on Windows).
Make an "init_plugin()" routine to enable a plugin and call its init
routine, and call it from "check_plugin_status()" and
"plugins_enable_cb()", rather than having very similar code in two
places; "patable" is now part of libethereal, and, at least on Windows,
attempts to refer to it from "libui" failed. Make "patable" static to
"epan/plugins.c". (This may still not work, as now "libui" is calling a
routine in "libethereal"; if that fails, perhaps it's time to get rid of
the "enable/disable plugins" stuff completely, as new-style plugins, at
least, register themselves as protocols and should be controllable from
the "Edit->Protocols" window just as built-in dissectors are.)
svn path=/trunk/; revision=2649
2000-11-15 09:37:53 +00:00
|
|
|
OBJECTS=bitswap.obj \
|
|
|
|
conversation.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
dfilter-grammar.obj \
|
|
|
|
dfilter-scanner.obj \
|
|
|
|
dfilter.obj \
|
|
|
|
epan.obj \
|
|
|
|
except.obj \
|
|
|
|
filesystem.obj \
|
2000-10-14 04:31:26 +00:00
|
|
|
inet_aton.obj \
|
|
|
|
inet_pton.obj \
|
|
|
|
inet_ntop.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
ipv4.obj \
|
|
|
|
packet.obj \
|
|
|
|
plugins.obj \
|
|
|
|
proto.obj \
|
|
|
|
resolv.obj \
|
|
|
|
strutil.obj \
|
|
|
|
tvbuff.obj \
|
|
|
|
|
2000-10-14 04:31:26 +00:00
|
|
|
# For use when making ethereal.dll
|
2000-10-17 09:25:37 +00:00
|
|
|
#ethereal.dll ethereal.lib : config.h $(OBJECTS)
|
2000-10-14 04:31:26 +00:00
|
|
|
# link /DLL /out:ethereal.dll $(OBJECTS) $(libethereal_LIBS)
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
ethereal.lib : config.h $(OBJECTS)
|
2000-10-14 04:31:26 +00:00
|
|
|
lib /out:ethereal.lib $(OBJECTS)
|
2000-10-11 07:35:02 +00:00
|
|
|
|
|
|
|
dfilter-scanner.obj : dfilter-scanner.c dfilter-grammar.h
|
|
|
|
|
|
|
|
dfilter-scanner.c : dfilter-scanner.l
|
|
|
|
$(LEX) -Pdfilter_ -odfilter-scanner.c dfilter-scanner.l
|
|
|
|
|
|
|
|
dfilter-grammar.c dfilter-grammar.h : dfilter-grammar.y
|
|
|
|
$(YACC) $(YACC_OPTS) -d -p dfilter_ dfilter-grammar.y -o dfilter-grammar.c
|
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
config.h : config.h.win32
|
|
|
|
copy config.h.win32 $@
|
2000-10-11 07:35:02 +00:00
|
|
|
|
|
|
|
clean:
|
2000-10-14 03:53:25 +00:00
|
|
|
rm -f $(OBJECTS) ethereal.lib
|