1# hostprog helpers for screen maps generation 2.PATH: ${.CURDIR}/../scrnmaps 3 4# SCRMAPS 5.include "./Makefile.scrnmaps" 6 7SCRMAPS_MK= ${SCRMAPS:R:S/$/.nx/g} 8 9${SCRMAPS_MK}: ${.TARGET:R} mkscrfil.c 10 ${NXCC} ${NXCFLAGS} -I${.CURDIR}/../scrnmaps -DFIL=\"${.TARGET:R}\" ${NXLDFLAGS} \ 11 -o ${.TARGET} ${.CURDIR}/../scrnmaps/mkscrfil.c 12 13CLEANFILES+= ${SCRMAPS_MK} 14 15genfiles: ${SCRMAPS_MK} 16depend all: genfiles 17 18build-tools: ${SCRMAPS_MK} 19 20# this tools are used in place, they are not installed anywhere 21install: 22 23# Hint HOST_CCVER handling. 24__USE_HOST_CCVER= 25 26.include <bsd.obj.mk> 27.include <bsd.dep.mk> 28.include <bsd.sys.mk> 29