DEADSOFTWARE

synchronized with https://github.com/aixp/BlackBox
[bbcp.git] / BlackBox / _FreeBSDOpenBSD_ / Lin / Mod / gen-Ioctl / Makefile
similarity index 65%
rename from BlackBox/_OpenBSD_/Lin/Mod/gen-Ioctl/Makefile
rename to BlackBox/_FreeBSDOpenBSD_/Lin/Mod/gen-Ioctl/Makefile
index 6696eb9001ff17dc3e02a4cfb93515d1f4fc267e..989404843ea4b2fdb01c7a49af92c7aa059388c7 100644 (file)
@@ -9,16 +9,16 @@ INCDIR ?= /usr/include
 all: mkioctl Ioctl.txt
 
 PY = python2.7
-DEFS = defs-ttycom defs-ioctl
+DEFS = defs-tiocm defs-ioctl
 
 defs-ioctl: mkioctl
        ./mkioctl > ${.TARGET}
 
-Ioctl.txt: Ioctl.txt.templ ${DEFS}
+Ioctl.txt: Ioctl.txt.templ ${DEFS} libver osname machine
        ${PY} ./untempl.py Ioctl.txt.templ ${.TARGET}
 
-defs-ttycom:
-       ./dumpdefs.py 3 1 s ${INCDIR}/sys/ttycom.h | grep TIOCM_ > ${.TARGET}
+defs-tiocm:
+       ./dumpdefs.py 2 1 s ${INCDIR}/sys/ttycom.h | grep TIOCM_ > ${.TARGET}
 
 clean:
        rm -f mkioctl Ioctl.txt ${DEFS}