Commit Graph

15 Commits

Author SHA1 Message Date
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem a93ea220fc Rework how dependency generation is performed:
* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
  This is a change of behaviour.  If a Makefile wants the clean semantics
  it must specifically append to CLEANFILES.
  Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
  that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d  depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
2003-08-01 17:03:41 +00:00
jdolecek 4ecc3047b1 also rewrite emul_find_interp() calls to include the ${COMPAT_UTIL_OVERRIDE}
prefix
2003-04-22 17:23:20 +00:00
matt 3b768ce056 PPC_MPC6XX is now PPC_OEA 2003-02-06 22:23:11 +00:00
jdolecek ff2064e0c8 make compat_linux LKM buildable on macppc 2002-05-19 18:18:36 +00:00
lukem c10ff7575c YANOMAN= 2001-12-13 01:26:39 +00:00
lukem b574ee0f82 define NOMAN= once, at the real top level of lkm 2001-12-12 12:06:45 +00:00
lukem 00255d260d define NOMAN= once, at the top level 2001-12-12 11:44:43 +00:00
gmcgarry 47e4542449 Pull in <bsd.own.mk> early so we can use MACHINE_CPU. Use
MACHINE_CPU instead of MACHINE_ARCH.
2001-12-10 07:26:47 +00:00
jdolecek a24e94e460 Move the compat_util.c handling to lkm/compat/Makefile.inc. The users
are expected to set COMPAT_UTIL_OVERRIDE to preferred emulation name
prefix.
Use this for compat_freebsd and compat_linux LKMs.
2001-10-27 12:09:34 +00:00
christos 1e3e288bb5 protect against multiple inclusion. 2001-01-14 06:29:27 +00:00
jdolecek e6c64e055f add build glue for supported emulations
since only linux compat on i386 is installed, only that LKM is actually
installed (LKMs are build for all platforms as appropriate though)
further changes to compat code would need to happen to make this usable
also for other plaforms or emulations
2000-12-08 20:15:11 +00:00
thorpej 3ef999a19b Make sure all LKMs get built with -DUVM and -DPMAP_NEW if so configured
in mk.conf.
1998-03-28 23:58:44 +00:00
explorer 97227d64b3 find ../sys relative to src dir, not obj dir 1996-08-27 23:42:01 +00:00
mrg 3b78ac59ad Update these to build in a consistant manner, and not assume /sys, etc.
Should work with obj dirs but not heavily tested.
1996-08-23 05:38:53 +00:00