File:  [DragonFly] / src / sys / i386 / Attic / Makefile
Revision 1.4: download - view: text, annotated - select for diffs
Thu Apr 15 21:00:50 2004 UTC (10 years, 7 months ago) by drhodus
Branches: MAIN
CVS tags: HEAD, DragonFly_Stable, DragonFly_Snap29Sep2004, DragonFly_Snap13Sep2004, DragonFly_RELEASE_1_2_Slip, DragonFly_RELEASE_1_2, DragonFly_1_0_REL, DragonFly_1_0_RC1, DragonFly_1_0A_REL
Update tag creation paths to reflect the cvs
layout since we have moved lots of things around.
This also stops the annoying errors when generating
tags and LINK files.

    1: # $FreeBSD: src/sys/i386/Makefile,v 1.8 2000/01/27 01:22:06 mckusick Exp $
    2: # $DragonFly: src/sys/i386/Makefile,v 1.4 2004/04/15 21:00:50 drhodus Exp $
    3: #	@(#)Makefile	8.1 (Berkeley) 6/11/93
    4: 
    5: # Makefile for i386 links, tags file
    6: 
    7: # SYS is normally set in Make.tags.inc
    8: # SYS=/sys
    9: 
   10: TAGDIR=	i386
   11: 
   12: .include "../kern/Make.tags.inc"
   13: 
   14: all:
   15: 	@echo "make links or tags only"
   16: 
   17: # Directories in which to place i386 tags links
   18: DI386=	acpica apm bios conf i386 include isa
   19: 
   20: links::
   21: 	-for i in ${COMMDIR1}; do \
   22: 	    (cd $$i && { rm -f tags; ln -s ../${TAGDIR}/tags tags; }) done
   23: 	-for i in ${COMMDIR2}; do \
   24: 	    (cd $$i && { rm -f tags; ln -s ../../${TAGDIR}/tags tags; }) done
   25: 	-for i in ${DI386}; do \
   26: 	    (cd $$i && { rm -f tags; ln -s ../tags tags; }) done
   27: 
   28: SI386=	${SYS}/i386/acpica/*.[ch] ${SYS}/i386/apm/*.[ch] \
   29: 	${SYS}/i386/bios/*.[ch] ${SYS}/i386/i386/*.[ch]  \
   30: 	${SYS}/i386/include/*.[ch] ${SYS}/i386/isa/*.[ch] 
   31: AI386=	${SYS}/i386/i386/*.s
   32: 
   33: tags::
   34: 	-ctags -wdt ${COMM} ${SI386}
   35: 	egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AI386} | \
   36: 	    sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
   37: 		>> tags
   38: 	sort -o tags tags
   39: 	chmod 444 tags