#!/bin/sh -
#
-# $OpenBSD: mkdep.append,v 1.3 1996/09/16 01:20:02 deraadt Exp $
+# $OpenBSD: mkdep.append,v 1.4 1997/01/25 08:47:55 deraadt Exp $
# $NetBSD: mkdep.append,v 1.2 1994/12/23 07:34:57 jtc Exp $
#
# Copyright (c) 1991, 1993
# @(#)mkdep.append 8.1 (Berkeley) 6/6/93
#
-PATH=/bin:/usr/bin:/usr/ucb
-export PATH
-
MAKE=Makefile # default makefile name is "Makefile"
while :
#!/bin/sh -
#
-# $OpenBSD: mkdep.gcc.sh,v 1.4 1996/09/30 16:55:20 bitblt Exp $
+# $OpenBSD: mkdep.gcc.sh,v 1.5 1997/01/25 08:47:56 deraadt Exp $
# $NetBSD: mkdep.gcc.sh,v 1.9 1994/12/23 07:34:59 jtc Exp $
#
# Copyright (c) 1991, 1993
# @(#)mkdep.gcc.sh 8.1 (Berkeley) 6/6/93
#
-PATH=/bin:/usr/bin:/usr/ucb
-export PATH
-
D=.depend # default dependency file is .depend
append=0
pflag=
trap 'rm -rf $DTMP ; exit 1' 1 2 3 13 15
if [ x$pflag = x ]; then
- gcc -M "$@" | sed -e 's; \./; ;g' > $TMP
+ cc -M "$@" | sed -e 's; \./; ;g' > $TMP
else
- gcc -M "$@" | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
+ cc -M "$@" | sed -e 's;\.o :; :;' -e 's; \./; ;g' > $TMP
fi
if [ $? != 0 ]; then
#!/bin/sh -
#
-# $OpenBSD: mkdep.old.compiler,v 1.3 1996/09/16 01:20:02 deraadt Exp $
+# $OpenBSD: mkdep.old.compiler,v 1.4 1997/01/25 08:47:57 deraadt Exp $
# $NetBSD: mkdep.old.compiler,v 1.2 1994/12/23 07:35:00 jtc Exp $
#
# Copyright (c) 1991, 1993
# with compilers that don't have -M.
MAKE=Makefile # default makefile name is "Makefile"
-PATH=/bin:/usr/bin:/usr/ucb:/lib:/usr/lib
-
INCL=
while :
#!/bin/sh -
#
-# $OpenBSD: mkdep.sh,v 1.4 1996/09/30 16:55:19 bitblt Exp $
+# $OpenBSD: mkdep.sh,v 1.5 1997/01/25 08:47:58 deraadt Exp $
# $NetBSD: mkdep.sh,v 1.3 1994/12/23 07:35:02 jtc Exp $
#
# Copyright (c) 1991, 1993
# @(#)mkdep.sh 8.1 (Berkeley) 6/6/93
#
-PATH=/bin:/usr/bin:/usr/ucb:/usr/old/bin
-export PATH
-
D=.depend # default dependency file is .depend
append=0
#!/bin/sh -
#
-# $OpenBSD: mkdep.ultrix,v 1.3 1996/09/16 01:20:03 deraadt Exp $
+# $OpenBSD: mkdep.ultrix,v 1.4 1997/01/25 08:47:58 deraadt Exp $
# $NetBSD: mkdep.ultrix,v 1.2 1994/12/23 07:35:04 jtc Exp $
#
# Copyright (c) 1991, 1993
# @(#)mkdep.ultrix 8.1 (Berkeley) 6/6/93
#
-PATH=/bin:/usr/bin:/usr/ucb
-export PATH
-
MAKE=Makefile # default makefile name is "Makefile"
while :