X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;ds=sidebyside;f=new%2F_OpenBSD_%2FLin%2FMod%2Fgen-Ioctl%2FMakefile;h=6696eb9001ff17dc3e02a4cfb93515d1f4fc267e;hb=94355117a8bd29290fb087a338ed0208d3b344da;hp=a3b7beb22ce6292fa68b749838aa4c03d3d6f4de;hpb=33309b9780f3b368c4e594c76ffd1ab49f1c665a;p=bbcp.git diff --git a/new/_OpenBSD_/Lin/Mod/gen-Ioctl/Makefile b/new/_OpenBSD_/Lin/Mod/gen-Ioctl/Makefile index a3b7beb..6696eb9 100644 --- a/new/_OpenBSD_/Lin/Mod/gen-Ioctl/Makefile +++ b/new/_OpenBSD_/Lin/Mod/gen-Ioctl/Makefile @@ -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}