Home | History | Annotate | Line # | Download | only in ski
      1  1.1    cherry S=	${.CURDIR}/../../../../..
      2  1.1    cherry 
      3  1.4     joerg .include "../Makefile.booters"
      4  1.1    cherry 
      5  1.6  christos NOPIE=		yes
      6  1.1    cherry PROG=		skiload
      7  1.1    cherry MAN=#
      8  1.5     scole BINDIR?=	/usr/mdec
      9  1.1    cherry 
     10  1.1    cherry STRIP=		# We must not strip skiload at install time.
     11  1.1    cherry 
     12  1.1    cherry SRCS=		conf.c copy.c delay.c devicename.c efi_stub.c exit.c \
     13  1.1    cherry 		main.c skiconsole.c pal_stub.S sal_stub.c skifs.c ssc.c \
     14  1.7  christos 		start.S time.c acpi_stub.c bootinfo.c exec.c
     15  1.1    cherry 
     16  1.1    cherry CPPFLAGS+=	-DLOADER -DSKIFS
     17  1.1    cherry CPPFLAGS+=	-I${S}
     18  1.1    cherry CPPFLAGS+=	-I${IA64_STAND_DIR}/common
     19  1.1    cherry 
     20  1.1    cherry CPPFLAGS+= 	-DLIBKERN_OPTIMISE_SPACE \
     21  1.3  kiyohara 		-DHEAP_VARIABLE
     22  1.1    cherry 
     23  1.3  kiyohara # Always add MI sources
     24  1.1    cherry .PATH: ${.CURDIR}/../../common
     25  1.1    cherry .include "${.CURDIR}/../../common/Makefile.inc"
     26  1.1    cherry 
     27  1.1    cherry LDSCRIPT=	${.CURDIR}/ldscript.${MACHINE_ARCH}
     28  1.3  kiyohara LDFLAGS=	-Wl,-T${LDSCRIPT} -symbolic -nostdlib #-shared
     29  1.1    cherry 
     30  1.1    cherry ${PROG}: ${LDSCRIPT}
     31  1.1    cherry 
     32  1.7  christos CLEANFILES+=	skiload ${OBJS}
     33  1.1    cherry 
     34  1.1    cherry NEWVERSWHAT=	"ia64 SKI boot" ${MACHINE_ARCH}
     35  1.1    cherry 
     36  1.3  kiyohara DPADD=		${LIBLIST}
     37  1.1    cherry 
     38  1.1    cherry # Cross dependencies between LIB(SA|KERN). Need to elaborate below.
     39  1.3  kiyohara LDADD=		${LIBLIST} ${LIBLIST}
     40  1.1    cherry 
     41  1.7  christos .include "${S}/conf/newvers_stand.mk"
     42  1.7  christos 
     43  1.1    cherry .include <bsd.prog.mk>
     44