Commit Graph

19 Commits

Author SHA1 Message Date
thorpej 3550b00b45 Move -no-cpp-precomp logic to defs.mk. 2003-03-13 05:15:49 +00:00
thorpej c0d5461540 Pass -no-cpp-precomp to the C preprocessor on Darwin; our use of
libnbcompat is incompatible with pre-compiled headers (which the
compiler correctly detects, but warns about profusely).
2003-03-13 04:43:37 +00:00
tv a328e34106 Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
tv 9c06c04bee Missed in last commit: make some tools build properly on non-NetBSD hosts. 2002-01-21 20:59:40 +00:00
lukem d8b4b32178 no need to set NOMAN twice 2001-12-12 12:07:26 +00:00
tv 9156c43a3a Add NOMAN/NOLINT. 2001-12-12 02:48:46 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
tv 87d14ee4ac Add the framework for autoconf-based src/tools/compat structure. This will
(after it is more fleshed out) allow the host tools to work more cleanly
on non-NetBSD hosts.
2001-12-11 21:17:56 +00:00
perry 184d8eecad replace instances of INSTALL_FILE with HOST_INSTALL_FILE 2001-11-19 04:47:42 +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
tv 34f19baa7f Make use of OBJHOSTMACHINE here, since <bsd.obj.mk> is preloaded. 2001-11-12 17:46:35 +00:00
jmc 6dda1d498c Pull the rmd160 stuff out as mtree now has options to selectively compile
pieces out we won't need during a build.
2001-11-11 01:36:15 +00:00
jmc 67de198df5 XXX...Complete hack for now.
Add a stub for RMD160File which prints out a warning and returns NULL.

This allows mtree to be built when hosting from a 1.5.x box.
The real solution is to convert the src/tools bits into clean portable tools
and not have them so NetBSD-current centric.
2001-11-08 20:30:54 +00:00
thorpej 21d2d1202e Back out previous -- it has other annoying side-effects I missed. 2001-10-25 02:02:46 +00:00
thorpej e39fae1aff Add the program's CPPFLAGS to HOST_CPPFLAGS using make(1)'s normal
lazy evaluation semantics, not the "assign it now" semantics.  This
allows variables used in the program's CPPFLAGS to get the correct
values of e.g. MACHINE, MACHINE_ARCH, MACHINE_CPU, etc.

Problem was notices when propagating MACHINE and MACHINE_ARCH via
MAKEFLAGS (i.e. from the command line, rather than the environment).

For this to work, make sure you <bsd.hostprog.mk> is at least rev 1.15.
2001-10-25 01:25:02 +00:00
thorpej 14c7c08a1d Provide a PRINTOBJDIR. 2001-10-25 00:36:26 +00:00
jmc 3a2cae9ab1 If <srcdir>/../Makefile.inc exists, pull it in as well before setting
CPPFLAGS, etc.
2001-10-22 05:30:47 +00:00
jmc b8b456e6f9 Add install.files rule. Tools with support files can use HOSTFILES and
HOST_FILESDIR to install support files (just like bsd.files.mk normally
would be doing.
2001-10-13 06:09:25 +00:00
tv c5d597ce98 Bootstrap toolchain framework, first pass. 2001-08-14 11:01:55 +00:00