Commit Graph

207 Commits

Author SHA1 Message Date
is 522ca75f7f Switch Amiga port to egcs. 1998-12-12 20:20:42 +00:00
tsubai 50a875f651 Use egcs by default on powerpc. 1998-12-02 14:12:23 +00:00
eeh b2f5408385 Fix up GNU_ARCH for sparc64. 1998-11-28 22:46:16 +00:00
mrg 3b86991953 note that the sparc64 does not yet do pic or profile libraries. 1998-11-25 04:04:13 +00:00
tsubai 49837f8763 Remove NOPIC= on powerpc. 1998-11-24 15:24:53 +00:00
mycroft 8ee4fce4a0 Use egcs on sparc. 1998-11-22 13:51:04 +00:00
mycroft 4b50867128 Invert the sense of the UVM test, so it lists those ports which do *not* have
UVM yet.
1998-11-21 22:18:36 +00:00
mycroft 856163e71a Use egcs on arm32. 1998-11-21 22:14:47 +00:00
dbj 746d687977 Set UVM to yes by default for next68k userland compiles. 1998-11-19 07:43:10 +00:00
tsubai c0a19d37fc Enable UVM on newsmips. 1998-11-16 12:13:21 +00:00
jonathan c18a2859f1 Make UVM default for pmax. 1998-11-15 05:06:43 +00:00
perry eea7ba805e Per Charles, turn back on egcs on port-i386. If this causes problems,
the methodology is now to fix the problems instead of backing out.
1998-11-14 20:43:44 +00:00
jonathan ef98759a2f Make EGCS default compiler on mips platforms. 1998-10-31 12:10:41 +00:00
matt f50fd21fef Enable shared libraries and EGCS. 1998-10-31 09:23:53 +00:00
mark 3dba45c39f Define UVM for arm32. 1998-10-30 00:20:45 +00:00
is d103f66935 Switch the Amiga port to UVM. 1998-10-28 22:41:24 +00:00
tv 4238a1ede6 Back out egcs from i386 and sparc. There are not enough fixes on the egcs
1.1 branch to repair the already open PRs on egcs codegen.  `For now, I
give up.'  Perhaps another day....
1998-10-04 19:46:07 +00:00
christos 2a23ffd4df Use PRESERVE flag only when UPDATE is defined. 1998-09-28 16:43:41 +00:00
christos ddb60058ff Use preserve flag in install. 1998-09-28 08:13:37 +00:00
matthias 393c344918 Take a deep breath and switch over NetBSD/pc532 to use egcs by default. 1998-09-15 20:26:50 +00:00
tv 148929222c Transition sparc platform to egcs. 1998-09-14 21:21:58 +00:00
tv 768b3efab5 Switch i386 to egcs 1.1. 1998-09-14 00:29:28 +00:00
eeh d90bb7796e Add some more sparc64 stuff. 1998-09-11 14:52:20 +00:00
tsubai 3318a12385 UVM is now standard on macppc. 1998-09-03 15:13:51 +00:00
sakamoto f36e74b371 UVM is the default on bebox,ofppc. 1998-09-03 01:51:43 +00:00
matthias bfc51b47d0 UVM/PMAP_NEW are now the standard for the pc532. 1998-09-02 19:25:33 +00:00
mrg 77e8bc0d0f really turn UVM on on the atari... 1998-09-02 14:28:58 +00:00
mrg fab7ebb042 UVM is the default on sparc64 1998-09-02 14:12:04 +00:00
thorpej 4e705c4d21 Switch the i386 port to UVM+PMAP_NEW. 1998-08-31 17:55:26 +00:00
tv c95c8e1504 Alpha is now egcs by default (now all that's left is as and ld). 1998-08-27 14:05:58 +00:00
lukem 24bd0530c9 add distclean as a synonym for cleandir 1998-08-09 14:46:19 +00:00
frueauf ba61dd0d54 SYS_INCLUDE=symlinks should not be enabled by default. I guess it was done
by accident.
1998-08-07 20:31:56 +00:00
ragge f6fd0956f2 Put in that vax uses PMAP_NEW as default. 1998-08-04 19:21:26 +00:00
tv aaafdd394a - Add MACHINE_GNU_ARCH entries for mipseb and mipsel. Temporarily remap
mips to mipsel.
- Remove the unused definition of NOSHLIB for powerpc.  NOPIC is being
  used for this purpose.
1998-07-27 00:58:05 +00:00
perry 9ae8946508 Get rid of NONOLINT, and unset NOLINT. We now build lint libraries by default. 1998-07-22 18:21:39 +00:00
mark b5eb8eb72c Define NONOLINT for arm32. 1998-06-27 20:56:49 +00:00
agc 67d4dd8792 Delete (duplicate) setting of UVM if the MACHINE_ARCH is "sparc" - this
is done earlier in the file, with the other platforms on which it's
standard.
1998-05-29 10:15:17 +00:00
tv caf92c9d92 SPARC was missing from the list of GNU_ARCHs. 1998-05-25 23:40:22 +00:00
tv cff69f3322 Add the ability to map a MACHINE_ARCH to a GNU architecture name:
- ${GNU_ARCH.${TARGET_ARCH}} will produce a target architecture name in
  mainline sources
- ${MACHINE_GNU_ARCH} is equivalent to ${GNU_ARCH.${MACHINE_ARCH}}
1998-05-22 16:43:42 +00:00
kleink bfdeed0774 Set NONOLINT on sparc. 1998-05-10 14:58:09 +00:00
mrg 445283dc37 make UVM the default on the sparc 1998-05-05 01:15:05 +00:00
thorpej d1abd27c70 Make UVM standard procedure on hp300, mac68k (per scottr), and mvme68k. 1998-05-04 05:03:52 +00:00
thorpej dae01890b2 Add a mechanism for specifying which platforms use UVM and which use
PMAP_NEW, and enable both for NetBSD/alpha.
1998-05-04 04:37:33 +00:00
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