Commit Graph

164 Commits

Author SHA1 Message Date
lukem 2dbeb85dde only read /etc/mk.conf once (stops += variables getting double assignments) 1998-04-13 12:03:07 +00:00
agc 80bf789853 Correct a definition name in a comment. 1998-04-03 09:56:00 +00:00
cgd c0ac8bae67 GC alpha's ECOFF_TOOLCHAIN make variable, and related bits. Nobody
should be using an ECOFF toolchain on NetBSD/alpha any more.
1998-03-28 00:50:41 +00:00
lukem a771a1c39a change default ownership from bin:bin to root:wheel 1998-02-26 08:46:09 +00:00
perry 5e2ed85c88 set NONOLINT on i386. Other ports on which building with lint is okay should
be added to this list until we get all ports okay.
1998-02-25 18:30:11 +00:00
jonathan 5e0e8cec39 More table-driven changes for different toolchains:
* new bsd.own.mk variable OBJECT_FMT with values "a.out" or "ELF".
  * use OBJECT_FMT in Makefile tests that depend on toolchain.
  * Add new bsd.own.mk variable NOSHLIB that, if set indicates a given
    port doesnt yet do shared libraries. Set on powerpc.
  * Document new feature-test variables in src/share/mk/bsd.README.
Tested on i386, mips, fakedup Alpha environment.
1998-02-23 10:09:31 +00:00
agc 5e87acd0dd Move the inclusion of bsd.own.mk back to the correct place in
bsd.port.mk, but this time use a definition before the inclusion,
which stops <bsd.own.mk> defining its own install target when
using the package system.

