Annotation of sys/arch/aviion/Makefile, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: Makefile,v 1.2 2006/05/09 21:15:18 deraadt Exp $
2:
3: S=${.CURDIR}/../..
4: .include "$S/kern/Make.tags.inc"
5:
6: NOPROG=
7: NOMAN=
8: NOOBJ=
9:
10: SUBDIR= stand
11:
12: TAVIION= $S/arch/aviion/tags
13: SAVIION= $S/arch/aviion/aviion/*.[ch] \
14: $S/arch/aviion/dev/*.[ch] \
15: $S/arch/aviion/include/*.h
16: AAVIION= $S/arch/aviion/aviion/*.[sS]
17:
18: # Directories in which to place aviion tags links
19: DAVIION= conf dev aviion include
20:
21: tags:
22: -ctags -wdtf ${TAVIION} ${COMM} ${SAVIION}
23: egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAVIION} | \
24: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
25: >> ${TAVIION}
26: sort -o ${TAVIION} ${TAVIION}
27:
28: links:
29: -for i in ${DAVIION}; do \
30: (cd $$i && rm -f tags; ln -s ${TAVIION} tags); done
31:
32: obj: _SUBDIRUSE
33:
34: .include <bsd.prog.mk>
CVSweb