2003-02-26 23:36:59 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
all:
|
|
|
|
@echo "make LINT only"
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f LINT
|
2010-01-08 19:00:20 +00:00
|
|
|
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
|
|
|
|
rm -f LINT-VIMAGE
|
|
|
|
.endif
|
2003-02-26 23:36:59 +00:00
|
|
|
|
|
|
|
NOTES= ../../conf/NOTES NOTES
|
|
|
|
LINT: ${NOTES} ../../conf/makeLINT.sed
|
|
|
|
cat ${NOTES} | sed -E -n -f ../../conf/makeLINT.sed > ${.TARGET}
|
2010-01-08 19:00:20 +00:00
|
|
|
.if ${TARGET} == "amd64" || ${TARGET} == "i386"
|
|
|
|
echo "include ${.TARGET}" > ${.TARGET}-VIMAGE
|
|
|
|
echo "ident ${.TARGET}-VIMAGE" >> ${.TARGET}-VIMAGE
|
|
|
|
echo "options VIMAGE" >> ${.TARGET}-VIMAGE
|
|
|
|
.endif
|
2010-12-28 22:49:28 +00:00
|
|
|
.if ${TARGET} == "powerpc" || ${TARGET} == "mips"
|
2010-08-19 03:19:26 +00:00
|
|
|
echo "machine ${TARGET} ${TARGET_ARCH}" >> ${.TARGET}
|
|
|
|
.endif
|