Annotation of sys/arch/m68k/Makefile, Revision 1.1
1.1 ! nbrk 1: # $OpenBSD: Makefile,v 1.9 2005/05/06 11:16:47 pedro Exp $
! 2:
! 3: S=${.CURDIR}/../..
! 4: .include "$S/kern/Make.tags.inc"
! 5:
! 6: .if ${MACHINE_ARCH} == "m68k"
! 7: SUBDIR+= 060sp fpsp
! 8: .endif
! 9:
! 10: TM68K= $S/arch/m68k/tags
! 11: SM68K= $S/arch/m68k/m68k/*.[ch] \
! 12: $S/arch/m68k/include/*.h
! 13: AM68K= $S/arch/m68k/m68k/*.[sS] \
! 14: $S/lib/libkern/arch/m68k/*.[sS] \
! 15: $S/arch/m68k/fpsp/*.sa \
! 16: $S/arch/m68k/060sp/*.[sS] \
! 17: $S/arch/m68k/060sp/*.sa \
! 18:
! 19: # Directories in which to place m68k tags links
! 20: DM68K= conf m68k include pci
! 21:
! 22: tags:
! 23: -ctags -wdtf ${TM68K} ${COMM} ${SM68K}
! 24: egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AM68K} | \
! 25: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
! 26: >> ${TM68K}
! 27: sort -o ${TM68K} ${TM68K}
! 28:
! 29: links:
! 30: -for i in ${DM68K}; do \
! 31: cd $$i && rm -f tags; ln -s ${TM68K} tags; done
! 32:
! 33:
! 34: .include <bsd.subdir.mk>
CVSweb