Home | History | Annotate | Line # | Download | only in amiga
Makefile revision 1.10.6.1
      1  1.10.6.1      is #	$NetBSD: Makefile,v 1.10.6.1 1996/06/09 20:48:33 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.10.6.1      is SUBDIR=stand
     15  1.10.6.1      is 
     16  1.10.6.1      is #all:
     17  1.10.6.1      is #	@echo "make tags or links only"
     18       1.1      mw 
     19       1.5  chopps TAMIGA=	$S/arch/amiga/tags
     20       1.8  chopps SAMIGA=	$S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
     21       1.8  chopps 	$S/arch/amiga/amiga/*.[ch] $S/arch/amiga/include/*.h \
     22       1.8  chopps 	$S/arch/amiga/dev/*.[ch]
     23       1.7  chopps AAMIGA=	$S/arch/m68k/m68k/*.s $S/arch/amiga/amiga/*.s
     24       1.1      mw 
     25       1.3      mw # Directories in which to place amiga tags links
     26       1.5  chopps DAMIGA=	amiga dev include
     27       1.1      mw 
     28       1.7  chopps TAGS:
     29       1.8  chopps 	-etags -dt ${COMM} ${SAMIGA} ${AAMIGA}
     30       1.8  chopps 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
     31       1.8  chopps 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     32       1.8  chopps 	    >> ${TAMIGA}/tags
     33       1.7  chopps 
     34       1.1      mw tags:
     35       1.9  chopps 	-ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA}
     36       1.8  chopps 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
     37       1.8  chopps 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     38       1.9  chopps 	    >> ${TAMIGA}
     39       1.9  chopps 	sort -o ${TAMIGA} ${TAMIGA}
     40       1.1      mw 
     41       1.1      mw links:
     42       1.8  chopps 	-for i in ${DAMIGA}; do \
     43       1.8  chopps 	    rm -f $$i/tags; rm -f $$i/TAGS ; \
     44       1.8  chopps 	    ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
     45       1.5  chopps 
     46       1.6  chopps .include <bsd.prog.mk>
     47       1.7  chopps 
     48