Commit Graph

10 Commits

Author SHA1 Message Date
Wolfram Schneider
4a90dceb95 $@ -> "$@", now ``mkdep "foo bar".c'' works.
Do not exit with status 0 if mkdep(1) cannot create output,
e.g. if .depend is not writable or the FS is readonly mounted.

Store arguments as comments for debugging purpose.
1996-10-27 15:53:18 +00:00
Wolfram Schneider
4c3dfdc376 $* -> $@
check exit code from $MKDEP_CPP, not sed(1)
1996-04-05 22:13:49 +00:00
Wolfram Schneider
506745c8a5 remove /usr/ucb from path
cleanup Makefile
1996-03-12 21:37:05 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
Rodney W. Grimes
b615e5e776 Fix -p option sed script so that it really does change program.o: into
program:.  There where extra spaces our gcc does not emit causing problems.
Obtained from:	FreeBSD 1.1.5.1
1994-10-03 23:01:03 +00:00
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
Paul Richards
6b4c995bf9 Change cc back to cpp for now.
Reviewed by:
Submitted by:
1994-08-21 07:56:40 +00:00
Paul Richards
74ed9b13d8 Changed cpp to cc since cpp is hidden away in /usr/libexec
Reviewed by:
Submitted by:
1994-08-20 11:22:58 +00:00
Garrett Wollman
b35bdc400c More merry makefile munging for man page compatability. 1994-08-05 19:00:04 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00