1 1.1.10.2 tron # $NetBSD: Makefile,v 1.1.10.2 2006/05/24 15:48:08 tron Exp $ 2 1.1.10.2 tron 3 1.1.10.2 tron S?= ${.CURDIR}/../../../../../ 4 1.1.10.2 tron 5 1.1.10.2 tron .PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} 6 1.1.10.2 tron 7 1.1.10.2 tron LIB= efi 8 1.1.10.2 tron NOPROFILE=# defined 9 1.1.10.2 tron INTERNALLIB=# defined 10 1.1.10.2 tron 11 1.1.10.2 tron EFI_INCLUDE_NET?= no 12 1.1.10.2 tron 13 1.1.10.2 tron CPPFLAGS= -I${EFICPPFLAGS} ${EFIMISCCPPFLAGS} 14 1.1.10.2 tron CPPFLAGS+= -I${.CURDIR}/../include 15 1.1.10.2 tron CPPFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH} 16 1.1.10.2 tron 17 1.1.10.2 tron # Pick up the bootstrap header for some interface items 18 1.1.10.2 tron CPPFLAGS+= -I${.CURDIR}/../../common 19 1.1.10.2 tron 20 1.1.10.2 tron SRCS= copy.c delay.c efi.c efi_console.c devicename.c bootinfo.c 21 1.1.10.2 tron SRCS+= time.c efifs.c efi_console.c module.c exec.c #efinet.c 22 1.1.10.2 tron 23 1.1.10.2 tron .if ${MACHINE_ARCH} == "ia64" 24 1.1.10.2 tron SRCS+= efifpswa.c pal.S 25 1.1.10.2 tron .endif 26 1.1.10.2 tron 27 1.1.10.2 tron .if (${EFI_INCLUDE_NET} == "yes") 28 1.1.10.2 tron SRCS+= efinet.c #etc. 29 1.1.10.2 tron .endif 30 1.1.10.2 tron 31 1.1.10.2 tron .include <bsd.own.mk> 32 1.1.10.2 tron .undef DESTDIR 33 1.1.10.2 tron .include <bsd.lib.mk> 34 1.1.10.2 tron 35 1.1.10.2 tron lib${LIB}.o:: ${OBJS} 36 1.1.10.2 tron @echo building standard ${LIB} $OBJS} library 37 1.1.10.2 tron @rm -f lib${LIB}.o 38 1.1.10.2 tron @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort` 39