Commit Graph

587 Commits

Author SHA1 Message Date
blymn 38bd927ca8 Added libmenu library. 1999-11-23 13:22:37 +00:00
tron e6896dc7c0 Add missing "\" in two line shell command. 1999-11-16 13:15:09 +00:00
minoura 094fe1d972 Pass -traditional-cpp to mkdep for assembler files,
as in the actual compilation (${COMPILE.S} rule in sys.mk).
1999-11-16 08:18:34 +00:00
matt 999a010a4b VAX should use -O2. (why don't all ports?) 1999-11-15 06:14:23 +00:00
jdolecek 3ab0a83b70 merge build rules for files ending .cc and .C
add support for C++ source files ending .cpp and .cxx
1999-11-13 14:53:09 +00:00
jdolecek 13c9f44ec9 don't depend on ${PROG} for ``unload'' target - we don't need the lkm compiled
to do the unload
1999-11-02 22:42:51 +00:00
msaitoh e49b15da29 add GNU_ARCH.sh3=sh 1999-10-06 18:24:00 +00:00
wrstuden 1a546b9c98 Zap proginstall and scriptinstall - they don't make sense for hostprog. 1999-09-24 17:48:57 +00:00
wrstuden 9229eeaa2b Add KMOD_LOADFLAGS to the load target. With this, lkm's in /sys/lkm/... can
more readily depend on each other.

An lkm which depends on another lkm now only needs to set

KMOD_LOADFLAGS= -A../../path/to/other/lkm's/${KMOD}

and the lkm will link against the other lkm's symbols. Obviously the other
lkm had better be loaded. ;-) Note: the -A option to modload was pre-
existing. This change makes it possible for users of this file to take
advantage of it.
1999-09-22 18:06:21 +00:00
sommerfeld eabdb3b0c8 Define CONFIG, so it can be overridden for cross-builds. 1999-09-16 00:28:31 +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
christos 3d2671a09d sort the object file build so that we get better buffer cache behavior.
[from perry, with fixes from me]
1999-09-12 00:31:34 +00:00
fredb 1008436afc Permit "make all install", as well as "make foo install" (where foo would be
installed by "make install") without setting of BUILD. All cases where BUILD
is already set are unchanged from the old behavior.

"make all install" is now practically equivalent to "make BUILD= all install",
but without actually setting build.

Fixes pr's 8313, 3894.
1999-09-04 21:48:33 +00:00
kleink bb0106aee8 When test(1)ing for a symlink, use the -h primitive instead of -L. Although
the latter is supported in our test(1), the former is more portable, and is
defined in 1003.2bD3 and SVID4.  Addresses PR kern/8225 from Andrew Cagney.
1999-08-22 14:02:34 +00:00
sommerfeld 62ea23a965 Add OBJCOPY 1999-08-21 14:17:07 +00:00
simonb c31f7f0416 Document the UNPRIVILEGED make variable. 1999-08-21 06:19:33 +00:00
simonb 7987e3b34d Add ${INSTPRIV} to ${INSTALL} commands. 1999-08-21 06:17:45 +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
sommerfeld e09aca5470 Use (if defined) instead of obj.foo or obj
when building object directories
1999-08-21 00:41:41 +00:00
simonb 22066837c7 Make -r the default for RENAME, as per discussion on tech-install. 1999-08-16 13:57:03 +00:00
sommerfeld d5c8aa5ff2 correct previous fix:
- add CLEANDEPEND variable for stuff which should be cleaned out
in "cleandepend" phase.
- add it to the files removed during the cleandepend phase.
1999-08-11 02:00:15 +00:00
mrg 30c19fc81a update CRYPTO example to use ".sinclude" 1999-07-26 02:01:47 +00:00
wrstuden 6703225f00 Add bsd.hostprog.mk, a makefile for making programs used during
the build which will run on the build machine.
1999-07-14 20:20:05 +00:00
wrstuden 5b112fce77 Re-arrange location of "-nostdlib" in DESTDIR case so that cross-ld's
won't name the output file "stdlib".
1999-07-14 20:18:07 +00:00
thorpej c410486d29 Document bsd.crypto.mk, and update the OBJECT_FMT entry. 1999-07-13 17:58:42 +00:00
thorpej c3de1759c7 Install bsd.crypto.mk. 1999-07-12 22:06:25 +00:00
thorpej f77d35e72c Makefile fragment used to determine the path to crypto code in the
source tree.  Allows CRYPTOBASE to be set in mk.conf or environment.
If it's not set, it searches for: crypto-us, crypto-intl in that order.

