Home | History | Annotate | Line # | Download | only in stand
Makefile.booters revision 1.3
      1 #	$NetBSD: Makefile.booters,v 1.3 2003/10/30 22:20:43 he Exp $
      2 
      3 S?=	${.CURDIR}/../../../..
      4 
      5 .PHONY:	machine-links
      6 
      7 CFLAGS+= -ffreestanding
      8 
      9 machine-links:
     10 	-rm -f machine && \
     11 	ln -s $S/arch/${MACHINE}/include machine
     12 	-rm -f ${MACHINE_ARCH} && \
     13 	ln -s $S/arch/${MACHINE_ARCH}/include ${MACHINE_ARCH}
     14 
     15 CLEANFILES+=	machine ${MACHINE_ARCH}
     16 
     17 beforedepend:	machine-links
     18 
     19 # XXX SHOULD NOT NEED TO DEFINE THESE!
     20 LIBCRT0=
     21 LIBC=
     22 LIBCRTBEGIN=
     23 LIBCRTEND=
     24