Commit Graph

37 Commits

Author SHA1 Message Date
cgd f60321832b a couple of tiny whitespace cleanups 2001-03-22 02:41:02 +00:00
cgd f3dd4051a1 get closer to KNF. 2001-03-22 02:33:47 +00:00
cgd baa3e1d8d4 convert uses of hard-coded string "mkdep" to use getprogname(). 2001-03-22 00:16:50 +00:00
cgd 040de26f85 call setprogname(argv[0]) at start of main() 2001-02-21 00:06:22 +00:00
kleink fbfc6d0d28 Rather than hardcoding _PATH_TMP (and relying on const string concatenation),
try TMPDIR (if set in the environment).
1999-07-21 15:20:55 +00:00
kleink 7a5c45dac4 * Make usage string reflect reality,
* declare internal utility functions static,
* remove unneeded workarounds for bogus -Wuninitialized reports,
* delint.
1999-03-31 11:26:45 +00:00
garbled 9e44e9b578 More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages.  Many more to
come.
1999-03-22 18:16:34 +00:00
sommerfe 05ccb4009e Do something sane if we have CC='cc -pipe' set 1999-03-18 22:01:48 +00:00
tron ec6fc987ae Because neither the original shell script nor the new C program can
handle multiple argument sets don't use them in the manual page.
1999-01-28 20:19:42 +00:00
tron b3ba9219f4 Fix usage messages in case we are going to revive one of these. 1999-01-28 20:11:54 +00:00
tron 1a7a3b4aa3 Build and install "mkdep.c". 1999-01-25 22:14:59 +00:00
tron c0f4850d5c New C program to replace old "mkdep" script. Speeds up "make depend"
by at least 5 percent.
1999-01-25 22:10:42 +00:00
fair a0d5f4e4e3 per PR#4304 no need to set PATH (especially after testing it!) 1998-04-09 05:59:35 +00:00
perry 45b9e54cf2 remove /usr/ucb from PATHs, per Jim Bernard (pr 5236) 1998-03-31 04:25:30 +00:00
lukem 79adb0bcbe fix up .Nm usage 1997-10-19 05:09:03 +00:00
cgd dc7e4efc1d quote ${CC} so that multi-word values work right (for some defn of "right") 1997-07-22 05:20:06 +00:00
cgd b41192602c fix a couple of bogons in the changes to the sed regexps in my previous
commit.  ("Works Great!!" "More Testing!!!")
1997-07-21 05:37:32 +00:00
cgd dab9e38937 find the compiler more correctly: if user has set 'CC' use it but expand
it to a full path using the user's path, before setting the path used by
the script.  If it can't be found, try using the standard path used by the
script to find it (/bin:/usr/bin:/usr/ucb), and if it still can't be
found, exit.  If user hasn't set CC, try to use cc, again searched for
via their path, then via the standard path.
Also, clean up regexps used to post-process ${CC} -M output, so that
they work on a wider variety of compilers.
1997-07-20 23:27:09 +00:00
mycroft 90de81834d Set SCRIPTSNAME correctly. 1997-03-27 08:57:26 +00:00
christos 3917c3179d - Makefile cleanups 1997-03-24 21:57:01 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
jtc 3609dfb66b Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-23 07:34:55 +00:00
jtc f5fcbb2167 imported from 44lite 1994-12-23 07:18:15 +00:00
cgd 7bcf9338df specify man pages the new way. 1994-12-22 12:29:38 +00:00
mycroft d339fcc90b Use `gcc', not `cpp', for depending. 1994-09-19 02:46:11 +00:00
mycroft 1f7a831709 Everyone uses GCC now. 1994-02-21 18:18:35 +00:00
mycroft fbe0094cc7 Same .o fix as mkdep.gcc.sh; not currently relevant as we use GCC. 1994-02-21 18:17:17 +00:00
pk dca1fff974 Sparc uses gcc too... 1994-02-15 17:09:31 +00:00
mycroft 032b0c7d6b Call `cpp', not `gcc'. 1993-08-16 01:34:27 +00:00
mycroft c3e42d1c64 Add RCS indentifiers. 1993-08-01 07:22:47 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
cgd 870dd3b285 do c++ dependencies the right way... 1993-07-17 12:18:12 +00:00
mycroft dc362d97b4 Use $@ rather than $*. 1993-06-16 17:30:33 +00:00
mycroft 5f39183d4b Oops. Need some quotes now that $SED has spaces in it. 1993-06-16 07:40:00 +00:00
mycroft 11169abb0d Make the sed expression a tad stricter so we don't lose depending hack. 1993-06-16 06:48:57 +00:00
sef d7057b31e8 Deal properly with single-module programs. Also, use "$@", not $*! 1993-06-16 06:09:09 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00