Setting CRYPTOBASE to none forces a no-crypto build.  EXPORTABLE_SYSTEM
is supported for backwards-compatibility.

Will be used in a forthcoming mega-commit which significantly improves
the build process when building a crypto-enabled system, and allows
for the international crypto sub-tree to be seamlessly integrated into
the build process.
1999-07-11 20:17:01 +00:00
christos 63eda1d356 Introduce a second level of WARNS for even more paranoia 1999-07-08 01:55:38 +00:00
fvdl 454190a76b Switch the i386 port to ELF. 1999-07-05 09:13:04 +00:00
itojun 5e4f18efbb add LIBIPSEC for use from DPADD. 1999-07-01 20:19:18 +00:00
danw 3128e0f6f9 Remove the NOPROFILE=1 for powerpc 1999-06-26 20:04:49 +00:00
kim 04d4cbe3af Oops, PWD is really something else in most environments.
Call this variable PAWD instead.
1999-06-10 20:48:28 +00:00
tls 4d8eb5755d Fix a typo which caused "make obj" to try to *execute* the direcroty it was in. 1999-06-10 20:34:26 +00:00
simonb 3a3605e823 Use ${SHLIB_VERSION_FILE} as the location of the shared library version
file.  Pass this to checkver with the new -v option as well.
1999-06-10 00:40:05 +00:00
simonb d73a6ae1d3 Conditionally define SHLIB_VERSION_FILE as ${.CURDIR}/shlib_version . 1999-06-10 00:38:49 +00:00
kim 674c377f8f Allow "make obj" to work nicely with amd by setting
PWD=/usr/bin/pawd in /etc/mk.conf and using the amd
mount point path for BSDSRCDIR.
1999-06-08 18:28:38 +00:00
christos 11cfd21df0 Don't strip symbols if -g is specified. We might want to be able to debug
libraries!
1999-06-07 01:37:00 +00:00
pk 8d77b5ba4b Switch the sparc to ELF. 1999-06-06 09:25:38 +00:00
billc 195a593eae Fix thinko to make MKINFO=no work again. Closes PRs 7342 and 7411. 1999-04-22 01:06:42 +00:00
mycroft 654297170f Use -Tascii for pre-generated man pages, to avoid some nroff character set
magick.
1999-04-16 18:56:19 +00:00
fair e1134b1863 Patched per PR 7283; this causes shared libraries which depend on
other shared libraries to load against the ones just built when
DESTDIR is set (i.e. -L${DESTDIR}${LIBDIR} ), rather than what's
installed in /usr/lib (previous behavior definitely violated the
Principle of Least Astonishment!).
1999-03-30 09:30:43 +00:00
mycroft 3064c4ddcd alpha seems to work with -O2... 1999-03-10 14:06:14 +00:00
ross 88fbb254d4 If it exists, include machine/Makefile.inc 1999-03-10 06:34:19 +00:00
simonb 303e8a33d5 Change CFLAGS to AFLAGS for mkdep of .S/.s files. Fixes "make depend"
on pmax kernels (and doesn't break "make depend" on entire tree).
1999-02-24 22:04:15 +00:00
drochner cf3c9d73cd add missing parts of the "mips"->"mipse?" transition 1999-02-24 14:42:36 +00:00
christos 7054064487 Add sparc/elf bits. 1999-02-14 19:12:09 +00:00
christos 26bef09099 Don't attempt to build catpages when MKMAN == no 1999-02-13 16:34:39 +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
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00