Makefile revision 1.3
11.3Sapb# $NetBSD: Makefile,v 1.3 2008/10/25 22:27:38 apb Exp $ 21.1Smatt 31.1Smatt# Makefile for netwinder tags file and boot blocks 41.1Smatt 51.1SmattTNETWINDER= ../netwinder/tags 61.1SmattSNETWINDER= ../netwinder/netwinder/*.[ch] ../netwinder/include/*.h \ 71.1Smatt ../netwinder/isa/*.[ch] ../netwinder/pci/*.[ch] 81.1SmattANETWINDER= ../netwinder/netwinder/*.s 91.1Smatt 101.1Smatt# Directories in which to place tags links 111.1SmattDNETWINDER= isa pci include 121.1Smatt 131.1Smatt.include "../../kern/Make.tags.inc" 141.1Smatt 151.1Smatttags: 161.1Smatt -ctags -wdtf ${TNETWINDER} ${SNETWINDER} ${COMM} 171.1Smatt egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ANETWINDER} | \ 181.3Sapb ${TOOL_SED} -e \ 191.3Sapb "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 201.1Smatt >> ${TNETWINDER} 211.1Smatt sort -o ${TNETWINDER} ${TNETWINDER} 221.1Smatt 231.1Smattlinks: 241.1Smatt -for i in ${DNETWINDER}; do \ 251.1Smatt cd $$i && rm -f tags; ln -s ../tags tags; done 261.1Smatt 271.1Smatt 281.2SlukemSUBDIR= compile include 291.1Smatt 301.1Smatt.include <bsd.subdir.mk> 31