Sync usage with man page.
[netbsd-mini2440.git] / sys / arch / hpcarm / Makefile
blobf874ccd98216dbf5bcb32536661f51f1ddd9f894
1 # $NetBSD: Makefile,v 1.2 2003/01/06 17:40:33 lukem Exp $
3 # Makefile for hpcarm tags file and boot blocks
5 THPCARM= ../hpcarm/tags
6 SHPCARM= ../hpcarm/hpcarm/*.[ch] ../hpcarm/include/*.h \
7 ../hpcarm/dev/*.[ch] ../hpcarm/mainbus/*.[ch] \
8 ../hpcarm/sa/*.[ch]
9 AHPCARM= ../hpcarm/hpcarm/*.s ../hpcarm/sa/*.s
11 # Directories in which to place tags links
12 DHPCARM= dev mainbus include sa
14 .include "../../kern/Make.tags.inc"
16 tags:
17 -ctags -wdtf ${THPCARM} ${SHPCARM} ${COMM}
18 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHPCARM} | \
19 ${TOOL_SED} -e \
20 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
21 >> ${THPCARM}
22 sort -o ${THPCARM} ${THPCARM}
24 links:
25 -for i in ${DHPCARM}; do \
26 cd $$i && rm -f tags; ln -s ../tags tags; done
29 SUBDIR= compile include
31 .include <bsd.subdir.mk>