DEADSOFTWARE

Port, TODO
[bbcp.git] / Trurl-based / _Linux_ / Lin / Mod / gen-Ioctl / Makefile
1 # This is GNU Makefile
2 # BSD GNU
3 # ${.TARGET} $@
4 # ${.ALLSRC} $^
5 # ${.IMPSRC} $<
7 all: mkioctl Ioctl.txt
9 PY = python2.7
10 DEFS = defs-ioctl1 defs-ioctl
12 defs-ioctl: mkioctl
13 ./mkioctl > $@
15 Ioctl.txt: Ioctl.txt.templ ${DEFS}
16 ${PY} ./untempl.py Ioctl.txt.templ $@
18 defs-ioctl1:
19 ./dumpdefs.py 3 0 s /usr/include/i386-linux-gnu/bits/ioctl-types.h | grep TIOCM_ > $@
21 clean:
22 rm -f mkioctl Ioctl.txt ${DEFS}