Installation guide
2: Server-Resident Application Software Development
DC 900-1325I 25
2.1.2 Software Development Directory Structure
Protogate has provided a directory hierarchy for the development of SRAs and other
software on the Freeway. Listed below are the directories that are important for devel-
oping software on the Freeway server:
/usr/local/freeway/client/test/sra
This directory includes the source code and make file for the sample SRA
(filter.c). The make file invokes the compiler and linker to generate the
shared object file (filter.so).
/usr/local/freeway/client/test/yoursra
You create this directory to contain the source code and make file for the
SRA that you are developing (where yoursra is the name of your SRA
project). The make file invokes the compiler and linker to generate the
object file (yoursra.o) and executable file (yoursra).
/usr/local/freeway/client/test/protocol
This directory includes the source code, DLI/TSI configuration files, and
make file for the loopback test program associated with a particular pro-
tocol software package (where protocol is the name or mnemonic of the
protocol software). An example is the Sample Protocol Software where
the subdirectory name is sps and the loopback source file name is spsalp.c.
The make file invokes the compiler and linker to generate the object file
(spsalp.o) and executable file (spsalp). The make file also generates the
binary DLI/TSI configuration files, then places them along with the exe-
cutable file in the /usr/local/
freeway/client/bsd/bin directory.