Perhaps in linux 2.1 and later:
make depend - uses perl script
make awkdepend - uses awk script
Doing it the other way also makes sense, but some users might not
realize that the perl version exists and would get slow behaviour.
OTOH, it would be more downwards compatible.
Perhaps have a depend script that checks for the presence of perl and
does The Right Thing? Shouldn't be too hard and would be the ideal
solution:
make depend - check for perl and run the appropriate dep script
make perldepend - use the perl dep script
make awkdepend - use the awk dep script
I like that. A simple bash test for the existence of perl should do
it, too.
Just my $.02,
Sumner Hayes
sumner@cmu.edu