Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / prep / Makefile
blobdc8bb32ea4695dfcd1265bc91eb7d848f60a577e
1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:46 lukem Exp $
3 # Makefile for tags file
5 TPREP= ../prep/tags
6 SPREP= ../prep/prep/*.[ch] ../prep/include/*.h ../prep/isa/*.[ch] \
7 ../prep/pci/*.[ch]
8 APREP= ../prep/prep/*.[sS]
10 # Directories in which to place tags links
11 DPREP= include
13 .include "../../kern/Make.tags.inc"
15 tags:
16 -ctags -wdtf ${TPREP} ${SPREP} ${COMM}
17 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${APREP} | \
18 ${TOOL_SED} -e \
19 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
20 >> ${TPREP}
21 sort -o ${TPREP} ${TPREP}
23 links:
24 -for i in ${DPREP}; do \
25 cd $$i && rm -f tags; ln -s ../tags tags; done
28 SUBDIR= compile include stand
30 .include <bsd.subdir.mk>