1BGLMAKE(1)                  General Commands Manual                 BGLMAKE(1)
2
3
4

NAME

6       bglmake - create or update Bigloo makefiles
7
8

SYNOPSIS

10       bglmake [ options ] [ sourcefile ]
11
12

DESCRIPTION

14       bglmake reads sourcefile, computes the transitive closure of the import
15       relationship and generates a makefile file that  can  be  used  by  the
16       glmake(1)  program  to  compile  the application or the library.  If no
17       sourcefile is provided, then bglmake display the template file for gen‐
18       erating Makefile.
19
20

OPTIONS

22       -v              Verbose mode
23
24
25       -q              Prevent loading the ~/.bglmakerc user configura‐
26                       tion file.
27
28
29       -suffix <suf>   Adds suf to the  bglmake  source  file  suffixes
30                       list.  Default  suffixes  are  "scm",  "sch" and
31                       "bgl".
32
33
34       file            is the name of the "main" file for  an  applica‐
35                       tion  of  the  name  of  the  "heap"  file for a
36                       library.
37
38
39       -I<path>        Add path to the directory list read for  search‐
40                       ing Bigloo source files.
41
42
43       -X<path>        Exclude  path  from  the directory list read for
44                       searching Bigloo source files.
45
46
47       -o <makefile>   The name of the makefile file to be updated
48
49
50       -p <name>       The name of the project. This name  is  used  in
51                       backup and versionning entries.
52
53
54       -t <name>       The  name  of the target binary file or the name
55                       of the library.
56
57
58       -f<template>    Set an alternative template file.
59
60
61       -object <obj>   Update the makefile for adding obj to the object
62                       list.
63
64
65       -source <src>   Update the makefile for adding src to the source
66                       file list.
67
68
69       -main <file>    Set the initial main file and tells bglmake that
70                       the  project  is an "application" (by opposition
71                       to libraries). This File is the  starting  point
72                       of  the  transitive closure of the imported mod‐
73                       ules.
74
75
76       -heap <file>    Set the initial heap file and tells bglmake that
77                       the  project  is  an "library" (by opposition to
78                       applications). This File is the  starting  point
79                       of  the  transitive closure of the imported mod‐
80                       ules.
81
82

TEMPLATES

84       When bglmake generates a makefile,  it  uses  templates.  Theses
85       templates  may  be specified with some option or they be printed
86       out. For that it is enough to call bglmake without  any  parame‐
87       ter. Template files uses some extra "macro". They are:
88
89
90
91       $[PROJECT]
92            this macro is replaced with the project name (option
93            -p). If no -p option is  used  the  default  project
94            name  is the name of the current directory that con‐
95            tains the sourcefile.
96
97
98       $[TARGET_NAME]
99            this macro is replaced with the target name  (option
100            -t). If no -t option is used the default target name
101            is the name of the current directory  that  contains
102            the sourcefile.
103
104
105       $[MAKEFILE]
106            this  macro  is  replaced with the makefile name (-o
107            option).
108
109

EXAMPLE

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

SEE ALSO

116       bigloo(1),    bglafile(1),    bgldepend(1),   bgltags(1),
117       make(1), bglmco(1)
118
119

AUTHOR

121       Manuel SERRANO, Manuel.Serrano@inria.fr
122
123
124
125
126
127                                  Aug 15 1998                       BGLMAKE(1)
Impressum