rc
NFR includes a program (rc) to compile alerting resource files.
Syntax
rc -o destdir [-h] [-v] source [source...]
Options
- o destdir
- Specifies the directory where rc places all of its files, except facilities.cf.
The resource compiler always places facilities.cf in the $NFRHOME/rc/resources directory.
- h
- Creates the header file res.h in the destination directory. The header file
contains #define statements that you can include in C code.
- v
- Turns on verbose output. When using verbose output, the resource compiler prints
non-fatal warning messages during resource compilation and some statistics on completion.
- source [source...]
- Specifies the source files that you want to compile.
Output Files
- alert.res
- A binary file containing alert resources. This file contains a header of fixed
length followed by the index of the file, followed by the resource data.
- alertsrc.res
- A binary file containing alert source resources. This file contains a header of
fixed length followed by the index of the file, followed by the resource data.
- facilities.cf
- A text file containing mappings for any defined facilities defined. The alert
daemon uses this file to initialize external queues and builtin target facilities.
- res.h
- A text file containing resource mappings in #define syntax. This file is
intended for use as a header file in C programs.
- res.map
- A text file containing mappings (name=value) for all identifiers, except facilities,
referenced in the sources.
- strings.res
- A binary file containing string resources. This file contains a header of fixed
length followed by the index of the file, followed by the resource data.
|