Module Name: src Committed By: christos Date: Thu Jan 16 01:19:46 UTC 2014
Modified Files: src/share/mk: bsd.README bsd.own.mk bsd.sys.mk bsd.syscall.mk Added Files: src/share/mk: bsd.host.mk Log Message: - Add a new bsd.host.mk that contains all the HOST_ variables extracted from bsd.sys.mk and bsd.own.mk - Add protection requiring that: 1. bsd.sys.mk is not include from other Makefiles directly 2. bsd.own.mk must be included before bsd.sys.mk since it sets variables that bsd.sys.mk uses as conditionals. This is step 1 of removing all variable settings from bsd.sys.mk and leaving behind only rules. This way, the structure of a standard Makefile is: variable overrides optionally include bsd.own.mk optionally include bsd.endian.mk variable settings that use variables defined in bsd.own.mk include a one or more rule .mk files (such as bsd.prog.mk etc) To generate a diff of this commit: cvs rdiff -u -r1.325 -r1.326 src/share/mk/bsd.README cvs rdiff -u -r0 -r1.1 src/share/mk/bsd.host.mk cvs rdiff -u -r1.761 -r1.762 src/share/mk/bsd.own.mk cvs rdiff -u -r1.235 -r1.236 src/share/mk/bsd.sys.mk cvs rdiff -u -r1.1 -r1.2 src/share/mk/bsd.syscall.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.