NetBSD/sys/arch/arm26/Makefile

34 lines
840 B
Makefile
Raw Normal View History

2000-05-10 01:55:44 +04:00
# $NetBSD: Makefile,v 1.1 2000/05/09 21:55:54 bjh21 Exp $
# Makefile for arm26 tags file and boot blocks
TARM26= ../arm26/tags
SARM26= ../arm26/arm26/*.[ch] ../arm26/include/*.h \
../arm26/iobus/*.[ch] ../arm26/ioc/*.[ch] ../arm32/mainbus/*.[ch] \
../arm26/vidc/*.[ch]
AARM26= ../arm26/arm26/*.S ../arm26/iobus/*.S
# Directories in which to place tags links
DARM26= arm26 include iobus ioc mainbus vidc
.include "../../kern/Make.tags.inc"
tags: TAGS
-ctags -wdtf ${TARM26} ${SARM26} ${COMM}
egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AARM26} | \
sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
>> ${TARM26}
sort -o ${TARM26} ${TARM26}
TAGS:
etags ${SARM26} ${COMM} ${AARM26}
links:
-for i in ${DARM26}; do \
cd $$i && rm -f tags; ln -s ../tags tags; done
SUBDIR= include
.include <bsd.subdir.mk>