aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/Makefile.nmake
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-10-24 07:08:26 +0000
committerGuy Harris <guy@alum.mit.edu>2002-10-24 07:08:26 +0000
commitae1ebc09da31f6a69f96b0ee0a01505ef10ccbe0 (patch)
treeb2bb4c308fc1bb70991458a136a98a11352085fa /gtk/Makefile.nmake
parentd3c91154c5fa76ea978658fa7b644d4fea3a093d (diff)
Don't include the header file to get the SNMP version unless we're
building with an SNMP library. If we have Net-SNMP, include <net-snmp/version.h>, not <ucd-snmp/version.h>. Don't include any of the SNMP headers unless HAVE_SOME_SNMP is defined. Include <net-snmp/config_api.h> if we have Net-SNMP, to declare "read_premib_configs()" and "read_configs()". Supply the include directories for Net-SNMP in the Makefile.nmake for GTK 1.2 and GTK 2. svn path=/trunk/; revision=6493
Diffstat (limited to 'gtk/Makefile.nmake')
-rw-r--r--gtk/Makefile.nmake5
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/Makefile.nmake b/gtk/Makefile.nmake
index a834050e85..4edefe0e00 100644
--- a/gtk/Makefile.nmake
+++ b/gtk/Makefile.nmake
@@ -1,7 +1,7 @@
## Makefile for building ethereal.exe with Microsoft C and nmake
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
#
-# $Id: Makefile.nmake,v 1.31 2002/09/23 17:07:39 jmayer Exp $
+# $Id: Makefile.nmake,v 1.32 2002/10/24 07:08:24 guy Exp $
include ..\config.nmake
@@ -13,7 +13,8 @@ CFLAGS=-DHAVE_CONFIG_H /I.. /I../wiretap \
/I$(ZLIB_DIR) \
/I$(PCAP_DIR)\WPCAP\LIBPCAP /I$(PCAP_DIR)\WPCAP\LIBPCAP\bpf \
/I$(PCAP_DIR)\WPCAP\LIBPCAP\lbl \
- /I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
+ /I$(PCAP_DIR)\include /I$(NET_SNMP_DIR)\include \
+ /I$(NET_SNMP_DIR)\win32 -D_U_="" $(LOCAL_CFLAGS)
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL