Expand PMF_FN_* macros.
[netbsd-mini2440.git] / sys / arch / ia64 / stand / efi / libefi / Makefile
blob42d711157693569dd77ac06888cc0cee029b7277
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}
7 LIB= efi
8 NOPROFILE=# defined
9 INTERNALLIB=# defined
11 EFI_INCLUDE_NET?= no
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
25 .endif
27 .if (${EFI_INCLUDE_NET} == "yes")
28 SRCS+= efinet.c #etc.
29 .endif
31 .include <bsd.own.mk>
32 .undef DESTDIR
33 .include <bsd.lib.mk>
35 lib${LIB}.o:: ${OBJS}
36 @echo building standard ${LIB} $OBJS} library
37 @rm -f lib${LIB}.o
38 @${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`