mkdep.perl is a makedepend kind of program, which utilizes a system compiler (preprocessor) to figure out the dependencies. This version does not include system headers to generated dependency list. Currently dependency output is written to stdout instead of editing the Makefile.