Commit Graph

200 Commits

Author SHA1 Message Date
mikel 4620721b06 Remove extra ".o"s; fixes PR misc/2883. 1996-11-05 05:40:28 +00:00
explorer 9b140c8554 Update to make the sys/lkm tree compile on i386 and most likely others 1996-10-22 19:41:47 +00:00
thorpej 150c33e60b Use ${INSTALL}. 1996-10-18 05:55:26 +00:00
thorpej 416caa144c Use ${INSTALL} rather than "install".
From Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458.
1996-10-18 02:34:42 +00:00
thorpej f2bb1e120e Define an INSTALL make variable, and default it to "install". Suggested
by Simon J. Gerraty <sjg@zen.void.oz.au>, PR #1458.
1996-10-18 02:33:38 +00:00
cgd a23bd4576c if ${MACHINE_ARCH} is "alpha" build shared libs with the 'normal' GNU
linker's command line args, rather than the NetBSD linker's command
line args.  This is a hack, and should go away in favor of something
more general when that something is developed.  In the mean time, it
might be appropriate for the various mips ports to do the same thing.
1996-10-13 20:39:36 +00:00
cgd 7dc2d2b3fe define NOPIC on the alpha only if ELF_TOOLCHAIN is not defined.
(This is a hack.)
1996-10-13 20:33:59 +00:00
thorpej b479977348 Add "-traditional-cpp" to the COMPILE.S command, so that assembler
syntax (specifically, use of # to indicate an immediate value) isn't
misinterpreted as a CPP directive.
1996-09-30 23:37:22 +00:00
abrown 795306043d Add missing quote (") in @echo line of .S.o rule, to prevent sh from
getting confused in certain cases.
1996-09-23 20:23:05 +00:00
jtc a66b1cae00 Fix from Aaron Brown that fixes some typos 1996-09-23 18:15:48 +00:00
jtc 3d592bf5cd Use `${COMPILE.S}' instead of `${CPP} ..... | ${AS} ....' to compile
assembly language source.
1996-09-20 19:51:50 +00:00
cgd ea52c85b3a use -pg rather than -p when compiling profiled objects. 1996-09-05 19:12:33 +00:00
explorer c3d35c35af Do the symlinks added by mrg correctly 1996-08-27 23:31:47 +00:00
explorer 497b575ce6 Fix a missing dollar sign, and move paths and modes
to bsd.own.mk for KMOD* vars
1996-08-27 22:15:52 +00:00
mrg 8cc0c9583c make lkm's work. still need to worry about options defines... 1996-08-23 06:14:36 +00:00
explorer 85656a00df Add a file needed for the lkm stuff I committed 1996-08-22 20:33:02 +00:00
scottr 4aca2bf529 If DESTDIR is defined, look for includes in ${DESTDIR}/usr/include,
instead.
1996-05-15 19:46:51 +00:00
thorpej c238d2b94e Add the ability to override defaults in bsd.own.mk more easily, by
looking for "${MAKECONF}", or failing that, "/etc/mk.conf" and including
the first one it finds, if it exists.  From Chris Demetriou <cgd@netbsd.org>,
PR #1970.
1996-04-13 02:08:08 +00:00
thorpej 5eb08a6790 Get the current working directory from "/bin/pwd" rather than "pwd".
Changes to the shell make the behavior of "make obj" inconsistent
with previous behavior, depending on the login shell used by the user.
See PR #2200 for details.  PR remains open while further analysis is
done.  This at least restores the previous semantics for us csh(1) users.
1996-04-10 21:08:05 +00:00
mycroft a86feda616 Remove broken hack that attempted to do the same as the previous. 1996-04-10 05:47:19 +00:00
mycroft 198877f9dc Fix COMPILE.s so the output file is named correctly. 1996-04-10 05:44:49 +00:00
jtc 4a437cf6dd Sort LIBFOO definitions and add LIBY; Reported by Mike Long <mike.long@analog.com> in PR #2301. 1996-04-08 21:19:26 +00:00
jtc f9ff89048b Added new standard target "includes" (used to install header files) to
bsd.subdir.mk.  Added some documentation to bsd.README.
1996-04-04 02:05:03 +00:00
jtc f1938eb0d0 Removed special handling of CPPFLAGS if DESTDIR is set. Third party
makefiles may use DESTDIR for something completely different.
1996-02-29 19:06:57 +00:00
jtc 4e24a7f97e Default .s.o and .S.o left output in wrong file 1996-02-28 23:45:16 +00:00
pk cb632f2035 Use shell internal substring matching, like bsd.man.mk. 1996-02-21 10:02:00 +00:00
jtc 24af95d976 Use ksh-style substring parameter expansion expressions instead of
calling expr when constructing manpage directory and file names.
Much, much faster.
1996-02-10 07:49:33 +00:00
cgd 93542f4a98 clean up bits that state which man page section numbers are allowed (section
9 now exists).  Document that variables in bsd.own.mk that were not previously
documented.
1996-01-22 22:46:06 +00:00
mycroft fceadcfbd1 Use the `-q' option to tsort(1). From der Mouse, PR 1204. 1996-01-17 20:39:26 +00:00
thorpej 5ba712a21d Allow override of nroff program, requested by Masanobu Saitoh
<msaitoh@spa.is.uec.ac.jp> in PR #1741.
1996-01-15 01:56:09 +00:00
cgd 4297bc2d3a don't include the .c.a rule on the alpha. see p.r. 1488 for an
example of how make breaks when it's present.  In particular, it causes
build of the compiler toolchain to fail if present, which keeps
a complete system from building, on the alpha.
1995-12-18 02:53:20 +00:00
cgd 8c917568da add "CFLAGS += -Werror" to bsd.sys.mk, and update various bits of
documentation to explain bsd.sys.mk's purpose more clearly.
1995-12-13 01:25:05 +00:00
perry 3baad3ca17 Add support for Section 9 (kernel internals) manpages 1995-11-25 19:53:33 +00:00
cgd 4b84367c40 NetBSD/Alpha now supports profiling 1995-11-03 23:33:33 +00:00
christos 70174eb6fe Added include file <bsd.sys.mk> that contains lex and yacc "parallel aware"
rules. These rules are not turned on by default; they are enabled by setting
the PARALLEL variable.
1995-10-22 00:45:53 +00:00
cgd 079c0ee400 install -s now works properly on the alpha, so don't redefine STRIP
(to kill the -s).
1995-10-12 06:22:18 +00:00
cgd 9544e255ed correct an alpha-specific comment 1995-10-02 20:30:28 +00:00
pk ba51c14e09 Use CPPFLAGS in .S rules. 1995-09-30 12:21:33 +00:00
cgd 2357fc71b1 alpha no longer needs NOMAN= 1995-09-27 13:34:11 +00:00
christos 6e591491c3 - make sure the afterdepend rule fires `after' .depend gets created.
[fixed for parallel make]
- make depend prettier printing.
1995-09-27 01:15:09 +00:00
jtc 7065a25cef Fix .cc.o .C.o rule; PR #1522 1995-09-26 23:48:24 +00:00
christos 03d121f492 - Actually commit the bsd.lib.mk changes mentioned above... 1995-09-25 00:53:09 +00:00
christos e3a69c3c19 - In preparation for parallel makes fix the library rules so that they
don't use a.out as intermediate output.
- Note in the README file that we cannot fix the xstr stuff.
  We still need to fix lex and yacc.
- Allow overriding of the variables in sys.mk
1995-09-24 23:49:06 +00:00
cgd d136b73088 show the directory depth, by printing out the hierarchy name.
Suggested by Ty Sarna, implemented by me.  Useful, because it tells you
how deep you are, and allows you to paste the pathname in to 'cd' to the
directory.
1995-07-24 04:22:29 +00:00
ragge 5f4e40d8af NOPIC option added, so that we don't try to generate it. 1995-07-22 20:50:41 +00:00
cgd 73037ca2b0 oops 1995-06-29 17:43:13 +00:00
cgd 7d5b9a0d95 fix a paste-o 1995-06-27 20:37:29 +00:00
cgd aebda19c0b fix more possibly-empty 'rm's, here. kill long-dead {profiled,...}/* cleans 1995-06-26 00:19:44 +00:00
cgd 6ae995da62 oops; fix an rm that might be empty 1995-06-25 22:29:02 +00:00
cgd f386420eb0 update lint rules, but keep linting disabled 1995-06-24 08:27:37 +00:00