Annotation of sys/arch/hp300/Makefile, Revision 1.1.1.1
1.1 nbrk 1: # $OpenBSD: Makefile,v 1.8 2005/05/06 11:16:47 pedro Exp $
2: # $NetBSD: Makefile,v 1.5 1995/08/04 07:40:31 thorpej Exp $
3: # @(#)Makefile 7.3 (Berkeley) 6/9/91
4:
5: # Makefile for hp300 tags file and boot blocks
6:
7: S=${.CURDIR}/../..
8: .include "$S/kern/Make.tags.inc"
9:
10: NOPROG= noprog
11: NOMAN= noman
12:
13: SUBDIR= stand ../m68k
14:
15: THP300= $S/arch/hp300/tags
16: SHP300= $S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
17: $S/arch/hp300/hp300/*.[ch] $S/arch/hp300/include/*.h \
18: $S/arch/hp300/dev/*.[ch]
19: AHP300= $S/arch/m68k/m68k/*.[Ss] $S/arch/hp300/hp300/*.[Ss] \
20: $S/lib/libkern/arch/m68k/*.[sS]
21:
22: # Directories in which to place hp300 tags links
23: DHP300= conf dev hp300 include
24:
25: tags:
26: -ctags -wdtf ${THP300} ${COMM} ${SHP300}
27: egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHP300} | \
28: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
29: >> ${THP300}
30: sort -o ${THP300} ${THP300}
31:
32: links:
33: -for i in ${DHP300}; do \
34: (cd $$i && rm -f tags; ln -s ${THP300} tags); done
35:
36: obj: _SUBDIRUSE
37:
38: .include <bsd.prog.mk>
CVSweb