UCD-SNMP 4.2.2 Static Library Build for Ethereal
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Please send comments to gordon@night-ray.com
Latest versions will be stored at: http://www.night-ray.com/resources/ucdsnmp-ethereal.zip


The following changes to Ethereal build files are required:

*** config.h.win32 ***
[add] #define HAVE_UCD_SNMP_SNMP_H
[add] #define HAVE_UCD_SNMP_VERSION_H


*** config.nmake ***
[add] UCDSNMP_DIR=D:\DevCommon\Ethereal\win32tools\ucd-snmp-4.2.2
[add] UCDSNMP_ESC=D:\\DevCommon\\Ethereal\\win32tools\\ucd-snmp-4.2.2
[add] /I$(UCDSNMP_DIR)  [to LOCAL_CFLAGS]


*** Makefile.nmake ***
[add] $(UCDSNMP_DIR)\lib\libsnmp.lib  [to ethereal_LIBS]
[add] $(UCDSNMP_DIR)\lib\libsnmp.lib  [to tethereal_LIBS]


*** packaging\nsis\ethereal.nsis.in ***
[add] Section "SNMP MIBs"
[add] ;-------------------------------------------
[add] SetOutPath c:\usr\mibs
[add] File "@UCDSNMP_DIR@\mibs\*.txt"
[add] SectionEnd


*** packaging\nsis\Makefile.nmake ***
[same] ethereal.nsi : ethereal.nsi.in
[same]         sed -e s/@VERSION@/$(VERSION)/ \
[same] 		   -e s/@WTAP_VERSION@/$(WTAP_VERSION)/ \
[add]		   -e s/@UCDSNMP_DIR@/$(UCDSNMP_ESC)/ \
[same]		   < ethereal.nsi.in > ethereal.nsi


