Makefile revision 1.8
11.2Smycroft#	from: @(#)Makefile	7.3 (Berkeley) 6/9/91
21.8Schopps#	$Id: Makefile,v 1.8 1994/03/14 01:55:43 chopps Exp $
31.7SchoppsS=${BSDSRCDIR}/sys
41.8SchoppsCOMM=	$S/vm/*.[ch] $S/ufs/*.[ch] $S/sys/*.h $S/compat/sunos/*.[ch] \
51.8Schopps	$S/nfs/*.[ch] $S/netns/*.[ch] $S/netiso/*.[ch] \
61.8Schopps	$S/netiso/xebec/*.[ch] $S/netinet/*.[ch] $S/netccitt/*.[ch] \
71.8Schopps	$S/net/*.[ch] $S/miscfs/*/*.[ch] $S/kern/*.[ch]
81.1Smw
91.3Smw# Makefile for amiga tags file
101.1Smw
111.1Smwall:
121.1Smw	@echo "make tags or links only"
131.1Smw
141.5SchoppsTAMIGA=	$S/arch/amiga/tags
151.8SchoppsSAMIGA=	$S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
161.8Schopps	$S/arch/amiga/amiga/*.[ch] $S/arch/amiga/include/*.h \
171.8Schopps	$S/arch/amiga/dev/*.[ch]
181.7SchoppsAAMIGA=	$S/arch/m68k/m68k/*.s $S/arch/amiga/amiga/*.s
191.1Smw
201.3Smw# Directories in which to place amiga tags links
211.5SchoppsDAMIGA=	amiga dev include
221.1Smw
231.7SchoppsTAGS:
241.8Schopps	-etags -dt ${COMM} ${SAMIGA} ${AAMIGA}
251.8Schopps	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
261.8Schopps	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
271.8Schopps	    >> ${TAMIGA}/tags
281.7Schopps
291.1Smwtags:
301.8Schopps	-ctags -dtf ${TAMIGA}/tags ${COMM} ${SAMIGA}
311.8Schopps	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
321.8Schopps	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
331.8Schopps	    >> ${TAMIGA}/tags
341.8Schopps	sort -o ${TAMIGA}/tags ${TAMIGA}/tags
351.1Smw
361.1Smwlinks:
371.8Schopps	-for i in ${DAMIGA}; do \
381.8Schopps	    rm -f $$i/tags; rm -f $$i/TAGS ; \
391.8Schopps	    ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
401.5Schopps
411.6Schopps.include <bsd.prog.mk>
421.7Schopps
43