Autodepend

Introduction

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

$(TARGETS) keep track of all targets in order to make a easy clean rule

Limits

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

.AUTODEPEND-include .autodeps/*.P

add rule .AUDIT to enable audit rules.AUDIT:

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.)AUDIT_METHOD=CVS:TSP

Tested on

SUN4SOL2 : Solaris 2.7

LINUX : Mandrake 6.0, Rehat 9.0, Fedora3

Download

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.