SNMP Manager Programmer's Guide

Building Executable Managers
SNMP Manager Programmer’s Guide–134249
8-4
Building OSS Managers
Building OSS Managers
The make file that builds managers that run as OSS processes, ossmake, is shown in
Example 8-2. After modifying path names to reflect the location of files in your
environment, invoke the file as follows:
make ossmake
Numbers in Example 8-2 correspond to numbers in the observations made between here
and the example.
1. Defines are set up to identify paths for the local directory, the location of the
CWIDE model, the TCP/IP socket library, the Manager Services library, the sample
manager files, and the c89 utility. Modify these as required.
2. Compilation options and include file search paths are defined.
3. Defines for object files to use when binding are provided.
4. The build steps are defined.
5. The Manager Services library is archived from its Guardian location.
6. Starting with SNMPGET, each sample manager is compiled and bound with the
Manager Services library.
bind /inline,OUT $S.#WALK1/
[:bindOptions]
+ add * from SNMPFSO
+ add * from SNMPWLKO
+ add * from READMIBO
+ add * from RTUTILSO
+ build SNMPWALK!
+ exit
#pop bindOptions
#pop myParms
Example 8-1. Script for Building Guardian Managers (page 3 of 3)