APPGEN Manual
Contents
0.0: Invocation
appgen [-s] [spec file]
-s Do not include subbus support be default
Generates an application based on the spec_file input
If spec file isn't specified, appgen will look for a
file of the form *.spec. If there is a unique one, it
will be used.
appgen automatically overwrites the Makefile, so care
should be taken that it is not invoked where it is not
used.
Spec_file format:
# comment line
prefix = <prefix> (optional: derived from spec file name)
tmcbase = <files>
cmdbase = <files>
NOSUBBUS (equivalent to the -s option)
CLEANDIST (distributes into the bin/$VERSION hierarchy)
var = substitution (supported vars are SRC TOOL OBJ
TGT (targets to build. copied to $TGTDIR/bin/$VERSION)
SCRIPT (source to be copied to $TGTDIR/bin/$VERSION)
DISTRIB (other files to be copied to $TGTDIR/bin/$VERSION)
SRCDIST (source to be copied to $TGTDIR/bin/$VERSION/Base)
IDISTRIB (to be copied to $TGTDIR)
MNC (defaults to prefix)
HOMEDIR (defaults to cwd, less node)
TGTNODE TGTDIR
SERVER (defaults if server is generated)
SUBDIRS (passed on to Makefile)
SUBDIRS4 (passed on to Makefile)
NONRCS (backed up as SOURCE, but not RCSed)
target : <files>
...
%%
<additional Makefile contents>
The following target types are supported:
*algo TMCBASE dc usage
*col TMCBASE dg usage T1 etc.
*ext TMCBASE dc usage
*disp TMCBASE dc usage
*clt CMDBASE nl_cons, client usage
*srvr CMDBASE T1
*.dccc
*.sft
*doit
The following source types are supported:
*tmc.prt
*ext.prt
*.edf
*.cfg
*.tbl
*.fld
*.tma
*.cyc
*.tmc
*.tmg
*cmd.prt
*.cmd
*.c
*.slp (soldrv proxy) ==> .sol and something else
*.oui
*.doit
*.DR