Home | History | Annotate | Line # | Download | only in amiga
Makefile revision 1.4
      1 #	from: @(#)Makefile	7.3 (Berkeley) 6/9/91
      2 #	$Id: Makefile,v 1.4 1994/01/26 21:00:13 mw Exp $
      3 
      4 COMM=	../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] ../netns/*.[ch] \
      5 	../netiso/*.[ch] ../netccitt/*.[ch] \
      6 	../kern/*.c ../ufs/*.[ch] ../nfs/*.[ch] ../vm/*.[ch] ../sys/*.h
      7 
      8 # Makefile for amiga tags file
      9 
     10 all:
     11 	@echo "make tags or links only"
     12 
     13 TAMIGA=	../amiga/tags
     14 SAMIGA=	../amiga/amiga/*.[ch] ../amiga/include/*.h \
     15 	../amiga/dev/*.[ch]
     16 AAMIGA=	../amiga/amiga/*.s
     17 
     18 # Directories in which to place amiga tags links
     19 DAMIGA=	dev include
     20 
     21 tags:
     22 	-ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA}
     23 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
     24 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
     25 		>> ${TAMIGA}
     26 	sort -o ${TAMIGA} ${TAMIGA}
     27 
     28 links:
     29 	-for i in ${DAMIGA}; do \
     30 	    cd ../$$i && rm -f tags; ln -s ../tags tags; done
     31