Commit Graph

612 Commits

Author SHA1 Message Date
wiz 9b73fe4714 removed 'UVM?= YES' 2000-02-20 06:50:54 +00:00
erh a2802fd5fa Add NOPATH to prevent files in the serach path from interfering with what we're building. 2000-02-19 23:57:12 +00:00
erh 0d07e9caed Add NOPATH to keep *.cat files in the search path from interfering with the build. 2000-02-19 23:02:17 +00:00
erh ad351344c0 Add NOPATH to prevent .cat* files in the search path from interfering. 2000-02-19 22:54:08 +00:00
erh 6092e1aa2a Add NOPATH for all output files to prevent their presence in the search path from causing problems. 2000-02-19 05:36:23 +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
itohy 62efa4eac6 s/MAKOBJDIR/MAKEOBJDIR/
Pointed out by Katsuomi Hamajima.
2000-02-18 06:09:11 +00:00
drochner 72db33dc5a fix link creation:
-put "echo"s for the daughter Makefile into a subshell to get them all
 into the Makefile (instead of stdout - should fix PR misc/9336 by
 Bernd Ernesti)
-change operator for "realall" back to ":" - rules are supposed to
 accumulate, and "::" clashes with the definition in <bsd.own.mk>
-call sub-make with the "all" target to make sure we don't get just
 the first rule
2000-02-10 18:18:01 +00:00
sjg 5c4b588d66 Fixed handling of MAKEOBJDIR so that it matches make(1)'s expectations.
Added handling of MAKEOBJDIRPREFIX.
In both cases we simply need to mkdir the appropriate path if it does not
exists.
2000-02-08 12:38:16 +00:00
jdc 2133a0f528 Add libahdi entries. 2000-02-05 20:54:12 +00:00
tsutsui c539ff5d84 STRIPPROG -> STRIP 2000-02-01 06:00:35 +00:00
mycroft 6235a29e6b Fix a bogon that caused some symlinks to not be installed. 2000-01-24 06:54:27 +00:00
eeh 5d315f245c Add some support for FCode binaries. 2000-01-23 19:38:53 +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 fe5f9c4b53 Adjust symlink crap for all/realall changes. 2000-01-22 19:45:41 +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
jlam f4b2073531 bsd.prog.mk doesn't define/use STRIP anymore -- it's now STRIPFLAG 2000-01-17 21:21:55 +00:00
abs a4cc9c62f3 remove duplicate += of OBJS, introduced in 1.158 - fixes PR #8487 2000-01-17 18:37:23 +00:00
assar 39e002e7ea all: depend on ${SCRIPTS} so that they get generated if they need to 2000-01-16 03:34:27 +00:00
sommerfeld 7a458244ef improve text describing BSDSRCDIR/BSDOBJDIR 2000-01-08 01:41:13 +00:00
drochner 84ed277b8d correct confusing example, closes PR misc/9135 by Andreas Gustafsson 2000-01-06 19:09:35 +00:00
sommerfeld 26d13bd6c3 When building obj symlinks, if there's already a link pointing at the right target,
do nothing rather than deleting and recreating an identical link.
1999-12-04 02:44:07 +00:00
sommerfeld 3e76523ff8 Attempt to document what bsd.obj.mk does. 1999-12-01 03:33:52 +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
simonb 3047c747cf Add a MKPICLIB variable. If set to "no", don't build an _pic.a library
and build shared objects from the .a library.  A symlink is installed
in /usr/lib so that the name "libfoo_pic.a" still exists for third party
software that explicitly wants an _pic.a library.
1999-11-28 04:50:41 +00:00
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