1 1.11 is # $NetBSD: Makefile,v 1.11 1997/01/06 12:33:09 is Exp $ 2 1.10 cgd 3 1.10 cgd # @(#)Makefile 7.3 (Berkeley) 6/9/91 4 1.10 cgd 5 1.7 chopps S=${BSDSRCDIR}/sys 6 1.8 chopps COMM= $S/vm/*.[ch] $S/ufs/*.[ch] $S/sys/*.h $S/compat/sunos/*.[ch] \ 7 1.8 chopps $S/nfs/*.[ch] $S/netns/*.[ch] $S/netiso/*.[ch] \ 8 1.8 chopps $S/netiso/xebec/*.[ch] $S/netinet/*.[ch] $S/netccitt/*.[ch] \ 9 1.9 chopps $S/net/*.[ch] $S/miscfs/*/*.[ch] $S/kern/*.[ch] $S/dev/*.[ch] \ 10 1.9 chopps $S/scsi/*.[ch] $S/lib/libkern/m68k/*.[ch] $S/lib/libkern/*.[ch] 11 1.1 mw 12 1.3 mw # Makefile for amiga tags file 13 1.1 mw 14 1.11 is SUBDIR=stand 15 1.1 mw 16 1.5 chopps TAMIGA= $S/arch/amiga/tags 17 1.8 chopps SAMIGA= $S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \ 18 1.8 chopps $S/arch/amiga/amiga/*.[ch] $S/arch/amiga/include/*.h \ 19 1.8 chopps $S/arch/amiga/dev/*.[ch] 20 1.7 chopps AAMIGA= $S/arch/m68k/m68k/*.s $S/arch/amiga/amiga/*.s 21 1.1 mw 22 1.3 mw # Directories in which to place amiga tags links 23 1.5 chopps DAMIGA= amiga dev include 24 1.1 mw 25 1.7 chopps TAGS: 26 1.8 chopps -etags -dt ${COMM} ${SAMIGA} ${AAMIGA} 27 1.8 chopps egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \ 28 1.8 chopps sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 29 1.8 chopps >> ${TAMIGA}/tags 30 1.7 chopps 31 1.1 mw tags: 32 1.9 chopps -ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA} 33 1.8 chopps egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \ 34 1.8 chopps sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ 35 1.9 chopps >> ${TAMIGA} 36 1.9 chopps sort -o ${TAMIGA} ${TAMIGA} 37 1.1 mw 38 1.1 mw links: 39 1.8 chopps -for i in ${DAMIGA}; do \ 40 1.8 chopps rm -f $$i/tags; rm -f $$i/TAGS ; \ 41 1.8 chopps ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done 42 1.5 chopps 43 1.6 chopps .include <bsd.prog.mk> 44 1.7 chopps 45