- How to Build
- How to Use
- Tested on
- CVS Repository
AutoDepend is a enhanced GNUmake that keeps track of all file access during a build process and
then generates gnu-make dependancies sub-makefiles.
A file audit can be perform to avoid classic modification date check problems
Look at the SourceForge autodepend project page
- Make dependency file
- generate a audit code for all used files
supported audit methods are
- CVS : CVS version
- RCS : RCS version
- MD5 : MD5 code
- TSP : Time Stamp
- CC : Clearcase version ;-)
- cause a rebuild if audit code doesn't match
- multi-target synchronization using +
target1 + target2: prereq1 ...
- $(TARGETS) keep track of all targets in order to make a easy clean rule
autodepend try to link its own share library to child programs using LD_PRELOAD.
So you need to run only ELF binaries
- Some binaries don't load the LD_PRELOAD like the Solaris cc. You need to use gcc !
How to Build
- configure --enable-autodepend
- make && make install
How to Use
- In the Makefile add rule .AUTODEPEND to enable dependency generation and include dependancy files
add rule .AUDIT to enable audit rules
Optionally, set the audit method list. The list is ordered. If an audit code can't be generated (ex:file not under CVS) the next audit method is tried.
(of course MD5 and TSP are always avalaible.)
- SUN4SOL2 : Solaris 2.7
- LINUX : Mandrake 6.0, Rehat 9.0, Fedora3
Anonymous CVS Access
This project's SourceForge CVS repository can be checked out
through anonymous (pserver) CVS with the following instruction set. The
module you wish to check out must be specified as the modulename. When
prompted for a password for anonymous, simply press the Enter key.
Updates from within the module's directory do not need the -d parameter.
cvs -z3 -d:pserver:email@example.com:/cvsroot/autodepend