Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / x68k / Makefile
blob36b2f7f0acda7bd38a2e79431214f67fd9ddabba
1 # $NetBSD: Makefile,v 1.9 2008/10/25 22:27:38 apb Exp $
3 # Makefile for x68k tags file and boot blocks
5 # Find where m68k source files are for inclusion in tags
6 .include <../m68k/Makefile.inc>
8 TX68K= ../x68k/tags
9 SX68K= ../x68k/x68k/*.[ch] ../x68k/include/*.h \
10 ../x68k/dev/*.[ch]
11 AX68K= ../x68k/x68k/*.s
13 # Directories in which to place tags links
14 DX68K= x68k dev include
16 .include "../../kern/Make.tags.inc"
18 tags:
19 -ctags -wdtf ${TX68K} ${SX68K} ${SM68K} ${COMM}
20 egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${AX68K} ${AM68K} | \
21 ${TOOL_SED} -e \
22 "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \
23 >> ${TX68K}
24 sort -o ${TX68K} ${TX68K}
26 links:
27 -for i in ${DX68K}; do \
28 cd $$i && rm -f tags; ln -s ../tags tags; done
31 SUBDIR= compile include usr.bin stand
33 .include <bsd.subdir.mk>