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