Commit Graph

330 Commits

Author SHA1 Message Date
tv
aea7f2e0d5 Move the definitions of host tools from Makefile.tools to <bsd.own.mk>.
Turn on USE_NEW_TOOLCHAIN explicitly on i386.  (See current-users or
tech-toolchain for the heads up announcement and tech details.)
2001-09-22 05:45:50 +00:00
chris
a41363209a Arm doesn't do ELF by default yet. Should fix PR 13973. 2001-09-16 18:50:29 +00:00
thomas
d9203a217e On Atari now the default object format is ELF. 2001-09-08 11:10:41 +00:00
eeh
500082fdef Build lint on sparc64. 2001-08-26 06:00:30 +00:00
chs
7cffe4c898 switch cesfic to ELF. 2001-08-25 18:39:24 +00:00
mrg
665a4002a3 enable profile libraries on sparc64 2001-08-19 14:24:44 +00:00
tv
64263ab596 Revert previous temporarily to deal with PR bin/13722; will revisit this
(and close the PR) after I've located all of the uses of PRINTOBJDIR and
fixed them up not to bork themselves recursively.
2001-08-15 17:50:15 +00:00
tv
937e77aec5 Speed up PRINTOBJDIR a little by changing it to "${MAKE} -V .OBJDIR" (it
will recurse, but won't need to spawn a shell and run commands now).
2001-08-14 23:33:43 +00:00
tv
55e586472d Simplify some MACHINE_ARCH transforms, and redefine MACHINE_GNU_PLATFORM
as the full GNU triplet name.
2001-08-14 09:31:42 +00:00
tv
d0f9e45413 Rather than explicitly saying "clean cleandir:" all the time, make clean
a dependency of cleandir (so that "make cleandir" implies "make clean").
2001-08-14 07:02:13 +00:00
tv
b2e42252e1 Simplify PRESERVE and INSTPRIV by using ${...:D...}. 2001-08-14 06:47:24 +00:00
tv
c7dda8f2a7 Make MAKECONF defined always by setting MAKECONF?=/etc/mk.conf and using
that variable only for including make(1) variables.  Much more consistent
and less prone to ambiguity this way (and now, ${MAKECONF} can be used in
messages indicating a missing option needed for a build).
2001-08-14 05:55:27 +00:00
matt
c944f94d86 MACHINE_ARCH=arm changes 2001-07-23 17:13:44 +00:00
bjh21
6c71fcb79a Since arm26 and arm32 are heading towards shared binaries, don't distinguish
them for the GNU tools.
2001-07-21 16:56:07 +00:00
bjh21
0d2f9028de arm26 uses ELF. 2001-07-21 16:48:49 +00:00
fredette
340af7db82 Added support for the m68000 MACHINE_ARCH, as an incomplete
ELF port with a MACHINE_CPU of m68k.
2001-07-13 12:44:22 +00:00
fvdl
644b748282 Add some extra flags for the x86-64 port. Disable -O in sys.mk
(which is where all ports set it); there seem to be some lurking
optimization bugs for the x86-64.
2001-06-19 01:37:44 +00:00
simonb
3acd556b4d Add a new make variable "MKSOFTFLOAT". If not set to "no", it adds
"-msoft-float" to COPTS and FOPTS, and possibly builds soft-float
library support (port specific).
Defaults to "no".
2001-06-18 17:04:44 +00:00
tv
08b1b0382d Fix typo. 2001-06-02 02:22:35 +00:00
tv
ca502c58a6 Add MACHINE_GNU_PLATFORM to identify as "netbsdelf" for historically a.out
platforms.  While there, allow MACHINE_GNU_ARCH and MACHINE_CPU to be
inherited from the environment.
2001-06-02 01:53:29 +00:00
tv
dd70bf30ad Make "distclean" a REAL synonym for "cleandir" by actually aliasing it
in <bsd.own.mk>, rather than sprinkling it in all the .mk files (and
some Makefiles throughout the tree).
2001-06-01 17:49:32 +00:00
chs
bef49778fd next68k is now ELF. 2001-05-12 22:38:04 +00:00
tsutsui
b7e1b57d70 Switch news68k to ELF:
- Set OBJECT_FMT=ELF on news68k
2001-03-19 17:01:12 +00:00
msaitoh
636da14f06 NetBSD/sh3 ELF doesn't supports dynamic link yet. 2001-02-24 16:37:43 +00:00
chs
7408da7619 sun3 now uses ELF. 2001-02-22 07:12:55 +00:00
itojun
6ecd41c538 add LOCALEDIR and related declarations. 2001-02-01 19:29:59 +00:00
itojun
561c43d3fa use MACHINE_CPU=arm on both arm26/32. 2001-01-08 13:28:08 +00:00
itojun
9833445e10 declare MACHINE_CPU. MACHINE_CPU will be generated from MACHINE_ARCH,
to identifiy CPU type in build tree (like mipse[lb] -> mips, sh3e[lb] -> sh3).

XXX what should we do about arm and sparc?
2001-01-08 07:28:07 +00:00
itojun
083a373737 s/.INIT/.BEGIN/ for NetBSD make 2001-01-05 00:25:59 +00:00
itojun
180f4678a4 die if MACHINE_ARCH == sh3 2001-01-04 15:17:41 +00:00
itojun
c5fb04a57e sh3 split (MACHINE_GNU_ARCH) 2001-01-04 10:29:11 +00:00
itojun
973149dcb3 sh3 split 2001-01-04 08:32:02 +00:00
simonb
15f972c29b Switch NetBSD/hp300's OBJECT_FMT to ELF 2001-01-02 04:34:37 +00:00
sommerfeld
fd805ed302 Change ${PRINTOBJDIR} to a "safer" but more complex form which avoids
infinite recursion when directories reference each other or themselves
(most common when a FOOOBJDIR is defined in a common Makefile.inc).
2000-12-30 14:34:09 +00:00
scw
9b343e1abc NetBSD/mvme68k's OBJECT_FMT is now officially ELF. :-) 2000-12-07 08:35:15 +00:00
sommerfeld
304faf39ff define PRINTOBJDIR as a canned known-safe print-objdir invocation. 2000-12-06 03:21:33 +00:00
itojun
e5e807d114 always compile RSA into libcrypto.
MKCRYPTO disables the whole crypto tree, and in that case,
we will not have RSA (nor libcrypto) with us.
2000-09-30 12:21:51 +00:00
itojun
8d26d03189 repair openssl (libcrypto) for non-32bit architecture.
don't use unsigned long where 32bit unsigned variable is asked for.
use u_int32_t.  (not sure if uint32_t is better or not, but anyway,
u_int32_t <-> uint32_t should not raise binary compatibility issue)
PR10921.

TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
(do not change size of variable though)

XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
however, that needs a lot of work and will make future openssl upgrade harder.

remove RC5 and IDEA by default.  build them separately as
libcrypto_{rc5,idea}.a.  put dummy function, which is "warning to stderr
and exit(1)".  NOCRYPTO_{RC5,IDEA} are obsoleted.
PR10883.
2000-09-30 00:23:28 +00:00
phil
ec49e039c2 Add rules to make and install html pages in /usr/share/man/html* 2000-09-22 05:37:57 +00:00
msaitoh
d5567fbc4d sh3 port is incomplete, so add NOLINT=1 and NOPROFILE=1
(and NOPIC=1 if OBJECT_FMT==COFF)
2000-08-02 20:04:45 +00:00
mycroft
320dc0b012 Build shared libraries on sparc64. 2000-07-26 02:21:21 +00:00
bjh21
f42e9888c5 Add GNU_ARCH.arm26 2000-06-27 21:12:42 +00:00
thorpej
cdc96f602d Garbage-collect old KERBEROS* switches. 2000-06-23 06:14:33 +00:00
thorpej
df83a2a3cd Add MK... variables to enable/disable various aspects of building
crypto support into the system.  See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
simonb
b155979066 Add HTMLDOCDIR pointing to /usr/share/doc/html. 2000-05-02 11:44:20 +00:00
simonb
1177aeba7c White space bogons (double spaces, spaces instead of tabs). 2000-04-24 14:22:05 +00:00
wiz
9b73fe4714 removed 'UVM?= YES' 2000-02-20 06:50:54 +00:00
tsutsui
7c3ebc156a pica no longer exists, and arc has already switched to UVM.
XXX We still need "UVM?= yes" ?
2000-02-19 02:10:31 +00:00
mycroft
43244e5049 Do the NEED_OWN_INSTALL_TARGET klugery for depend and all, too, so this works
with pkgsrc.
2000-01-22 19:53:53 +00:00
mycroft
3e13200b73 Make dependall' play nicely with SUBDIR, using a hack similar to realinstall'
for both `depend' and `all'.
Also, remove the old hack that invokes an extra shell for .depend, now that
make(1) has been fixed.
2000-01-22 19:31:00 +00:00
sommerfeld
1b914a5db2 Add MKOBJDIRS make variable to bsd.own.mk, defaulting to "no" but
overrideable in mk.conf

Document in bsd.README; this is distinct from "MKOBJ", which controls
whether "make obj" does anything.

In the top-level makefile, if MKOBJDIRS != "no", do a "make obj" at an
appropriate point during a "make build".
1999-11-30 16:16:41 +00:00
msaitoh
e49b15da29 add GNU_ARCH.sh3=sh 1999-10-06 18:24:00 +00:00
perry
9ad44ce879 Add a "dependall" target, which does a "make depend" and then "make all"
in a single directory. This is useful in "make build" because by doing
the build immediately after the depend, all sources will typically
still be in the buffer cache, thus saving significant time over doing
a "make depend" on all the directories and then a "make all".
1999-09-14 01:31:11 +00:00
chs
21eedb0ec1 the PMAP_NEW option is gone as the new interface is no longer optional. 1999-09-12 01:19:23 +00:00
simonb
f9bc9307df If UNPRIVILEGED is defined, set ${INSTPRIV} to -U. Passed to install(1)
so that it doesn't try to set the user or group of the destination
file(s).
1999-08-21 06:16:21 +00:00
simonb
22066837c7 Make -r the default for RENAME, as per discussion on tech-install. 1999-08-16 13:57:03 +00:00
fvdl
454190a76b Switch the i386 port to ELF. 1999-07-05 09:13:04 +00:00
danw
3128e0f6f9 Remove the NOPROFILE=1 for powerpc 1999-06-26 20:04:49 +00:00
simonb
d73a6ae1d3 Conditionally define SHLIB_VERSION_FILE as ${.CURDIR}/shlib_version . 1999-06-10 00:38:49 +00:00
pk
8d77b5ba4b Switch the sparc to ELF. 1999-06-06 09:25:38 +00:00
drochner
cf3c9d73cd add missing parts of the "mips"->"mipse?" transition 1999-02-24 14:42:36 +00:00
lukem
6077e7c1f5 don't bother supporting NOINFO (since it's a new thing); just support MKINFO=no
fix description of MKSHARE=no
1999-02-13 03:04:09 +00:00
tv
f727f277a7 Add {MK,NO}INFO, and use that to control generation/installation of Info
documentation.  MKINFO=no is implied by MKSHARE=no.
1999-02-12 15:01:08 +00:00
lukem
41510f9a2b for MKSHARE=no, set MKDOC=no MKMAN=no MKNLS=no, and for MKMAN=no, set
MKCATPAGES=no.  this simplifies various tests.
1999-02-12 12:38:44 +00:00
lukem
497d11782a * Add support for MKDOC MKLINKLIB MKLINT MKMAN MKNLS MKOBJ MKPIC MKPICINSTALL
MKPROFILE MKSHARE, which default to `yes' unless an equivalent NOxxx
  variable is defined.
* Add MKCATPAGES, which if "no" prevents catpages from being built or installed

Users should use "MKxxx=no" instead of "NOxxx=" in /etc/mk.conf, because
this allows easy override on the make(1) command line (e.g 'make MKSHARE=yes'
to override MKSHARE=no in /etc/mk.conf).
1999-02-12 01:10:06 +00:00
tv
4b894ef57b Create <bsd.info.mk> for Info documentation, and avoid the nasty install
stuff duplication by expressing it in terms of <bsd.files.mk>.  Allow for
multiple inclusion of <bsd.files.mk> by clearing ${FILES} at the end, and
using FILES+= rather than FILES= in <bsd.info.mk>.
1999-02-11 13:25:42 +00:00
tv
1fd585e551 Remove GNU_ARCH.mips=mipsel, and produce an error if MACHINE_ARCH is only
"mips".
1999-02-10 21:11:47 +00:00
hubertf
276269973c s/bsd.port.mk/bsd.own.mk/ 1999-02-07 17:21:09 +00:00
christos
f16578a952 PR/2936: Brian C. Grayson: Avoid truncating precious files when installing
and the filesystem is full. Added ${RENAME} flag to install, which when set
to -r installs on a temporary file and then renames to the final destination.
${RENAME} is currently set to nothing in bsd.own.mk, but one can turn it
on in /etc/mk.conf.
1999-02-04 11:58:30 +00:00
tv
94eed8e6d2 GC conditional egcs cruft. 1998-12-31 19:58:59 +00:00
itohy
172852517b Switch x68k port to UVM by default.
Mach VM and even old contig and non-contig codes are still alive.
1998-12-23 23:01:44 +00:00
mrg
9ec7c3c814 move sun3 to UVM by default. only pica/arc & x68k left. 1998-12-23 06:00:03 +00:00
thorpej
14b57317d6 Just switch all m68k to EGCS. 1998-12-12 20:48:23 +00:00
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