Annotation of sys/arch/zaurus/Makefile, Revision 1.1
1.1 ! nbrk 1: # $OpenBSD: Makefile,v 1.3 2005/05/06 02:20:24 uwe Exp $
! 2: # $NetBSD: Makefile,v 1.1 2001/06/12 08:32:46 chris Exp $
! 3:
! 4: # Makefile for zaurus tags file and boot blocks
! 5:
! 6: S=${.CURDIR}/../..
! 7: .include "$S/kern/Make.tags.inc"
! 8:
! 9: SUBDIR= stand
! 10:
! 11: NOPROG= noprog
! 12: NOMAN= noman
! 13:
! 14: TZAURUS= $S/arch/zaurus/tags
! 15:
! 16: SZAURUS= $S/arch/zaurus/dev/*.[ch] $S/arch/zaurus/include/*.h \
! 17: $S/arch/zaurus/zaurus/*.[ch] $S/arch/arm/arm/*.[ch] \
! 18: $S/arch/arm/include/*.h $S/arch/arm/mainbus/*.[ch] \
! 19: $S/arch/arm/sa11x0/*.[ch] $S/arch/arm/xscale/*.[ch]
! 20: AZAURUS= $S/arch/zaurus/zaurus/*.S $S/arch/arm/arm/*.S \
! 21: $S/arch/arm/mainbus/*.S $S/arch/arm/xscale/*.S
! 22:
! 23: # Directories in which to place tags links
! 24: DZAURUS= dev include zaurus
! 25:
! 26: tags:
! 27: -ctags -wdtf ${TZAURUS} ${SZAURUS} ${COMM}
! 28: egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AZAURUS} | \
! 29: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
! 30: >> ${TZAURUS}
! 31: sort -o ${TZAURUS} ${TZAURUS}
! 32:
! 33: links:
! 34: -for i in ${DZAURUS}; do \
! 35: (cd $$i && { rm -f tags; ln -s ${TZAURUS} tags; }) done
! 36:
! 37: obj: _SUBDIRUSE
! 38:
! 39: .include <bsd.prog.mk>
CVSweb