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