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

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

1.1       nbrk        1: #      $OpenBSD: Makefile,v 1.3 2006/04/15 17:35:11 miod Exp $
                      2: #      $NetBSD: Makefile,v 1.4 1996/03/25 22:48:09 mrg Exp $
                      3:
                      4: #
                      5: # Makefile for solbourne links, tags file
                      6:
                      7: S=${.CURDIR}/../..
                      8: .include "$S/kern/Make.tags.inc"
                      9:
                     10: SUBDIR=
                     11:
                     12: NOPROG=        noprog
                     13: NOMAN= noman
                     14:
                     15: TSOLBOURNE=    $S/arch/solbourne/tags
                     16: DIRS=  conf include dev solourne
                     17:
                     18: links::
                     19:        -for i in ${DIRS}; do \
                     20:            (cd $$i && { rm -f tags; ln -s ${TSOLBOURNE} tags; }) done
                     21:
                     22: SOLBOURNE=     $S/arch/solbourne/dev/*.[ch] \
                     23:        $S/arch/solbourne/include/*.[ch] $S/arch/solbourne/solbourne/*.[ch]
                     24: ASOLBOURNE=    $S/arch/solbourne/solbourne/*.[sS]
                     25:
                     26: tags:
                     27:        -ctags -wdtf ${TSOLBOURNE} ${COMM} ${SOLBOURNE}
                     28:        egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ASOLBOURNE} | \
                     29:            sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3     \1      /^\2(\3\4$$/;" \
                     30:                >> ${TSOLBOURNE}
                     31:        sort -o ${TSOLBOURNE} ${TSOLBOURNE}
                     32:
                     33: obj:   _SUBDIRUSE
                     34:
                     35: .include <bsd.prog.mk>
                     36: .include <bsd.subdir.mk>

CVSweb