BGLMAKE(1) General Commands Manual BGLMAKE(1)

bglmake - create or update Bigloo makefiles

bglmake [ options ] [ sourcefile ]

bglmake reads sourcefile, computes the transitive closure of the import relationship and generates a makefile file that can be used by the glmake(1) program to compile the application or the library. If no sourcefile is provided, then bglmake display the template file for generating Makefile.

Verbose mode
Prevent loading the ~/.bglmakerc user configuration file.
Adds suf to the bglmake source file suffixes list. Default suffixes are "scm", "sch" and "bgl".
is the name of the "main" file for an application of the name of the "heap" file for a library.
Add path to the directory list read for searching Bigloo source files.
Exclude path from the directory list read for searching Bigloo source files.
The name of the makefile file to be updated
The name of the project. This name is used in backup and versionning entries.
The name of the target binary file or the name of the library.
Set an alternative template file.
Update the makefile for adding obj to the object list.
Update the makefile for adding src to the source file list.
Set the initial main file and tells bglmake that the project is an "application" (by opposition to libraries). This File is the starting point of the transitive closure of the imported modules.
Set the initial heap file and tells bglmake that the project is an "library" (by opposition to applications). This File is the starting point of the transitive closure of the imported modules.

When bglmake generates a makefile, it uses templates. Theses templates may be specified with some option or they be printed out. For that it is enough to call bglmake without any parameter. Template files uses some extra "macro". They are:

$[PROJECT]
this macro is replaced with the project name (option -p). If no -p option is used the default project name is the name of the current directory that contains the sourcefile.
$[TARGET_NAME]
this macro is replaced with the target name (option -t). If no -t option is used the default target name is the name of the current directory that contains the sourcefile.
$[MAKEFILE]
this macro is replaced with the makefile name (-o option).

A Makefile is created by ``bglmake foo.scm -o Makefile''. Then it may be updated with ``make updatemakefile''.

bigloo(1), bglafile(1), bgldepend(1), bgltags(1), make(1), bglmco(1)

Manuel SERRANO, Manuel.Serrano@inria.fr

Aug 15 1998