X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=new%2F_OpenBSD_%2FLin%2FMod%2Fgen-Termios%2FMakefile;h=346bb9a12b4287690304f1365c0d0d03077612f6;hb=94355117a8bd29290fb087a338ed0208d3b344da;hp=d1ec45b9835666d33a0da165ec1aabc632d339d9;hpb=7acc620081315ecbcc23b315e6cc0da50504eb3b;p=bbcp.git diff --git a/new/_OpenBSD_/Lin/Mod/gen-Termios/Makefile b/new/_OpenBSD_/Lin/Mod/gen-Termios/Makefile index d1ec45b..346bb9a 100644 --- a/new/_OpenBSD_/Lin/Mod/gen-Termios/Makefile +++ b/new/_OpenBSD_/Lin/Mod/gen-Termios/Makefile @@ -4,6 +4,8 @@ # ${.ALLSRC} $^ # ${.IMPSRC} $< +INCDIR ?= /usr/include + all: Termios.txt PY = python2.7 @@ -13,9 +15,9 @@ Termios.txt: Termios.txt.templ ${DEFS} ${PY} ./untempl.py Termios.txt.templ ${.TARGET} defs-termios: - ./dumpdefs.py 2 0 i /usr/include/termios.h > ${.TARGET} - ./dumpdefs.py 2 1 i /usr/include/termios.h | grep -v compat >> ${.TARGET} - ./dumpdefs.py 2 2 i /usr/include/termios.h | grep -v compat | grep -v CHWFLOW >> ${.TARGET} + ./dumpdefs.py 2 0 i ${INCDIR}/termios.h > ${.TARGET} + ./dumpdefs.py 2 1 i ${INCDIR}/termios.h | grep -v compat >> ${.TARGET} + ./dumpdefs.py 2 2 i ${INCDIR}/termios.h | grep -v compat | grep -v CHWFLOW >> ${.TARGET} clean: rm -f Termios.txt ${DEFS}