DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦01926a375⟧ TextFile

    Length: 328 (0x148)
    Types: TextFile
    Names: »makedep«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦e7f64e0c0⟧ »EurOpenD3/mail/vmh.tar.Z« 
        └─⟦dcb95597f⟧ 
            └─⟦this⟧ »bin/makedep« 

TextFile

#!/bin/awk -f
# used like:
#	CC -M <sources> | sed -e 's%\./%%' | makedep > depend
#
$1 != file {
	file = $1;
	printf "\n%s\t", $1;
}
(($1 == file) && ($2 !~ /\/usr\/include.*/)) {
	split (file, f1, ".");
	split ($2, f2, ".");
	if (f1[1] != f2[1] || (f1[1] == f2[1] && f2[2] == "h"))
		printf " %s", $2;
}
END {
	printf "\n";
}