Home | History | Annotate | Line # | Download | only in libefi
Makefile revision 1.2.40.1
      1  1.2.40.1     skrll #	$NetBSD: Makefile,v 1.2.40.1 2015/09/22 12:05:44 skrll 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 EFI_INCLUDE_NET?= no
     12       1.1    cherry 
     13       1.1    cherry CPPFLAGS= -I${EFICPPFLAGS} ${EFIMISCCPPFLAGS}
     14       1.1    cherry CPPFLAGS+= -I${.CURDIR}/../include
     15       1.1    cherry CPPFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
     16       1.1    cherry 
     17       1.1    cherry # Pick up the bootstrap header for some interface items
     18       1.1    cherry CPPFLAGS+= -I${.CURDIR}/../../common
     19       1.1    cherry 
     20       1.1    cherry SRCS=  copy.c delay.c efi.c efi_console.c devicename.c bootinfo.c
     21       1.2  kiyohara SRCS+= time.c efifs.c efi_console.c module.c exec.c #efinet.c
     22       1.1    cherry 
     23       1.1    cherry .if ${MACHINE_ARCH} == "ia64"
     24       1.1    cherry SRCS+=	efifpswa.c pal.S
     25       1.1    cherry .endif
     26       1.1    cherry 
     27       1.1    cherry .if (${EFI_INCLUDE_NET} == "yes")
     28       1.1    cherry SRCS+= efinet.c #etc.
     29       1.1    cherry .endif
     30       1.1    cherry 
     31       1.1    cherry .include <bsd.own.mk>
     32       1.1    cherry .undef DESTDIR
     33       1.1    cherry .include <bsd.lib.mk>
     34       1.1    cherry 
     35  1.2.40.1     skrll lib${LIB}.o:: ${OBJS:O}
     36       1.1    cherry 	@echo building standard ${LIB} $OBJS} library
     37       1.1    cherry 	@rm -f lib${LIB}.o
     38       1.1    cherry 	@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
     39  1.2.40.1     skrll 	@echo done
     40