cgd
1d20ab5d2e
if 'clean' is not already defined, rather than simply defining it with
...
a bunch of rules, define a clean{kmod,lib,prog} target with the rules,
and have both clean and cleandir depend on that. That eliminates a bug
where 'cleandir' in a directory which included e.g. bsd.prog.mk but which
also had subdirs would 'make clean' all the subdirs and then 'make cleandir'
all ofthe subdirs. It also allows Makefiles to add more dependencies
to 'clean' after inclusion of the make template.
If 'clean' is already defined, the behaviour is the same as it used to be.
1997-01-22 01:34:11 +00:00
cgd
414b38f4b2
add an afterdepend target (a la the one in bsd.lib.mk) that processes
...
the .depend file to add <filename>.ln for each <filename>.o as an
object file which has the given dependencies (in addition to
<filename>.po and <filename>.so, which were already there).
1996-12-20 16:39:03 +00:00
mikel
6d303ec98e
add missing LIBPCAP definition.
1996-12-13 08:02:52 +00:00
mrg
b081de7226
add libz and libwrap
1996-11-26 17:37:39 +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
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
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
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
mycroft
27d2a9e05f
Define LIBEDIT.
1995-06-10 20:21:05 +00:00
jtc
e3c663eb4c
.include <bsd.nls.mk> unless NONLS is defined.
1995-04-21 20:29:40 +00:00
cgd
dbcf91bb89
specify man pages differently, and document how.
1994-12-22 09:20:40 +00:00
mycroft
6df8c5e52c
Include bsd.own.mk earlier.
1994-08-24 19:10:48 +00:00
cgd
65e0c25657
fix from christos, for progs w/o objects
1994-07-20 04:57:12 +00:00
mycroft
2bc3c3a671
Pull libraries from ${DESTDIR} if set. Kill LDONLY, which is unused and
...
probably not useful anyway.
1994-07-06 04:13:37 +00:00
cgd
f0fb7b6706
fix modify-info-nothingness-then-substitute probelm that broke genclass build
1994-06-30 06:35:50 +00:00
cgd
61d2ae79f4
RCSID frobbing, and minor sanity adjustments.
1994-06-30 05:31:04 +00:00
cgd
b233f19e46
don't be careless with _SUBDIRUSE
1994-06-30 05:21:28 +00:00
jtc
293b4a9e72
Strip *.sh when constructing OBJS from SRCS.
...
This will allow us to clean up makefiles that build a script by munging
a template (uusched, genclass, neqn, etc.).
1994-06-28 05:16:12 +00:00
cgd
9f7c821782
don't chown the symlink, when HIDEGAME causes a symlink to be made to dm.
...
4.4-based FS code _follows_ the symlinks on a chown(2) call.
1994-06-18 20:57:49 +00:00
cgd
53d6c3f81d
fix the last to do the right thing for dependencies
1994-05-24 09:37:30 +00:00
deraadt
1b67bc1b3c
LIBSKEY
1994-05-24 06:30:57 +00:00
jtc
1e65a5b9e8
Single source file programs are now compiled into object files before they
...
are linked. This change halves the time it takes to rebuild all of the
NetBSD sources when only the C library is "touched"; but only takes about
one percent more disk space.
1994-05-22 23:03:58 +00:00
chopps
568355ca48
relink (recompile) single source programs when crt0.o is updated.
1994-04-06 06:37:38 +00:00
mycroft
41172b0ea8
Remove *.core on clean.
1994-03-24 16:11:38 +00:00
cgd
38a3d1726d
kill install -d's.
1994-02-09 23:50:32 +00:00
cgd
e83349cd3f
add LIBKVM
1994-01-28 00:16:29 +00:00
cgd
11cbea7c88
librpc doesn't exist anymore
1993-11-10 03:32:48 +00:00
cgd
9cf550f92a
ad LDSTATIC flag, so static linking can be made one-stop shopping.
...
use "setenv LDSTATIC" to make *everything* dynamically linked,
setenv LDSTATIC -static for everything statically linked, or unset
it for default behavior.
1993-11-08 02:18:41 +00:00
cgd
f74961d747
LIBTERM pointed at nothing, but was meant to point to libtermcap.a...
1993-10-07 02:12:18 +00:00
cgd
cf4f8c1089
always define LIBCRYPT
1993-10-07 01:35:30 +00:00
mycroft
30beb79c09
Make sure we don't recurse into subdirectories if Makefile specified `install'
...
target. (It's usually blank and is specifically to avoid doing this...)
1993-08-17 17:00:39 +00:00
mycroft
3e94657cf6
Automatically include bsd.subdir.mk for backward compatibility.
1993-08-15 21:53:05 +00:00
mycroft
f5b2ed3238
Don't automatically include bsd.subdir.mk in bsd.prog.mk and bsd.lib.mk.
...
Put back .MAIN in bsd.man.mk, and be careful not to include ../Makefile.inc
a second time.
1993-08-15 20:59:36 +00:00
mycroft
3eebe31396
Move man rules to sys.mk.
...
Use bsd.subdir.mk for building subdirectories.
Don't forget to remove x.cc and x.C when using SHAREDSTRINGS.
Make ${PROG} always depend on ${LIBCRT0}.
Don't duplicate code between cleandir and clean.
Move tags target to bsd.dep.mk.
Move STRIP to bsd.own.mk.
Remove redundant definitions of {BIN,MAN}{DIR,GRP,OWN,MODE}.
Move {LIB,DOC}{DIR,GRP,OWN,MODE} defaults to bsd.own.mk.
1993-08-15 20:42:39 +00:00
mycroft
6a1bdd6fc0
Abstract out dependency stuff, and add RCS identifiers.
1993-08-15 19:37:04 +00:00
mycroft
0c9bbcf68c
Create target directories with install -d', and move
obj' targets into one
...
file.
1993-08-15 19:26:05 +00:00
mycroft
28e6c71e70
Put LINKS handling in `install' target, so it's the last thing executed, and
...
happens even if `realinstall' is user-defined.
1993-08-10 16:46:58 +00:00
mycroft
01094e51c2
When generating a default OBJS, ignore .h files.
1993-07-30 03:40:07 +00:00
mycroft
8846a74782
Don't print the `making ...' message if an obj dir already exists.
...
Also, a minor cleanup.
1993-07-29 22:04:53 +00:00
mycroft
8d7d3883e3
Fix C++ dependencies for good. `make depend' is now done in two passes--one
...
of C files and one for C++ files. No need to specify `-+' in your Makefile,
as it is now done automatically.
1993-07-17 13:43:50 +00:00
cgd
870dd3b285
do c++ dependencies the right way...
1993-07-17 12:18:12 +00:00
mycroft
b761d4a97c
Add suffix rules for C++ files.
1993-07-17 12:09:51 +00:00
brezak
b429b80b0c
Add LIBRPCSVC variable.
1993-06-04 14:47:21 +00:00
cgd
ef3308e903
add ability to specify c++ dependencies, by setting CFLAGS+=-+ for
...
the dependency make.
1993-06-02 14:56:51 +00:00
cgd
5c6b56771f
added definition for DPADD library variable LIBCRYPT.
1993-04-26 13:07:57 +00:00
mycroft
899ea388c7
Don't redefine `realinstall' target if already defined.
1993-04-26 03:26:17 +00:00
mycroft
4da01efae2
Link with LDFLAGS even if one source module.
1993-04-25 05:53:48 +00:00
mycroft
2b2941c3cf
Don't lose if we include bsd.prog.mk only to build man pages.
1993-04-25 05:36:13 +00:00
mycroft
fe6a529dc1
Fix error in last change. (Oops.)
1993-04-25 04:55:52 +00:00