aemakegen(1)

NAME
aemakegen - generate a Makefile.in from file manifest

SYNOPSIS
aemakegen [ option... ][ filename... ]
aemakegen -Help
aemakegen -VERSion

DESCRIPTION
The aemakegen command is used to generate a Makefile.in file from a file manifest. The file manifest is the set of file specified on the command line.

If a project or change number is mentioned on the command line, the search path and file manifest is derived from Aegis meta-data. File names on the command line are considered to be additional files, and will be added to the manifest.

If no project or change number is mentioned on the command line, it is assumed that the files named on the command line are all the files the makefile is to be generated from.

  Project Structure
The aemakegen command assumes a particular project structure. This is as follows:

lib/
    The lib directory contains C++ files to be compiled, and placed into the lib/lib.a file, to be linked with the other executables.

prog/
    Each executable is contained in its own directory. Which directories contain programs are determined by the presence of a main.cc file.

bin/
    Each program is compiled and linked, with the executable placed in the bin directory.

OPTIONS
The following options are understood:

-SCRipt pattern
    This option may be used to nominate file which are scripts. The patterns are normal shell file name globbing patterns, so you may need to quote it. You may use this option more than once. Scripts in the script/ or scripts/ directories will be installed. Scripts with a basename starting with test_ will be build to support the “make check” target.

-Search_Path directory
    The search path option may be used to specify the search path. This option may be given more than once.

-TArget name
    The option may be used to select the desired output format by name. The known names are:

    automake
        Generate automake(1) input, suitable for use as a top-level Makefile.am file.

    makefile
        Generate make(1) input, suitable for as as a top-level Makefile.in file. This is the default.