From eb541612a0adfe0f6f4ca0f18b869b921d875970 Mon Sep 17 00:00:00 2001 From: chris Date: Tue, 12 Jun 2001 08:32:46 +0000 Subject: [PATCH] Add cats specific makefile for tags and includes. --- sys/arch/cats/Makefile | 29 +++++++++++++++++++++++++++++ sys/arch/cats/include/Makefile | 26 ++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) create mode 100644 sys/arch/cats/Makefile create mode 100644 sys/arch/cats/include/Makefile diff --git a/sys/arch/cats/Makefile b/sys/arch/cats/Makefile new file mode 100644 index 000000000000..0562e3041d56 --- /dev/null +++ b/sys/arch/cats/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1 2001/06/12 08:32:46 chris Exp $ + +# Makefile for cats tags file and boot blocks + +TCATS= ../cats/tags +SCATS= ../cats/cats/*.[ch] ../cats/include/*.h \ + ../cats/isa/*.[ch] +ACATS= ../cats/cats/*.S + +# Directories in which to place tags links +DCATS= isa include + +.include "../../kern/Make.tags.inc" + +tags: + -ctags -wdtf ${TCATS} ${SCATS} ${COMM} + egrep "^ENTRY(.*)|^ALTENTRY(.*)" ${ACATS} | \ + sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$$/;" \ + >> ${TCATS} + sort -o ${TCATS} ${TCATS} + +links: + -for i in ${DCATS}; do \ + cd $$i && rm -f tags; ln -s ../tags tags; done + + +SUBDIR= include + +.include diff --git a/sys/arch/cats/include/Makefile b/sys/arch/cats/include/Makefile new file mode 100644 index 000000000000..fc26ee5304e9 --- /dev/null +++ b/sys/arch/cats/include/Makefile @@ -0,0 +1,26 @@ +# $NetBSD: Makefile,v 1.1 2001/06/12 08:32:46 chris Exp $ + +KDIR= /sys/arch/netwinder/include +INCSDIR= /usr/include/arm/netwinder + +INCS= ansi.h aout_machdep.h asm.h \ + bootconfig.h bswap.h bus.h \ + cdefs.h conf.h cpu.h cpufunc.h cpus.h \ + db_machdep.h disklabel.h disklabel_acorn.h \ + elf_machdep.h endian.h endian_machdep.h \ + float.h fp.h frame.h \ + ieee.h ieeefp.h \ + int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h \ + intr.h ipkdb.h irqhandler.h \ + joystick.h \ + katelib.h \ + limits.h lock.h \ + math.h \ + param.h pcb.h pmap.h proc.h profile.h psl.h pte.h ptrace.h \ + reg.h rtc.h \ + setjmp.h signal.h stdarg.h sysarch.h \ + trap.h types.h \ + undefined.h \ + varargs.h vmparam.h + +.include