1 1.12 dyoung # $NetBSD: Makefile,v 1.12 2011/04/03 23:14:12 dyoung Exp $ 2 1.6 soda # $OpenBSD: Makefile,v 1.5 1997/05/19 10:34:53 pefo Exp $ 3 1.6 soda # from: @(#)Makefile 8.1 (Berkeley) 6/16/93 4 1.1 jonathan 5 1.6 soda # Makefile for arc tags file and boot blocks 6 1.3 mycroft 7 1.3 mycroft # Find where mips source files are for inclusion in tags 8 1.3 mycroft .include <../mips/Makefile.inc> 9 1.3 mycroft 10 1.12 dyoung TARC= ${SYSDIR}/arch/arc/tags 11 1.12 dyoung SARC= ${SYSDIR}/arch/arc/arc/*.[ch] ${SYSDIR}/arch/arc/dev/*.[ch] \ 12 1.12 dyoung ${SYSDIR}/arch/arc/dti/*.[ch] ${SYSDIR}/arch/arc/include/*.h \ 13 1.12 dyoung ${SYSDIR}/arch/arc/isa/*.[ch] \ 14 1.12 dyoung ${SYSDIR}/arch/arc/pci/*.[ch] ${SYSDIR}/arch/arc/jazz/*.[ch] 15 1.12 dyoung AARC= ${SYSDIR}/arch/arc/arc/*.S 16 1.3 mycroft 17 1.3 mycroft # Directories in which to place tags links 18 1.9 tsutsui DARC= arc dev dti include isa pci jazz 19 1.1 jonathan 20 1.4 cgd .include "../../kern/Make.tags.inc" 21 1.1 jonathan 22 1.3 mycroft tags: 23 1.12 dyoung -rm -f ${TARC} 24 1.12 dyoung -echo ${SARC} ${SMIPS} | xargs ctags -wadtf ${TARC} 25 1.12 dyoung -${FINDCOMM} | xargs ctags -wadtf ${TARC} 26 1.6 soda egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AARC} ${AMIPS} | \ 27 1.11 apb ${TOOL_SED} "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 28 1.6 soda >> ${TARC} 29 1.6 soda sort -o ${TARC} ${TARC} 30 1.1 jonathan 31 1.3 mycroft links: 32 1.6 soda -for i in ${DARC}; do \ 33 1.3 mycroft cd $$i && rm -f tags; ln -s ../tags tags; done 34 1.1 jonathan 35 1.3 mycroft 36 1.8 lukem SUBDIR= compile include stand 37 1.3 mycroft 38 1.3 mycroft .include <bsd.subdir.mk> 39