Makefile revision 1.8
11.8Sdyoung# $NetBSD: Makefile,v 1.8 2011/04/04 19:46:40 dyoung Exp $ 21.1Ssimonb 31.1Ssimonb# Makefile for evbmips tags file and boot blocks 41.1Ssimonb 51.1Ssimonb# Find where mips source files are for inclusion in tags 61.1Ssimonb.include <../mips/Makefile.inc> 71.1Ssimonb 81.1Ssimonb# XXX ! fix this 91.3SdyoungTEVBMIPS= ${SYSDIR}/arch/evbmips/tags 101.8SdyoungSEVBMIPS= ${SYSDIR}/arch/evbmips/adm5120/*.[ch] 111.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/alchemy/*.[ch] 121.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/atheros/*.[ch] 131.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/evbmips/*.[ch] 141.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/gdium/*.[ch] 151.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/include/*.h 161.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/isa/*.[ch] 171.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/malta/*.[ch] 181.8SdyoungSEVBMIPS+= ${SYSDIR}/arch/evbmips/rmixl/*.[ch] 191.3SdyoungAEVBMIPS= ${SYSDIR}/arch/evbmips/evbmips/*.S 201.1Ssimonb 211.1Ssimonb# Directories in which to place tags links 221.1SsimonbDEVBMIPS= evbmips include isa pci 231.1Ssimonb 241.1Ssimonb.include "../../kern/Make.tags.inc" 251.1Ssimonb 261.1Ssimonbtags: 271.5Sdyoung -rm -f ${TEVBMIPS} 281.5Sdyoung -echo ${SEVBMIPS} ${SMIPS} | xargs ctags -wadtf ${TEVBMIPS} 291.5Sdyoung -${FINDCOMM} | xargs ctags -wadtf ${TEVBMIPS} 301.1Ssimonb egrep "^LEAF(.*)|^[AN]LEAF(.*)|^NON_LEAF(.*)" ${AEVBMIPS} ${AMIPS} | \ 311.7Sapb ${TOOL_SED} -e \ 321.8Sdyoung "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 331.3Sdyoung >> ${TEVBMIPS} 341.1Ssimonb sort -o ${TEVBMIPS} ${TEVBMIPS} 351.1Ssimonb 361.1Ssimonblinks: 371.1Ssimonb -for i in ${DEVBMIPS}; do \ 381.1Ssimonb cd $$i && rm -f tags; ln -s ../tags tags; done 391.1Ssimonb 401.1Ssimonb 411.2SlukemSUBDIR= compile include 421.1Ssimonb 431.1Ssimonb.include <bsd.subdir.mk> 44