Commit Graph

16 Commits

Author SHA1 Message Date
tv
a616862da1 Remove the "-j1" hack. This needs to be fixed better. For now, -j is
disabled at the top level anyway, making this extra hack unnecessary.
2002-02-26 22:27:11 +00:00
tv
9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv
c10af7be1e Make sure LEX and YACC are properly defined (mainly for groff); also use
a more portable grep construct.
2002-01-31 02:42:25 +00:00
tv
fe9dd95fc6 Remove stray diagnostic "echo". 2002-01-03 16:47:08 +00:00
tv
b6ed0d753c * Honor BUILD on "make install" (will do "make all" first).
* Make "make all" update the .build_done timestamp more intelligently;
  if no files changed in the build tree, don't touch the timestamp.
  (This allows UPDATE and BUILD to function correctly.)
2002-01-03 16:45:18 +00:00
tv
94d108be2e Avoid building and installing every time, so that we don't have toolchain
dependencies cause things like constantly regenerating catpages....
2001-12-13 19:36:22 +00:00
jmc
1bcf4d49b2 Make sure and run sh configure as it may not have execute permissions. 2001-12-02 03:03:12 +00:00
perry
184d8eecad replace instances of INSTALL_FILE with HOST_INSTALL_FILE 2001-11-19 04:47:42 +00:00
tv
f39f0b5131 Workaround some make(1) braindamage wrt when it tries to "auto-chdir"
back to ${.CURDIR}.  How losing....
2001-11-16 16:41:46 +00:00
tv
7cbe8c2c16 Recheck the GNU configuration if ${.CURDIR}/Makefile changes. 2001-11-14 22:14:48 +00:00
tv
054166f6cf Use ${INSTALL_FILE:N-U}. 2001-11-14 22:07:03 +00:00
tv
cc88e154cb Change where the -j1 is set to disable parallelism. XXX This should not
be necessary; .NOTPARALLEL needs to be told how to work properly for
specific recursion targets.
2001-11-13 06:17:45 +00:00
tv
c31cbb4bcc Remove extraneous @echo from local changes. 2001-11-13 05:02:37 +00:00
tv
71abcbf812 Move around the MAKE_ARGS assignments to put the := as early as possible. 2001-11-13 04:43:25 +00:00
tv
8753b7b6af Make the wrapper work correctly for groff too, which uses a rather freaky
Makefile layout.
2001-11-13 04:28:27 +00:00
tv
b5cd2489b2 Major overhaul of src/tools and host toolchain. Summary of changes:
* Rewrite src/tools Make logic to work like the rest of the tree wrt
  "dependall" and "install".  The old "make build" hack is gone.

* Remove the MKTOOLS logic.  This was linked to the "make build" hack,
  and was only needed because TOOLDIR originally had no writable default.

* Redo the GNU configure/make logic to make it fit reasonably in a
  BSD make wrapper.  Use new ${.ALLTARGETS} variable to scan for
  targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.

* Only build cross tools in src/tools; remove some messy logic in
  src/usr.* and src/gnu/usr.* that would do target filename rewriting
  (improves consistency and readability).

* Add the ability to build cross gdb at tool build time by setting
  MKCROSSGDB (default no) to "yes" in mk.conf.

* Add src/tools/groff and set up paths to work with this cross groff.
2001-11-12 23:16:17 +00:00