Commit Graph

24 Commits

Author SHA1 Message Date
dsl b6465c5d37 Extract a base list of .h files from the set lists instead of looking
at the current contents of ${DESTDIR}.
Ignore missing files and also depend on the set lists themselves.
Should stop the build breaking here if there are extra files in DESTDIR (etc).
NB: The order of the .h files matters somewhat. Probably works by luck.
2013-04-04 22:35:28 +00:00
apb 89799ead73 Pass SED=${TOOL_SED:Q} in the environment to scripts run during the build. 2008-10-25 22:23:55 +00:00
apb f3f295c281 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:23 +00:00
christos e82b090f18 little cleanups. 2008-03-23 18:53:51 +00:00
bouyer 2720c9d6a3 Install xenio.h and xenio3.h in /usr/include/xen, for the benefit
of xentools3.

XXX ignore those in Makefile.ioctl-c, they don't compile properly outside
of the Xen context and the ioctls from xenio.h conflicts with
soundcard.h
2008-02-17 16:23:12 +00:00
matt 34d8567b7b Add ${PROG}-ioctl.c to DPSRCS 2008-02-16 07:17:58 +00:00
christos 5699156510 pick up ioctls from other devices too. 2006-08-27 20:31:26 +00:00
christos 5e5752c8cd PR/33627: Keiichi Shima: typo in Makefile.ioctl-c in kdump directory
s/RW/WR/
2006-06-02 13:56:49 +00:00
tron dc33169c5b Add prefix "${PROG}-" to filename of automatically created list of
ioctl names. This makes sure that each program is built with its own
copy even if object directories are not used. This avoids build
failures when two or more make jobs are used in parallel.
2004-07-10 12:12:49 +00:00
tron d12de89293 Don't scan include files in "includes" target because they might not be
in the destination directory yet.
2004-07-07 14:28:17 +00:00
hannken aa9b145692 Don't invoke the egrep for cleandir and obj targets. Needed for build.sh.
Use ".if !make()" instead of ".if !target()".
2004-04-23 12:05:53 +00:00
hannken 1466f8c9d9 Undo last commit -- doesn't work. 2004-04-23 09:50:21 +00:00
hannken 0c0fbf545a Don't invoke the egrep for cleandir and obj targets. Needed for build.sh. 2004-04-23 09:28:56 +00:00
christos 19e4b9c5ad Instead of pussy-footing around and grabbing a few of the ioctl's here and
there randomly, grab all the ioctls from the include files.
Read the XXX's in mkioctls about problems with our header files.
2004-04-22 22:31:18 +00:00
lukem 130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00
lukem a694177df5 support MAKEVERBOSE and use ${HOST_SH} 2003-10-19 04:25:00 +00:00
thorpej e5adc13bea * Make it a little easier to add new "ioctl defns are in these files".
* Add the ability to decode the cryptodev ioctls.
2003-08-27 20:35:42 +00:00
christos b8dae40722 Don't invoke the grep for cleandir and obj targets. Suggested by
Juergen Hannken-Illjes
2003-04-18 14:43:49 +00:00
christos aa5b09ddbf PR/21117: Robert Elz: Makefile-ioctl.c mishandles dependencies 2003-04-13 05:04:00 +00:00
lukem 2c16ea6f7e use NETBSDSRCDIR as appropriate 2002-09-19 11:31:21 +00:00
mycroft 0505c42bda Quotes around ${CC}... 2001-09-25 14:26:56 +00:00
jdolecek 6f081befa2 set CC and DESTDIR for mkioctls accordingly
patch by Chris Jepeway via tech-userlevel.
2001-09-23 08:51:11 +00:00
mrg 1a3492999b mark the installed ioctl.h & ioctl_compat.h PRECIOUS; if mkioctls fails, don't delete them! 2000-07-27 11:51:14 +00:00
mrg 9abab6de8b - build with obj dirs.
- use .PATH not broken links
- share the make fragment to build "ioctl.c"
- general clean up, RCSID, etc.

this is all happy now AFAICT.
1999-07-12 04:13:34 +00:00