cc/td/doc/product/tel_pswt/vco_prod
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

ASIST Installation

ASIST Installation

The ASIST products were developed on a Sun Microsystems SPARCstation running SunOS 4.1. The ASIST product is independent of any particular operating system. The media contents and installation/compilation procedures for ASIST are described in this chapter.

ASIST Media

All ASIST files reside on a single 3.5-inch diskette (1.44-MB double sided, high-density), shown in the form of a tar file. When expanded, the files listed in Table 1-1are included:


Table 1-1: ASIST Files
File Name File Name File Name

./asist/api/Makefile

api_isdn.c

api_sub_switch.c

api_ctrl.c

api_isdn.h

api_sub_switch.h

api_ctrl.h

api_mf.c

api_tone.h

api_dcc.c

api_mf.h

asist.h

api_dcc.h

api_msg.h

asist_test.c

api_digit.c

api_net.c

asist_test.h

api_dtmf.c

api_net.h

command.c

api_dtmf.h

api_nsbmsg.h

dvc_prompts.h

api_dvc.c

api_path.c

isdn_ie.c

api_dvc.h

api_path.h

isdn_ie.h

api_dvcmsg.h

api_src.c

nsb_errmsg.h

api_ex1.c

api_src.h

report.c

api_ex2.c

api_stat.c

sds_cardtype.h

api_hook.c

api_stat.h

types.h

api_hook.h

Installing and Compiling

To copy the ASIST files from the supplied media, enter the appropriate Unix tar command as follows:

tar xvf /dev/rfd0 ./asist/api (SunOS)
tar xvf /dev/f0t ./asist/api (System V)

To guide you when compiling the source code, this ASIST product includes a makefile for all the source modules. To compile the ASIST product, use the make file.


Note   The ASIST example program modules, api_ex1.c and api_ex2.c, must be compiled separately. The ASIST makefile does not compile the example modules.

A C language preprocessor flag, "-DBSD", is used in each makefile. When present, this flag indicates that the target operating system is SunOS; its absence indicates a System V environment.

make all

Build all modules that are out of date and create libasist.a, the make utility. Compile each file, and the header files it uses, into the object (.o) file. A new object file is created when the source file or any of the header files have changed, and when the object file doesn't exist.

Object files are created, then combined into a library using the ar utility. ranlib randomizes the library when the object files are combined. This makes the library link much faster.

make clean

With the clean target, the make removes the object files (.o) and the library.

make install

With the install target, the make builds the library if it needs to be built, then copies it to the release areas as determined by INCDEST and LIBDEST.

INCDEST declares the path name of the directory where the include files are stored. The ASIST library is shipped with the INCDEST set to /usr/local/include/asist.

LIBDEST declares the path name of the directory where the library file is stored. The ASIST library is shipped with the LIBDEST set to /usr/local/lib.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Fri Mar 2 16:50:01 PST 2001
All contents are Copyright © 1992--2001 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.