Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 2006/12/17 16:07:11 peter Exp $ 2 3# Makefile for zaurus tags file and boot blocks 4 5TZAURUS= ../zaurus/tags 6SZAURUS= ../zaurus/zaurus/*.[ch] ../zaurus/include/*.h \ 7 ../zaurus/dev/*.[ch] 8AZAURUS= ../zaurus/zaurus/*.S ../zaurus/dev/*.S 9 10# Directories in which to place tags links 11DZAURUS= include 12 13.include "../../kern/Make.tags.inc" 14 15tags: 16 -ctags -wdtf ${TZAURUS} ${SZAURUS} ${COMM} 17 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AZAURUS} | \ 18 sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 19 >> ${TZAURUS} 20 sort -o ${TZAURUS} ${TZAURUS} 21 22links: 23 -for i in ${DZAURUS}; do \ 24 cd $$i && rm -f tags; ln -s ../tags tags; done 25 26SUBDIR= compile include #stand 27 28.include <bsd.subdir.mk> 29