blob: 287ce84e42f06f2ea8cc69e7fa108378b758c040 (
plain)
1
2
3
4
5
6
|
#!/usr/bin/perl -p
# Usage: $0 [<].depend
# Takes dependency info and generates on stdout dependencies suitable for
# distribution by removing all the system include files from the list.
($h,$_)=/\s*\\/?$h.$`:("","$h\n");
s|( +/\S*)*( *)|$2?" \\\n ":""|eg;
|