Makefile revision 1.9
11.2Smycroft#	from: @(#)Makefile	7.3 (Berkeley) 6/9/91
21.9Schopps#	$Id: Makefile,v 1.9 1994/05/08 05:47:07 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.9Schopps	$S/net/*.[ch] $S/miscfs/*/*.[ch] $S/kern/*.[ch] $S/dev/*.[ch] \
81.9Schopps	$S/scsi/*.[ch] $S/lib/libkern/m68k/*.[ch] $S/lib/libkern/*.[ch]
91.1Smw
101.3Smw# Makefile for amiga tags file
111.1Smw
121.1Smwall:
131.1Smw	@echo "make tags or links only"
141.1Smw
151.5SchoppsTAMIGA=	$S/arch/amiga/tags
161.8SchoppsSAMIGA=	$S/arch/m68k/m68k/*.c $S/arch/m68k/include/*.h \
171.8Schopps	$S/arch/amiga/amiga/*.[ch] $S/arch/amiga/include/*.h \
181.8Schopps	$S/arch/amiga/dev/*.[ch]
191.7SchoppsAAMIGA=	$S/arch/m68k/m68k/*.s $S/arch/amiga/amiga/*.s
201.1Smw
211.3Smw# Directories in which to place amiga tags links
221.5SchoppsDAMIGA=	amiga dev include
231.1Smw
241.7SchoppsTAGS:
251.8Schopps	-etags -dt ${COMM} ${SAMIGA} ${AAMIGA}
261.8Schopps	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
271.8Schopps	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
281.8Schopps	    >> ${TAMIGA}/tags
291.7Schopps
301.1Smwtags:
311.9Schopps	-ctags -dtf ${TAMIGA} ${COMM} ${SAMIGA}
321.8Schopps	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} | \
331.8Schopps	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
341.9Schopps	    >> ${TAMIGA}
351.9Schopps	sort -o ${TAMIGA} ${TAMIGA}
361.1Smw
371.1Smwlinks:
381.8Schopps	-for i in ${DAMIGA}; do \
391.8Schopps	    rm -f $$i/tags; rm -f $$i/TAGS ; \
401.8Schopps	    ln -s ../tags $$i/tags; ln -s ../TAGS $$i/TAGS; done
411.5Schopps
421.6Schopps.include <bsd.prog.mk>
431.7Schopps
44