This makes the package system take notice of the definitions in
/etc/mk.conf
1998-01-15 09:37:25 +00:00
cgd 3e16a4f314 if "NONOLINT" is defined, don't automatically define NOLINT. "yuck."
Once lint support is completely working, NOLINT's definition should be
removed from this file entirely.
1997-11-03 22:53:25 +00:00
drochner 978c73b8c6 Fix the before/after-install ordering problem in a different way.
The old fix broke with multiple targets on the make command line.
1997-10-27 19:41:05 +00:00
drochner 86bc651566 Force "beforeinstall" and "afterinstall" to be executed before/after
"install". (pr misc/4319)
1997-10-23 12:44:28 +00:00
mycroft b7362c7c30 Move the previous to a different place, because `.if !target(...' sucks. 1997-10-11 07:26:53 +00:00
mycroft 6bb70fa48b As the comment says:
Make sure all of the standard targets are defined, even if they do nothing.

Also, add a .PHONY for regress.
1997-10-11 07:14:57 +00:00
mycroft 448f02237b Install man page source, in addition to the cat files. 1997-10-03 19:20:56 +00:00
is ce5ef83f97 Make "make regress" work; by Charles Hannum. 1997-09-30 22:19:22 +00:00
cjs 7a66732d34 Back out BUILDDIR and NOINSTALL changes. 1997-05-31 21:21:13 +00:00
cjs 54084592c2 Set or unset OBJDIR before we determine BUILDDIR. 1997-05-30 21:46:02 +00:00
cjs ab09e2a45e Fix quoting yet again; reformat. 1997-05-30 15:11:03 +00:00
cjs a71bce3f88 Don't add MACHINE to BUILDDIR if it's already added to BSDOBJDIR. 1997-05-30 05:50:16 +00:00
cjs 1cb525c1e0 Quote it properly this time. 1997-05-29 19:53:32 +00:00
cjs 2707a099a6 Forgot to quote a variable. 1997-05-29 19:35:23 +00:00
cjs 68d423f17b If BUILDDIR is the same as DESTDIR, we aren't really using an object
file tree, so undef OBJDIR and install includes, etc. the old way.
Also, don't use OBJDIR at all if we're not under BSDSRCDIR.
1997-05-29 19:06:26 +00:00
cjs bda4c93e92 Append ${MACHINE} to ${BUILDDIR} if USR_OBJMACHINE is not set. 1997-05-28 23:52:37 +00:00
pk 9e91a31967 Remove bogon. 1997-05-26 20:53:28 +00:00
cjs 5fd7ce7066 These updates to the build allow building against include files
and libs in the object tree, if you use a separate object tree,
while maintaining backward compatability with other build methods.
See the notes in src/share/mk/bsd.README for full details. Note
that the `make includes' target now only installs the include files
in the build directory (if you use one--otherwise they go in DESTDIR
just like before); `make install' will install include files in
DESTDIR.
1997-05-26 03:55:19 +00:00
mycroft fb74da89f9 Add another .PHONY. 1997-05-10 14:19:02 +00:00
mycroft bb84c33ebb Add some .NOTMAINs. 1997-05-10 10:54:27 +00:00
mycroft 83a6d8a106 Get the install dependencies in the right order, for the first time. 1997-05-09 09:18:23 +00:00
mycroft b2a77a6aa4 Don't use _SUBDIRUSE outside of bsd.subdir.mk. 1997-05-07 17:06:16 +00:00
mycroft bb8827f7d1 Various simplifications. 1997-05-07 15:53:28 +00:00
mycroft 1bd348b5f9 Shuffle some .PHONYs around, to work better with `-t'. 1997-05-07 08:42:18 +00:00
mycroft 5acae7b6ea Add a pile of missing .PHONYs. 1997-05-06 20:54:31 +00:00
thorpej 9377c557b2 Rename STRIP -> STRIPFLAG - this is a flag passed to install(1) to
indicate whether or not the program should be stripped.  This rename
allows the user to set STRIP as an alternative to /usr/bin/strip,
helping cross-compiling.
1997-04-17 06:34:15 +00:00
thorpej 043fb41aec Set NOPIC and NOPROFILE on PowerPC. 1997-03-29 21:17:22 +00:00
christos 25f6ec749f make rules update:
- add UPDATE and BUILD features
- add new FILES, INCS, SCRIPTS variables
- allow man pages source installation
1997-03-24 21:54:12 +00:00
cgd 1d8b2c2fdd turn Alpha's ELF_TOOLCHAIN checks to ECOFF_TOOLCHAIN checks 1997-02-23 20:53:56 +00:00
cgd 3fbd378aa4 fix botch in the last checkin. 1997-02-18 18:38:39 +00:00
jonathan eec1518cf0 Change bsd.own.mk to build shared libs on mips CPUs by default. 1997-02-10 21:08:58 +00:00
mark ed0c7a8de5 The arm32 architecture also needs to set NOPIC. 1997-01-13 00:54:23 +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
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
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
cgd 4b84367c40 NetBSD/Alpha now supports profiling 1995-11-03 23:33:33 +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
cgd 2357fc71b1 alpha no longer needs NOMAN= 1995-09-27 13:34:11 +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 f386420eb0 update lint rules, but keep linting disabled 1995-06-24 08:27:37 +00:00
brezak f44a5710f1 define MANZ=1 in bsd.own to get compressed man pages installed 1995-06-02 02:52:04 +00:00
cgd 1939c12486 special hacks for alpha; mostly: some things aren't supported. 1995-04-21 02:56:24 +00:00
jtc b83cf82eb5 Define NLSDIR, NLSGRP, NLSOWN, and NLSMODE (for message catalogs). 1995-02-20 21:26:33 +00:00
phil d9b81c1c3c Enable shared libs on the pc532. 1994-12-28 04:32:45 +00:00
mycroft c0f9a2266e Add SKEY (defined) and KERBEROS (commented out) variables. 1994-09-28 15:59:28 +00:00
cgd 61d2ae79f4 RCSID frobbing, and minor sanity adjustments. 1994-06-30 05:31:04 +00:00
cgd 71c681ab9c kill a bogosity 1994-03-27 02:30:42 +00:00
jtc 4870e69226 Change MANOWN, MANGRP, DOCOWN & DOCGRP to _not_ be initialized from
BINOWN or BINGRP.  Otherwise manual pages and documentation installed
from the same directories as suid or sgid programs will have incorrect
user or group ownership.  (Uucico manpage owned by uucp, su manpage owned
by root, etc.)
1994-01-19 21:26:11 +00:00
cgd 6a129be327 get rid of definitions of *OBJMACHINE which charles (hopefully)
accidentally added...
1993-12-08 23:10:33 +00:00
mycroft 8bcf49f1ea Only disable shared libs on 32k, for now. 1993-12-07 00:18:40 +00:00
cgd 47b2efdc10 define BSDOBJDIR and BSDSRCDIR to have make think of the src and obj
trees as rooted someplace other than /usr/src and /usr/obj.
1993-11-07 09:45:04 +00:00
cgd c08d5bf7a5 set NOPIC on machines which don't know how to build PIC libraries. 1993-10-04 19:52:53 +00:00
mycroft 2d450b7ef3 Oops. DOCOWN and DOCGRP were recursive. 1993-08-15 21:36:10 +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
brezak c17cb39f9c Allow SYS_INCLUDES={copies,symlinks} choice in bsd.own.mk. 1993-07-10 03:56:10 +00:00
cgd 62da9a5ad0 various changes to default make rules. from patch 101.
note that only the "sensible" changes in patch 101 are implemented.
1993-04-09 20:05:56 +00:00