2000-10-11 07:35:02 +00:00
|
|
|
include ..\config.nmake
|
|
|
|
|
|
|
|
############### no need to modify below this line #########
|
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../wiretap \
|
2000-10-11 07:35:02 +00:00
|
|
|
/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)
|
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
|
|
|
|
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::
|
2001-03-23 02:05:29 +00:00
|
|
|
$(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
|
2000-10-11 07:35:02 +00:00
|
|
|
|
2001-03-23 02:05:29 +00:00
|
|
|
OBJECTS=atalk-utils.obj \
|
|
|
|
bitswap.obj \
|
2001-04-02 09:21:31 +00:00
|
|
|
column-utils.obj \
|
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
|
|
|
conversation.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
epan.obj \
|
|
|
|
except.obj \
|
|
|
|
filesystem.obj \
|
2001-04-01 04:13:14 +00:00
|
|
|
frame_data.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 \
|
2001-04-01 05:49:31 +00:00
|
|
|
osi-utils.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
packet.obj \
|
2001-04-01 04:50:42 +00:00
|
|
|
packet_info.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
plugins.obj \
|
|
|
|
proto.obj \
|
|
|
|
resolv.obj \
|
2001-03-23 02:05:29 +00:00
|
|
|
sna-utils.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
strutil.obj \
|
2001-04-01 02:52:10 +00:00
|
|
|
to_str.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
tvbuff.obj \
|
2001-04-01 03:18:41 +00:00
|
|
|
value_string.obj \
|
2000-10-11 07:35:02 +00:00
|
|
|
|
2001-02-02 04:03:43 +00:00
|
|
|
|
|
|
|
all: ftypes dfilter ethereal.lib
|
|
|
|
|
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
|
|
|
|
2000-10-17 09:25:37 +00:00
|
|
|
config.h : config.h.win32
|
2001-04-05 04:39:29 +00:00
|
|
|
sed -e s/@VERSION@/$(VERSION)/ < config.h.win32 > $@
|
2000-10-11 07:35:02 +00:00
|
|
|
|
|
|
|
clean:
|
2001-04-12 18:07:22 +00:00
|
|
|
rm -f $(OBJECTS) ethereal.lib config.h
|
2001-02-02 04:03:43 +00:00
|
|
|
cd ftypes
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2001-02-02 04:03:43 +00:00
|
|
|
cd ../dfilter
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake clean
|
2001-02-02 04:03:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
ftypes::
|
|
|
|
cd ftypes
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2001-02-02 04:03:43 +00:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
dfilter::
|
|
|
|
cd dfilter
|
2001-03-06 13:08:13 +00:00
|
|
|
$(MAKE) /$(MAKEFLAGS) -f Makefile.nmake
|
2001-02-02 04:03:43 +00:00
|
|
|
cd ..
|