Upgrade vi(1). 1/2
[dragonfly.git] / share / syscons / mapsmk / Makefile
1 # hostprog helpers for screen maps generation
2 .PATH: ${.CURDIR}/../scrnmaps
3
4 # SCRMAPS
5 .include "./Makefile.scrnmaps"
6
7 SCRMAPS_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
13 CLEANFILES+=    ${SCRMAPS_MK}
14
15 genfiles: ${SCRMAPS_MK}
16 depend all: genfiles
17
18 build-tools: ${SCRMAPS_MK}
19
20 # this tools are used in place, they are not installed anywhere
21 install:
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>