aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/ia64/libski/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/ia64/libski/Makefile')
-rw-r--r--sys/boot/ia64/libski/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/sys/boot/ia64/libski/Makefile b/sys/boot/ia64/libski/Makefile
index 02889381886a..310d21eab8a6 100644
--- a/sys/boot/ia64/libski/Makefile
+++ b/sys/boot/ia64/libski/Makefile
@@ -7,30 +7,21 @@ SRCS= skiconsole.c time.c copy.c devicename.c module.c exit.c
SRCS+= delay.c skifs.c elf_freebsd.c bootinfo.c ssc.c
SRCS+= acpi_stub.c efi_stub.c pal_stub.S sal_stub.c
-CFLAGS+= -ffreestanding -fpic -g
-CFLAGS+= -I${.CURDIR}/../include
-CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
-CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
+CFLAGS+= -fpic
+CFLAGS+= -I${.CURDIR}/../../../../lib/libstand
CFLAGS+= -I${.CURDIR}/../../efi/include
CFLAGS+= -I${.CURDIR}/../../efi/include/${MACHINE_ARCH}
# Pick up the bootstrap header for some interface items
-CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
+CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../..
.if ${MACHINE_ARCH} == "powerpc"
CFLAGS+= -msoft-float
.endif
-.ifdef(BOOT_DISK_DEBUG)
+.if defined(BOOT_DISK_DEBUG)
# Make the disk code more talkative
CFLAGS+= -DDISK_DEBUG
.endif
-machine:
- ln -sf ${.CURDIR}/../../../${MACHINE_ARCH}/include machine
-
-CLEANFILES+= machine
-
.include <bsd.lib.mk>
-
-beforedepend ${OBJS}: machine