X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=new%2F_Linux_%2FLin%2FMod%2Fgen-Ioctl%2FMakefile;h=5fe037ad9bf60634bf1f3d0f27e3e1242d3c81b1;hb=94355117a8bd29290fb087a338ed0208d3b344da;hp=9b7bbe7370308b0d8d68717eb288961e8c1ac3fe;hpb=7acc620081315ecbcc23b315e6cc0da50504eb3b;p=bbcp.git diff --git a/new/_Linux_/Lin/Mod/gen-Ioctl/Makefile b/new/_Linux_/Lin/Mod/gen-Ioctl/Makefile index 9b7bbe7..5fe037a 100644 --- a/new/_Linux_/Lin/Mod/gen-Ioctl/Makefile +++ b/new/_Linux_/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 $@ defs-ioctl1: - ./dumpdefs.py 3 0 s /usr/include/i386-linux-gnu/bits/ioctl-types.h | grep TIOCM_ > $@ + ./dumpdefs.py 3 0 s ${INCDIR}/i386-linux-gnu/bits/ioctl-types.h | grep TIOCM_ > $@ clean: rm -f mkioctl Ioctl.txt ${DEFS}