Home | History | Annotate | Line # | Download | only in include
Makefile revision 1.2
      1 #	$NetBSD: Makefile,v 1.2 1999/01/15 10:57:37 castor Exp $
      2 
      3 KDIR=	/sys/arch/pmax/include
      4 INCSDIR= /usr/include/pmax
      5 
      6 INCS=	ansi.h aout_machdep.h autoconf.h bsd-aout.h bus.h cdefs.h \
      7 	clock_machdep.h conf.h cpu.h db_machdep.h dc7085cons.h disklabel.h \
      8 	ecoff_machdep.h elf.h elf_machdep.h endian.h fbio.h fbvar.h float.h \
      9 	ieeefp.h intr.h kcore.h kdbparam.h limits.h locore.h mips_opcode.h \
     10 	param.h pcb.h pmap.h pmioctl.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 sysconf.h \
     12 	tc_machdep.h trap.h types.h varargs.h vmparam.h
     13 
     14 DEPINCS= pubassym.h
     15 
     16 .ifndef	S
     17 S=	${.CURDIR}/../../..
     18 .endif
     19 MIPS=$S/arch/mips
     20 
     21 CFLAGS+= -I. -D_LKM
     22 
     23 pubassym.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 ${.TARGET}
     31 
     32 .include <bsd.kinc.mk>
     33 .include <bsd.obj.mk>
     34