Commit Graph

13 Commits

Author SHA1 Message Date
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
lukem eb51573bd7 Use ${DEPENDSRCS} as a target instead of .depend, now that
<bsd.dep.mk> builds .depend from .dep files.
2003-07-28 15:25:02 +00:00
lukem 001c68bd94 Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
jwise 960d4eb511 Change wording of note explaining that SCCS (part of the xcu5 DEVELOPER option)
is not provided by NetBSD.

Note that CSSC is in pkgsrc, and that CVS, as with RCS is now part of the base
system, not of pkgsrc.
2002-01-30 21:43:29 +00:00
tv 4285b8d9a5 Remove the text that GNU ar assumes files are object files. GNU ar is
perfectly happy with non-object files (they are of type "binary" and are
not scanned for ranlib symbols).

Also add some entries for false, true, bg, fg.  More to come....
2000-07-07 20:06:27 +00:00
jwise ca956f1985 Minor change to at(1) description. Time to get back to work on this. 1999-07-09 16:13:53 +00:00
jwise fb0bc2e870 Add stub entries for all remaining commands and utilities. Now back to
the real work!
1999-06-01 19:53:51 +00:00
ross e3ec359a7a Remove .Tn from lower case name. `.Tn X/Open' will DTWT. 1999-06-01 18:24:10 +00:00
ross 574a7ff428 Make this work with obj dirs. 1999-06-01 18:22:52 +00:00
jwise fa6d6e512e Add a Makefile, as suggested by hubertf. The Makefile cribs brazenly from^W^W^W
is heavily influenced by src/distrib/notes/Makefile.inc, from Ross Harvey.

While here, fix a typo and nuke some trailing spaces, to make mdoc more comfortable.
1999-06-01 16:51:44 +00:00
jwise 351582cbf6 Add an appropriate copyright statement. This will be assigned to TNF
shortly.
1999-06-01 16:48:21 +00:00
jwise a3983c0010 Add stub entries for a bunch more utilities. 1999-06-01 04:42:13 +00:00
jwise 644cd7ff6b Initial import of a document detailing NetBSD's compliance with the
X/Open Commands and Utilities, Issue 5 (XCU5) standard, as well as a
directory structure in which documents detailing NetBSD's compliance
with other standards from X/Open and other bodies can be imported.

The XCU5 documentation presented here is _far_ from finished, but I wanted
to get something in tree for people to review and comment upon.
1999-06-01 02:36:07 +00:00