BGLDEPEND(1)
π BGLDEPEND β¨
okay bestie, so this is the manual page for bgldepend, a General Commands Manual situation, and it is literally the tool that makes your Bigloo makefiles β¨self-awareβ¨. strap in.
π NAME π
bgldepend β create Bigloo dependencies in makefiles π«Ά
πΈ SYNOPSIS πΈ
bgldepend [ options ] sourcefile ...
π¦ DESCRIPTION π¦
so here's the vibe: bgldepend reads each sourcefile one after another, in sequence, and parses it to find the module include and import module directives. then β and this is the iconic part β it computes the transitive closure of the import relationship. meaning: you literally only have to hand bgldepend one single Bigloo file that imports all the project files (like, say, the "main" file) and it figures out the rest. main character energy, honestly.
every file that a sourcefile includes, whether directly or indirectly, is what bgldepend calls a dependency. those dependencies then get written into a makefile in such a way that make(1) will know exactly which object files must be recompiled when a dependency has changed. no stale builds, no cap. π
by default, bgldepend writes its output to the standard output device. but if you give it a -o makefile option, it will instead update that makefile file. how? it searches the makefile for the line:
# bgldepend start (don't edit)
and for:
# bgldepend stop
and the dependencies get written in between those two lines. sandwiched. cozy. π₯ͺ
β¨ OPTIONS β¨
fileβ this is a file implementing a module.Afilereads that file to discover the name of the implemented module.-search-path <path>β adds path to the directory list that gets read when searching for Bigloo source files. more places to look, more slay.-exclude-path <path>β excludes path from the directory list that gets read when searching for Bigloo source files. not here, girl. π-suffix <suf>β adds suf to thebmakesource file suffixes list. the default suffixes are"scm","sch"and"bgl". π-vβ verbose mode. she talks more.-o <makefile>β the name of the makefile file to be updated.
π EXAMPLE π
normally, bgldepend gets used inside a makefile target, so that typing make bgldepend brings the dependencies up to date for the makefile. for example:
MAIN=foo.scm
SRCS = $(MAIN) bar.scm gee.scm
bgldepend:
bgldepend -o Makefile $(MAIN)
look at her go. π₯
π SEE ALSO π
bigloo(1), bglafile(1), bglmake(1), bglpp(1), bglprof(1), bgltags(1), make(1)
the whole friend group fr fr.
π AUTHOR π
Manuel SERRANO, Manuel.Serrano@inria.fr
and that's the whole page, bestie β written up in the General Commands Manual, dated Aug 15 1998, filed under BGLDEPEND(1). go update those makefiles, you've got this. πβ¨π
π¦ where this page comes from
- arch rolling: bigloo 4.7a-1 Β· GPL AND LGPL
- fedora 43: bigloo 4.6a-6.fc43 Β· GPL-2.0-or-later
- fedora 44: bigloo 4.6a-9.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms