Makefile revision 86588
1# $FreeBSD: head/sys/boot/efi/libefi/Makefile 86588 2001-11-19 07:09:47Z peter $ 2 3.PATH: ${.CURDIR}/../../../${MACHINE_ARCH}/${MACHINE_ARCH} 4 5LIB= efi 6NOPIC= true 7NOPROFILE= true 8INTERNALLIB= true 9INTERNALSTATICLIB= true 10 11SRCS= libefi.c efi_console.c time.c copy.c devicename.c module.c exit.c 12SRCS+= delay.c efifs.c efinet.c elf_freebsd.c bootinfo.c pal.s 13 14.if ${MACHINE_ARCH} == "ia64" 15SRCS+= efifpswa.c 16.endif 17 18CFLAGS+= -fpic 19CFLAGS+= -I${.CURDIR}/../include 20CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH} 21CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 22 23# Pick up the bootstrap header for some interface items 24CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 25 26.if ${MACHINE_ARCH} == "powerpc" 27CFLAGS+= -msoft-float 28.endif 29 30.ifdef(BOOT_DISK_DEBUG) 31# Make the disk code more talkative 32CFLAGS+= -DDISK_DEBUG 33.endif 34 35machine: 36 ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine 37 38CLEANFILES+= machine 39 40.include <bsd.lib.mk> 41 42beforedepend ${OBJS}: machine 43