DEADSOFTWARE

"/usr/include" -> INCDIR
[bbcp.git] / new / _OpenBSD_ / Lin / Mod / gen-Ioctl / Makefile
index a3b7beb22ce6292fa68b749838aa4c03d3d6f4de..6696eb9001ff17dc3e02a4cfb93515d1f4fc267e 100644 (file)
@@ -4,6 +4,8 @@
 # ${.ALLSRC}    $^
 # ${.IMPSRC}    $<
 
+INCDIR ?= /usr/include
+
 all: mkioctl Ioctl.txt
 
 PY = python2.7
@@ -16,7 +18,7 @@ Ioctl.txt: Ioctl.txt.templ ${DEFS}
        ${PY} ./untempl.py Ioctl.txt.templ ${.TARGET}
 
 defs-ttycom:
-       ./dumpdefs.py 3 1 s /usr/include/sys/ttycom.h | grep TIOCM_ > ${.TARGET}
+       ./dumpdefs.py 3 1 s ${INCDIR}/sys/ttycom.h | grep TIOCM_ > ${.TARGET}
 
 clean:
        rm -f mkioctl Ioctl.txt ${DEFS}