forked from osmocom/wireshark
Add GNU ADNS to the Windows build environment. A precompiled DLL can be
found at http://adns.jgaa.com/ and http://www.ethereal.com/distribution/win32/development/ The modifications to the root-level config.h.win32 and Makefile.nmake may not be neccessary. svn path=/trunk/; revision=7769
This commit is contained in:
parent
4eaff6dc18
commit
f755cf5034
|
@ -1,7 +1,7 @@
|
||||||
## Makefile for building ethereal.exe with Microsoft C and nmake
|
## Makefile for building ethereal.exe with Microsoft C and nmake
|
||||||
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
||||||
#
|
#
|
||||||
# $Id: Makefile.nmake,v 1.300 2003/05/29 17:59:51 guy Exp $
|
# $Id: Makefile.nmake,v 1.301 2003/06/02 18:40:00 gerald Exp $
|
||||||
|
|
||||||
include config.nmake
|
include config.nmake
|
||||||
include <win32.mak>
|
include <win32.mak>
|
||||||
|
@ -17,6 +17,7 @@ CFLAGS=-DHAVE_CONFIG_H $(LOCAL_CFLAGS) /I$(GLIB_DIR) /I$(GLIB_DIR)\gmodule \
|
||||||
/I$(GTK_DIR) /I. /Iwiretap /I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
|
/I$(GTK_DIR) /I. /Iwiretap /I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
|
||||||
/I$(ZLIB_DIR) /I$(PCAP_DIR)\include \
|
/I$(ZLIB_DIR) /I$(PCAP_DIR)\include \
|
||||||
/I$(NET_SNMP_DIR)\include /I$(NET_SNMP_DIR)\win32 \
|
/I$(NET_SNMP_DIR)\include /I$(NET_SNMP_DIR)\win32 \
|
||||||
|
/I$(ADNS_DIR)\src /I$(ADNS_DIR)\adns_win32 \
|
||||||
-D_U_=""
|
-D_U_=""
|
||||||
|
|
||||||
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
||||||
|
@ -450,7 +451,8 @@ ethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
||||||
$(GTK_DIR)\gdk\gdk-$(GTK_VERSION).lib \
|
$(GTK_DIR)\gdk\gdk-$(GTK_VERSION).lib \
|
||||||
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
||||||
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib \
|
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib \
|
||||||
$(NET_SNMP_DIR)\win32\lib\libsnmp.lib
|
$(NET_SNMP_DIR)\win32\lib\libsnmp.lib \
|
||||||
|
$(ADNS_DIR)\adns_win32\lib\adns_dll.lib
|
||||||
# $(PCAP_DIR)\lib\wpcap.lib
|
# $(PCAP_DIR)\lib\wpcap.lib
|
||||||
|
|
||||||
tethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
tethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
||||||
|
@ -459,7 +461,8 @@ tethereal_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
||||||
wsock32.lib user32.lib \
|
wsock32.lib user32.lib \
|
||||||
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
$(GLIB_DIR)\glib-$(GLIB_VERSION).lib \
|
||||||
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib \
|
$(GLIB_DIR)\gmodule\gmodule-$(GLIB_VERSION).lib \
|
||||||
$(NET_SNMP_DIR)\win32\lib\libsnmp.lib
|
$(NET_SNMP_DIR)\win32\lib\libsnmp.lib \
|
||||||
|
$(ADNS_DIR)\adns_win32\lib\adns_dll.lib
|
||||||
|
|
||||||
editcap_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
editcap_LIBS= wiretap\wiretap-$(WTAP_VERSION).lib \
|
||||||
wsock32.lib user32.lib \
|
wsock32.lib user32.lib \
|
||||||
|
|
15
README.win32
15
README.win32
|
@ -1,4 +1,4 @@
|
||||||
$Id: README.win32,v 1.45 2003/04/07 22:39:25 guy Exp $
|
$Id: README.win32,v 1.46 2003/06/02 18:40:00 gerald Exp $
|
||||||
|
|
||||||
Installing Ethereal, Tethereal, and Editcap on Win32
|
Installing Ethereal, Tethereal, and Editcap on Win32
|
||||||
====================================================
|
====================================================
|
||||||
|
@ -146,15 +146,20 @@ or the mirror site at
|
||||||
|
|
||||||
Compiling the Ethereal distribution from source
|
Compiling the Ethereal distribution from source
|
||||||
===============================================
|
===============================================
|
||||||
|
|
||||||
You'll need the development packages for GLIB, GTK+, WinPcap, zlib,
|
You'll need the development packages for GLIB, GTK+, WinPcap, zlib,
|
||||||
and Net-SNMP. The GLIB, GTK+, and WinPcap packages are available from
|
Net-SNMP, and ADNS. The GLIB, GTK+, and WinPcap packages are available
|
||||||
the respctive home pages for each project (the same URLs as listed
|
from the respctive home pages for each project (the same URLs as listed
|
||||||
above). The development packages contain header files and stub libaries
|
above). The development packages contain header files and stub libaries
|
||||||
to link against. Precompiled zlib and Net-SNMP packages are available
|
to link against. Precompiled zlib, Net-SNMP, and ADNS packages are
|
||||||
at
|
available at
|
||||||
|
|
||||||
http://www.ethereal.com/distribution/win32/
|
http://www.ethereal.com/distribution/win32/
|
||||||
|
|
||||||
|
The ADNS package is also available at its homepage:
|
||||||
|
|
||||||
|
http://adns.jgaa.com/
|
||||||
|
|
||||||
|
|
||||||
Instructions for MS Visual C++
|
Instructions for MS Visual C++
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: config.h.win32,v 1.38 2002/10/23 18:27:33 guy Exp $ */
|
/* $Id: config.h.win32,v 1.39 2003/06/02 18:40:00 gerald Exp $ */
|
||||||
/* config.h.win32 Generated manually. :-) */
|
/* config.h.win32 Generated manually. :-) */
|
||||||
/* config.h. Generated automatically by configure. */
|
/* config.h. Generated automatically by configure. */
|
||||||
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||||
|
@ -109,6 +109,10 @@
|
||||||
/* Define if you have the z library (-lz). */
|
/* Define if you have the z library (-lz). */
|
||||||
#define HAVE_LIBZ 1
|
#define HAVE_LIBZ 1
|
||||||
|
|
||||||
|
/* Define to use GNU ADNS library */
|
||||||
|
#define HAVE_GNU_ADNS 1
|
||||||
|
#define ADNS_JGAA_WIN32 1
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#define WIN32 1
|
#define WIN32 1
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# $Id: config.nmake,v 1.38 2003/05/01 03:09:51 gerald Exp $
|
# $Id: config.nmake,v 1.39 2003/06/02 18:40:00 gerald Exp $
|
||||||
|
|
||||||
VERSION=0.9.12
|
VERSION=0.9.12
|
||||||
RC_VERSION=0.9.12
|
RC_VERSION=0.9.12
|
||||||
|
@ -12,6 +12,7 @@ GTK_DIR=C:\ethereal-win32-libs\gtk+
|
||||||
ZLIB_DIR=C:\ethereal-win32-libs\zlib-1.1.3
|
ZLIB_DIR=C:\ethereal-win32-libs\zlib-1.1.3
|
||||||
PCAP_DIR=C:\ethereal-win32-libs\WPdpack
|
PCAP_DIR=C:\ethereal-win32-libs\WPdpack
|
||||||
NET_SNMP_DIR=C:\ethereal-win32-libs\net-snmp-5.0.6
|
NET_SNMP_DIR=C:\ethereal-win32-libs\net-snmp-5.0.6
|
||||||
|
ADNS_DIR=C:\ethereal-win32-libs\adns-1.0-win32-01
|
||||||
|
|
||||||
COMMON_FILES_GNU=c:\program files\common files\gnu
|
COMMON_FILES_GNU=c:\program files\common files\gnu
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
## Makefile for building ethereal.exe with Microsoft C and nmake
|
## Makefile for building ethereal.exe with Microsoft C and nmake
|
||||||
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
## Use: $(MAKE) /$(MAKEFLAGS) -f makefile.nmake
|
||||||
#
|
#
|
||||||
# $Id: Makefile.nmake,v 1.23 2002/10/22 08:22:05 guy Exp $
|
# $Id: Makefile.nmake,v 1.24 2003/06/02 18:40:01 gerald Exp $
|
||||||
|
|
||||||
include ..\config.nmake
|
include ..\config.nmake
|
||||||
|
|
||||||
|
@ -10,6 +10,7 @@ include ..\config.nmake
|
||||||
CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../wiretap \
|
CFLAGS=-DHAVE_CONFIG_H /I. /I.. /I../wiretap \
|
||||||
/I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
|
/I$(GLIB_DIR) /I$(GTK_DIR) /I$(GLIB_DIR)/gmodule \
|
||||||
/I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
|
/I$(GTK_DIR)\gdk /I$(GTK_DIR)\gdk\win32 \
|
||||||
|
/I$(ADNS_DIR)\src /I$(ADNS_DIR)\adns_win32 \
|
||||||
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
|
/I$(PCAP_DIR)\include -D_U_="" $(LOCAL_CFLAGS)
|
||||||
|
|
||||||
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
CVARSDLL=-DWIN32 -DNULL=0 -D_MT -D_DLL
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: config.h.win32,v 1.10 2002/06/23 10:32:32 guy Exp $ */
|
/* $Id: config.h.win32,v 1.11 2003/06/02 18:40:01 gerald Exp $ */
|
||||||
/* config.h.win32 Generated manually. :-) */
|
/* config.h.win32 Generated manually. :-) */
|
||||||
/* config.h. Generated automatically by configure. */
|
/* config.h. Generated automatically by configure. */
|
||||||
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
/* config.h.in. Generated automatically from configure.in by autoheader. */
|
||||||
|
@ -71,6 +71,10 @@
|
||||||
/* Define if you have the <unistd.h> header file. */
|
/* Define if you have the <unistd.h> header file. */
|
||||||
/* #undef HAVE_UNISTD_H */
|
/* #undef HAVE_UNISTD_H */
|
||||||
|
|
||||||
|
/* Define to use GNU ADNS library */
|
||||||
|
#define HAVE_GNU_ADNS 1
|
||||||
|
#define ADNS_JGAA_WIN32 1
|
||||||
|
|
||||||
#define HAVE_PLUGINS 1
|
#define HAVE_PLUGINS 1
|
||||||
#define PLUGINS_NEED_ADDRESS_TABLE 1
|
#define PLUGINS_NEED_ADDRESS_TABLE 1
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
;
|
;
|
||||||
; ethereal.nsi
|
; ethereal.nsi
|
||||||
;
|
;
|
||||||
; $Id: ethereal.nsi,v 1.12 2003/04/21 21:28:36 guy Exp $
|
; $Id: ethereal.nsi,v 1.13 2003/06/02 18:40:02 gerald Exp $
|
||||||
|
|
||||||
; ============================================================================
|
; ============================================================================
|
||||||
; Header configuration
|
; Header configuration
|
||||||
|
@ -76,6 +76,7 @@ File "${COMMON_FILES_GNU}\glib-1.3.dll"
|
||||||
File "${COMMON_FILES_GNU}\gmodule-1.3.dll"
|
File "${COMMON_FILES_GNU}\gmodule-1.3.dll"
|
||||||
File "${COMMON_FILES_GNU}\gnu-intl.dll"
|
File "${COMMON_FILES_GNU}\gnu-intl.dll"
|
||||||
File "${COMMON_FILES_GNU}\zlib.dll"
|
File "${COMMON_FILES_GNU}\zlib.dll"
|
||||||
|
File "${COMMON_FILES_GNU}\adns_dll.dll
|
||||||
File "..\..\FAQ"
|
File "..\..\FAQ"
|
||||||
File "..\..\README"
|
File "..\..\README"
|
||||||
File "..\..\README.win32"
|
File "..\..\README.win32"
|
||||||
|
|
Loading…
Reference in New Issue