Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / amiga / Makefile
blob3b001c798bf2a1f73b91e287f68c530eb6c1dfdd
1 # $NetBSD: Makefile,v 1.20 2006/03/05 21:57:59 aymeric Exp $
3 # Makefile for amiga tags file and boot blocks
5 TAMIGA= ${SYSDIR}/arch/amiga/tags
6 SAMIGA= ${SYSDIR}/arch/amiga/amiga/*.[ch] ${SYSDIR}/arch/amiga/include/*.h \
7 ${SYSDIR}/arch/amiga/dev/*.[ch]
8 AAMIGA= ${SYSDIR}/arch/amiga/amiga/*.s
10 # Directories in which to place tags links
11 DAMIGA= amiga dev include
13 .include "../../kern/Make.tags.inc"
15 # Find where m68k source files are for inclusion in tags
16 .include <../m68k/Makefile.inc>
18 tags:
19 -echo ${COMM} | xargs ctags -wdtf ${TAMIGA} ${SAMIGA} ${SM68K}
20 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AAMIGA} ${AM68K} | \
21 ${TOOL_SED} -e \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
23 >> ${TAMIGA}
24 sort -o ${TAMIGA} ${TAMIGA}
26 links:
27 -for i in ${DAMIGA}; do \
28 cd ${.CURDIR}/$$i && rm -f tags; ln -s ../tags tags; done
31 SUBDIR= compile include stand
33 .include <bsd.subdir.mk>