Add cats specific makefile for tags and includes.

This commit is contained in:
chris 2001-06-12 08:32:46 +00:00
parent f90999bd42
commit eb541612a0
2 changed files with 55 additions and 0 deletions

29
sys/arch/cats/Makefile Normal file
View File

@ -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 <bsd.subdir.mk>

View File

@ -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 <bsd.kinc.mk>