A
Summary of Commands
mkAlerter
UCS 1000 R4.2 Administration 585-313-507
Issue 3 April 2000 530
mkAlerter
The mkAlerter command reads an alerter description and generates C or
C++ code that implements the description.
Synopsis
mkAlerter
[-M] [-o {executable}] [-p {templ-path}] [-t [-f]] [-q]
[-v] [-l] [X=Y...] [{alerterfile}.A...]
Description
The
mkAlerter command is a program that reads an alerter description and
translates it, with the help of code template files, into compilable C or C++
code. It also produces a make file for compiling the code. Alerter description
files always have a “.A” extension. By default, mkAlerter produces a single
source file, with an extension of “.c”. It also produces a header file (extension
“.h”) and a make file (extension “.mk”). If the make file already exists,
mkAlerter does not overwrite the existing file. This allows you to modify the
make file as desired without fear of it being destroyed the next time
mkAlerter
is used, but does take advantage of the knowledge contained in
the make file template used by mkAlerter when it does create a make file.
The source file and the header are
always
overwritten each time mkAlerter is
run. No modifications should ever be made to these intermediate source files,
since the changes are lost the next time mkAlerter is run. If the
-M
flag is
specified at execution time, mkAlerter splits the source file produced into two