2003-07-17 00:07:12 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 2003/07/16 20:07:12 is Exp $
|
2002-05-26 16:47:41 +04:00
|
|
|
|
|
|
|
# ite support for A2410, generate C source from TMS34010 assembler
|
|
|
|
grf_ultms.c: grf_ultms.g
|
2002-05-26 16:51:55 +04:00
|
|
|
echo '/* $$' 'NetBSD$$ */' | sed -e 's/ N/N/' > ${.TARGET}
|
2002-05-26 16:47:41 +04:00
|
|
|
echo >> ${.TARGET}
|
|
|
|
echo '/* Generated from' >> ${.TARGET}
|
|
|
|
grep '$$NetBSD' ${.ALLSRC} | sed -e 's/[^$$]*\$$//' -e 's/\$$.*//' \
|
|
|
|
-e 's/^/ /' >> ${.TARGET}
|
|
|
|
echo '*/' >> ${.TARGET}
|
|
|
|
echo >> ${.TARGET}
|
2003-07-17 00:07:12 +04:00
|
|
|
gspa -c tmscode ${.ALLSRC} >> ${.TARGET}
|