freebsd-skq/usr.bin/mkdep
Bruce Evans 207a4c998a Use cc -E instead of cpp for the preprocessor by default. cc -E is
correct for C sources that are compiled by cc, while cpp (/usr/bin/cpp)
is bogus since it invokes /usr/libexec/cpp with different flags.
1.1.5 uses plain cc.  This should be equivalent after -M is added, but
cc -M foo.s is completely broken (it invokes the assembler) while
cc -E -M foo.s just does nothing instead of generating a foo.o: foo.s
dependency.

IF $MKDEP_CPP is set, use it as the cpp instead of cc -E.  Assembler
sources that are preprocessed using cpp directly should be mkdep'ed
with MKDEP_CPP=cpp.  Such sources shouldn't exist but we still have
lots.  foo.S should be compiled by cc -traditional (cc will invoke the
preprocessor) and foo.s should be compiled by cc (cc won't invoke the
preprocessor).
1994-08-30 16:36:49 +00:00
..
Makefile More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
mkdep.1 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mkdep.append BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mkdep.gcc.sh Use cc -E instead of cpp for the preprocessor by default. cc -E is 1994-08-30 16:36:49 +00:00
mkdep.old.compiler BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mkdep.sh BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00
mkdep.ultrix BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00