aboutsummaryrefslogtreecommitdiffstats
path: root/gtk
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-27 09:42:52 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-02-27 09:42:52 +0000
commit9713dfc9db89efc301926a9c3d4069304ac66403 (patch)
tree7d61dda2c3a822cfc6971bd47bf643aaf6b79427 /gtk
parentacaeecc8fec144408ff9d43668906bc5c698c393 (diff)
From Joerg Mayer:
In the "configure.in" files, add -D_U_="__attribute__((unused))" to CFLAGS if we're using GCC, and add -D_U_="" otherwise, so _U_ can be used to mark arguments as unused. Add -D_U_="" arguments to the Makefile.nmake files as well, so _U_ works with Microsoft Visual C++ as well. Add comments and RCS IDs to the Makefile.nmake files that don't already have them. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4824 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r--gtk/Makefile.nmake7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/Makefile.nmake b/gtk/Makefile.nmake
index 9f6f07a291..171ea6a08b 100644
--- a/gtk/Makefile.nmake
+++ b/gtk/Makefile.nmake
@@ -1,3 +1,8 @@
+## Makefile for building ethereal.exe with Microsoft C and nmake
+## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
+#
+# $Id: Makefile.nmake,v 1.26 2002/02/27 09:42:43 guy Exp $
+
include ..\config.nmake
############### no need to modify below this line #########
@@ -7,7 +12,7 @@ CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap \
/I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
/I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
/I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
- /I$(PCAP_DIR)\include $(LOCAL_CFLAGS)
+ /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL