Annotation of src/sys/arch/arc/Makefile, Revision 1.6
1.6 ! soda 1: # $NetBSD: Makefile,v 1.4 1998/06/12 23:22:43 cgd Exp $
! 2: # $OpenBSD: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $
! 3: # from: @(#)Makefile 8.1 (Berkeley) 6/16/93
1.1 jonathan 4:
1.6 ! soda 5: # Makefile for arc tags file and boot blocks
1.3 mycroft 6:
7: # Find where mips source files are for inclusion in tags
8: .include <../mips/Makefile.inc>
9:
1.6 ! soda 10: TARC= ../arc/tags
! 11: SARC= ../arc/algor/*.[ch] ../arc/arc/*.[ch] ../arc/dev/*.[ch] \
! 12: ../arc/dti/*.[ch] ../arc/include/*.h ../arc/isa/*.[ch] \
! 13: ../arc/pci/*.[ch] ../arc/pica/*.[ch]
! 14: AARC= ../arc/arc/*.S
1.3 mycroft 15:
16: # Directories in which to place tags links
1.6 ! soda 17: DARC= algor arc dev dti include isa pci pica
1.1 jonathan 18:
1.4 cgd 19: .include "../../kern/Make.tags.inc"
1.1 jonathan 20:
1.3 mycroft 21: tags:
1.6 ! soda 22: -ctags -wdtf ${TARC} ${SARC} ${SMIPS} ${COMM}
! 23: egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} ${AMIPS} | \
1.3 mycroft 24: sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
1.6 ! soda 25: >> ${TARC}
! 26: sort -o ${TARC} ${TARC}
1.1 jonathan 27:
1.3 mycroft 28: links:
1.6 ! soda 29: -for i in ${DARC}; do \
1.3 mycroft 30: cd $$i && rm -f tags; ln -s ../tags tags; done
1.1 jonathan 31:
1.3 mycroft 32:
1.6 ! soda 33: SUBDIR= include stand
1.3 mycroft 34:
35: .include <bsd.subdir.mk>
CVSweb <webmaster@jp.NetBSD.org>