[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / sys / arch / hppa

Annotation of sys/arch/hppa/Makefile, Revision 1.1.1.1

1.1       nbrk        1: #      $OpenBSD: Makefile,v 1.6 2005/05/06 11:16:47 pedro Exp $
                      2:
                      3: # Makefile for hppa tags file and boot blocks
                      4:
                      5: S=${.CURDIR}/../..
                      6: .include "$S/kern/Make.tags.inc"
                      7:
                      8: NOPROG=        noprog
                      9: NOMAN= noman
                     10:
                     11: SUBDIR=        stand
                     12:
                     13: THPPA= $S/arch/hppa/tags
                     14: SHPPA= $S/arch/hppa/hppa/*.[ch] $S/arch/hppa/include/*.h \
                     15:        $S/arch/hppa/dev/*.[ch] $S/arch/hppa/gsc/*.[ch] \
                     16:        $S/arch/hppa/spmath/*.[ch]
                     17: AHPPA= $S/arch/hppa/hppa/*.S $S/arch/hppa/spmath/*.S \
                     18:        $S/lib/libkern/arch/hppa/*.[sS]
                     19:
                     20: # Directories in which to place hppa tags links
                     21: DHPPA= conf dev gsc hppa spmath include
                     22:
                     23: tags:
                     24:        -ctags -wdtf ${THPPA} ${COMM} ${SHPPA}
                     25:        egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AHPPA} | \
                     26:            sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3     \1      /^\2(\3\4$$/;" \
                     27:                >> ${THPPA}
                     28:        sort -o ${THPPA} ${THPPA}
                     29:
                     30: links:
                     31:        -for i in ${DHPPA}; do \
                     32:            (cd $$i && rm -f tags; ln -s ${THPPA} tags); done
                     33:
                     34: obj: _SUBDIRUSE
                     35:
                     36: .include <bsd.prog.mk>

CVSweb