# $NetBSD: Makefile,v 1.1 2006/04/07 14:21:32 cherry Exp $ S?= ${.CURDIR}/../../../../../ .PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH} LIB= efi NOPROFILE=# defined INTERNALLIB=# defined EFI_INCLUDE_NET?= no CPPFLAGS= -I${EFICPPFLAGS} ${EFIMISCCPPFLAGS} CPPFLAGS+= -I${.CURDIR}/../include CPPFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH} # Pick up the bootstrap header for some interface items CPPFLAGS+= -I${.CURDIR}/../../common SRCS= copy.c delay.c efi.c efi_console.c devicename.c bootinfo.c SRCS+= time.c efifs.c efi_console.c module.c exec.c #efinet.c .if ${MACHINE_ARCH} == "ia64" SRCS+= efifpswa.c pal.S .endif .if (${EFI_INCLUDE_NET} == "yes") SRCS+= efinet.c #etc. .endif .include .undef DESTDIR .include lib${LIB}.o:: ${OBJS} @echo building standard ${LIB} $OBJS} library @rm -f lib${LIB}.o @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`