Annotation of sys/arch/landisk/Makefile, Revision 1.1
1.1 ! nbrk 1: # $OpenBSD: Makefile,v 1.1.1.1 2006/10/06 21:16:15 miod Exp $
! 2: # $NetBSD: Makefile,v 1.1 2006/09/01 21:26:18 uwe Exp $
! 3:
! 4: # Makefile for landisk tags file and boot blocks
! 5:
! 6: TLANDISK= ../landisk/tags
! 7: SLANDISK= ../landisk/landisk/*.[ch] ../landisk/include/*.h
! 8: ALANDISK= ../landisk/landisk/*.[sS]
! 9:
! 10: # Directories in which to place tags links
! 11: DLANDISK= landisk include
! 12:
! 13: .include "../../kern/Make.tags.inc"
! 14:
! 15: tags:
! 16: -ctags -wdtf ${TLANDISK} ${SLANDISK} ${COMM}
! 17: egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ALANDISK} | \
! 18: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
! 19: >> ${TLANDISK}
! 20: sort -o ${TLANDISK} ${TLANDISK}
! 21:
! 22: links:
! 23: -for i in ${DLANDISK}; do \
! 24: (cd $$i && rm -f tags; ln -s ../tags tags); done
! 25:
! 26: SUBDIR= stand
! 27:
! 28: .include <bsd.subdir.mk>
CVSweb