No empty .Rs/.Re
[netbsd-mini2440.git] / sys / arch / landisk / Makefile
blobd34422c59a09ebba933fa1f54254d81e97f00166
1 # $NetBSD: Makefile,v 1.1 2006/09/01 21:26:18 uwe Exp $
3 # Makefile for landisk tags file and boot blocks
5 TLANDISK= ../landisk/tags
6 SLANDISK= ../landisk/landisk/*.[ch] ../landisk/include/*.h
7 ALANDISK= ../landisk/landisk/*.[sS]
9 # Directories in which to place tags links
10 DLANDISK= landisk include
12 .include "../../kern/Make.tags.inc"
14 tags:
15 -ctags -wdtf ${TLANDISK} ${SLANDISK} ${COMM}
16 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ALANDISK} | \
17 ${TOOL_SED} -e \
18 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
19 >> ${TLANDISK}
20 sort -o ${TLANDISK} ${TLANDISK}
22 links:
23 -for i in ${DLANDISK}; do \
24 (cd $$i && rm -f tags; ln -s ../tags tags); done
26 SUBDIR= compile include stand
28 .include <bsd.subdir.mk>