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