Makefile revision 83901
1# $FreeBSD: head/sys/boot/efi/libefi/Makefile 83901 2001-09-24 19:31:44Z dfr $ 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 14CFLAGS+= -fpic 15CFLAGS+= -I${.CURDIR}/../include 16CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH} 17CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/ 18 19# Pick up the bootstrap header for some interface items 20CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I. 21 22.if ${MACHINE_ARCH} == "powerpc" 23CFLAGS+= -msoft-float 24.endif 25 26.ifdef(BOOT_DISK_DEBUG) 27# Make the disk code more talkative 28CFLAGS+= -DDISK_DEBUG 29.endif 30 31machine: 32 ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine 33 34CLEANFILES+= machine 35 36.include <bsd.lib.mk> 37 38beforedepend ${OBJS}: machine 39