1 # $NetBSD: Makefile,v 1.1 2006/04/07 14:21:32 cherry Exp $
3 S?
= ${.CURDIR
}/..
/..
/..
/..
/..
/
5 .PATH
: ${S}/arch
/${MACHINE_ARCH}/${MACHINE_ARCH}
13 CPPFLAGS
= -I
${EFICPPFLAGS} ${EFIMISCCPPFLAGS}
14 CPPFLAGS
+= -I
${.CURDIR
}/..
/include
15 CPPFLAGS
+= -I
${.CURDIR
}/..
/include/${MACHINE_ARCH}
17 # Pick up the bootstrap header for some interface items
18 CPPFLAGS
+= -I
${.CURDIR
}/..
/..
/common
20 SRCS
= copy.c delay.c efi.c efi_console.c devicename.c bootinfo.c
21 SRCS
+= time.c efifs.c efi_console.c module.c exec.c
#efinet.c
23 .if
${MACHINE_ARCH} == "ia64"
24 SRCS
+= efifpswa.c pal.S
27 .if
(${EFI_INCLUDE_NET} == "yes")
36 @echo building standard
${LIB} $OBJS} library
38 @
${LD} -r
-o lib
${LIB}.o
`lorder ${OBJS} | tsort`