History log of /freebsd-10.1-release/usr.bin/mkdep/mkdep.gcc.sh
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 216370 11-Dec-2010 joel

Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with: imp, rwatson


# 50477 27-Aug-1999 peter

$Id$ -> $FreeBSD$


# 39123 13-Sep-1998 obrien

Remove -n for ignoring system headers. Instead add finer grain shell
macros and document them.

Prompted by: bde


# 38743 02-Sep-1998 obrien

Cut-n-paste fub.
Noticed by: bde


# 38615 29-Aug-1998 obrien

Add option `-n', causing system headers not to be included in dependacy
lists.

This is needed when using a non-stock compiler.


# 38520 24-Aug-1998 cracauer

When exiting on SIGINT, exit with signal status


# 38396 17-Aug-1998 jb

Remove the PATH setting.


# 23012 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


# 22641 13-Feb-1997 bde

Print error messages to stderr, not to stdout.

Fixed usage message to match reality (-a was missing) and man page
(arg names were spelled differently).


# 22024 26-Jan-1997 wosch

Store temp files in current directory instead /tmp. The current
directory is usually not world writable, this avoid security
problems due the evil Berkeleian symlinks.


# 21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


# 19208 27-Oct-1996 wosch

$@ -> "$@", 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.


# 15060 05-Apr-1996 wosch

$* -> $@
check exit code from $MKDEP_CPP, not sed(1)


# 14600 12-Mar-1996 wosch

remove /usr/ucb from path
cleanup Makefile


# 3342 03-Oct-1994 rgrimes

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


# 2406 30-Aug-1994 bde

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).


# 2178 21-Aug-1994 paul

Change cc back to cpp for now.
Reviewed by:
Submitted by:


# 2150 20-Aug-1994 paul

Changed cpp to cc since cpp is hidden away in /usr/libexec

Reviewed by:
Submitted by:


# 1591 27-May-1994 rgrimes

This commit was generated by cvs2svn to compensate for changes in r1590,
which included commits to RCS files with non-trunk default branches.


# 1590 27-May-1994 rgrimes

BSD 4.4 Lite Usr.bin Sources