DEADSOFTWARE

* -> old; Trurl-based -> new
[bbcp.git] / new / _OpenBSD_ / Lin / Mod / gen-Termios / Makefile
1 # This is BSD Makefile
2 # BSD GNU
3 # ${.TARGET} $@
4 # ${.ALLSRC} $^
5 # ${.IMPSRC} $<
7 all: Termios.txt
9 PY = python2.7
10 DEFS = defs-termios
12 Termios.txt: Termios.txt.templ ${DEFS}
13 ${PY} ./untempl.py Termios.txt.templ ${.TARGET}
15 defs-termios:
16 ./dumpdefs.py 2 0 i /usr/include/termios.h > ${.TARGET}
17 ./dumpdefs.py 2 1 i /usr/include/termios.h | grep -v compat >> ${.TARGET}
18 ./dumpdefs.py 2 2 i /usr/include/termios.h | grep -v compat | grep -v CHWFLOW >> ${.TARGET}
20 clean:
21 rm -f Termios.txt ${DEFS}