freebsd-skq/sys/conf/makeLINT.mk
2010-12-28 22:49:28 +00:00

23 lines
585 B
Makefile

# $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