blob: e5ac2217e53a3e2478a057277eeafc50a9bccc61 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# $FreeBSD$
all:
@echo "make LINT only"
clean:
rm -f LINT
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
rm -f LINT-VIMAGE
.endif
NOTES= ../../conf/NOTES NOTES
LINT: ${NOTES} ../../conf/makeLINT.sed
cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed > ${.TARGET}
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
echo "include ${.TARGET}" > ${.TARGET}-VIMAGE
echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE
echo "options VIMAGE" >> ${.TARGET}-VIMAGE
.endif
.if ${TARGET} == "powerpc" || ${TARGET} == "mips"
echo "machine ${TARGET} ${TARGET_ARCH}" >> ${.TARGET}
.endif
|