DEADSOFTWARE

OpenBSD Kernel.Time: clock -> clock_gettime
[bbcp.git] / new / _OpenBSD_ / Lin / Mod / gen-Ioctl / Makefile
1 # This is BSD Makefile
2 # BSD GNU
3 # ${.TARGET} $@
4 # ${.ALLSRC} $^
5 # ${.IMPSRC} $<
7 INCDIR ?= /usr/include
9 all: mkioctl Ioctl.txt
11 PY = python2.7
12 DEFS = defs-ttycom defs-ioctl
14 defs-ioctl: mkioctl
15 ./mkioctl > ${.TARGET}
17 Ioctl.txt: Ioctl.txt.templ ${DEFS}
18 ${PY} ./untempl.py Ioctl.txt.templ ${.TARGET}
20 defs-ttycom:
21 ./dumpdefs.py 3 1 s ${INCDIR}/sys/ttycom.h | grep TIOCM_ > ${.TARGET}
23 clean:
24 rm -f mkioctl Ioctl.txt ${DEFS}