aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorGilbert Ramirez <gram@alumni.rice.edu>2001-03-23 02:05:29 +0000
committerGilbert Ramirez <gram@alumni.rice.edu>2001-03-23 02:05:29 +0000
commite108afe2bb9c855ad17700d9e177f6f59f68ee8b (patch)
tree8a6e6a175e5f3a7bf451abf5d15c0107ba43378c /gtk
parent2218ce1220aba62c515952ac2d79844bccea1ba9 (diff)
The Win32 build builds wiretap as a DLL and requires WinPcap 2.1.
svn path=/trunk/; revision=3163
Diffstat (limited to 'gtk')
-rw-r--r--gtk/Makefile.nmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk/Makefile.nmake b/gtk/Makefile.nmake
index dfbbb83527..cf7fabf8e9 100644
--- a/gtk/Makefile.nmake
+++ b/gtk/Makefile.nmake
@@ -2,13 +2,15 @@ include ..\config.nmake
############### no need to modify below this line #########
-CFLAGS=/MT /DHAVE_CONFIG_H /I.. /I../epan /I../wiretap \
+CFLAGS=-DHAVE_CONFIG_H /I.. /I../epan /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)
+CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
+
{$S}.c{$O}.obj::
- $(CC) $(CFLAGS) -Fd$O\ -c $<
+ $(CC) $(CVARSDLL) $(CFLAGS) -Fd$O\ -c $<
# gtkclist.obj is not in here because it is gtk+-1.2 code,
# while the DLL for GTK+ on windows is gtk+-1.3, and there's