Home | History | Annotate | Line # | Download | only in libefi
      1  1.6     scole #	$NetBSD: Makefile,v 1.6 2016/08/04 16:22:40 scole Exp $
      2  1.1    cherry 
      3  1.1    cherry S?=	${.CURDIR}/../../../../../
      4  1.1    cherry 
      5  1.1    cherry .PATH: ${S}/arch/${MACHINE_ARCH}/${MACHINE_ARCH}
      6  1.1    cherry 
      7  1.1    cherry LIB= efi
      8  1.1    cherry NOPROFILE=# defined
      9  1.1    cherry INTERNALLIB=#	defined
     10  1.1    cherry 
     11  1.1    cherry CPPFLAGS= -I${EFICPPFLAGS} ${EFIMISCCPPFLAGS}
     12  1.1    cherry CPPFLAGS+= -I${.CURDIR}/../include
     13  1.1    cherry CPPFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
     14  1.1    cherry 
     15  1.1    cherry # Pick up the bootstrap header for some interface items
     16  1.1    cherry CPPFLAGS+= -I${.CURDIR}/../../common
     17  1.1    cherry 
     18  1.1    cherry SRCS=  copy.c delay.c efi.c efi_console.c devicename.c bootinfo.c
     19  1.6     scole SRCS+= time.c efifs.c efi_console.c module.c exec.c efinet.c
     20  1.1    cherry 
     21  1.1    cherry .if ${MACHINE_ARCH} == "ia64"
     22  1.1    cherry SRCS+=	efifpswa.c pal.S
     23  1.1    cherry .endif
     24  1.1    cherry 
     25  1.1    cherry .include <bsd.own.mk>
     26  1.1    cherry .undef DESTDIR
     27  1.1    cherry .include <bsd.lib.mk>
     28  1.1    cherry 
     29  1.4  uebayasi lib${LIB}.o:: ${OBJS:O}
     30  1.1    cherry 	@echo building standard ${LIB} $OBJS} library
     31  1.1    cherry 	@rm -f lib${LIB}.o
     32  1.1    cherry 	@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
     33