1 1.2 castor # $NetBSD: Makefile,v 1.2 1999/01/15 10:57:37 castor Exp $ 2 1.1 cgd 3 1.1 cgd KDIR= /sys/arch/pmax/include 4 1.1 cgd INCSDIR= /usr/include/pmax 5 1.1 cgd 6 1.1 cgd INCS= ansi.h aout_machdep.h autoconf.h bsd-aout.h bus.h cdefs.h \ 7 1.1 cgd clock_machdep.h conf.h cpu.h db_machdep.h dc7085cons.h disklabel.h \ 8 1.1 cgd ecoff_machdep.h elf.h elf_machdep.h endian.h fbio.h fbvar.h float.h \ 9 1.1 cgd ieeefp.h intr.h kcore.h kdbparam.h limits.h locore.h mips_opcode.h \ 10 1.1 cgd param.h pcb.h pmap.h pmioctl.h proc.h profile.h psl.h pte.h ptrace.h \ 11 1.1 cgd reg.h regdef.h regnum.h reloc.h setjmp.h signal.h stdarg.h sysconf.h \ 12 1.1 cgd tc_machdep.h trap.h types.h varargs.h vmparam.h 13 1.1 cgd 14 1.2 castor DEPINCS= pubassym.h 15 1.2 castor 16 1.2 castor .ifndef S 17 1.2 castor S= ${.CURDIR}/../../.. 18 1.2 castor .endif 19 1.2 castor MIPS=$S/arch/mips 20 1.2 castor 21 1.2 castor CFLAGS+= -I. -D_LKM 22 1.2 castor 23 1.2 castor pubassym.h: ${MIPS}/mips/genpubassym.cf 24 1.2 castor ln -sf ${MIPS}/include mips && \ 25 1.2 castor ln -sf ${S}/sys sys && \ 26 1.2 castor ln -sf ${S}/uvm uvm && \ 27 1.2 castor ln -sf ${S}/arch/${MACHINE}/include machine && \ 28 1.2 castor sh ${S}/kern/genassym.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} \ 29 1.2 castor < ${.ALLSRC} > pubassym.h.tmp && \ 30 1.2 castor mv -f pubassym.h.tmp ${.TARGET} 31 1.2 castor 32 1.1 cgd .include <bsd.kinc.mk> 33 1.2 castor .include <bsd.obj.mk> 34