DEADSOFTWARE

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