summaryrefslogtreecommitdiffstats
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/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/sys/boot/ia64/libski/Makefile b/sys/boot/ia64/libski/Makefile
new file mode 100644
index 0000000..2e5e968
--- /dev/null
+++ b/sys/boot/ia64/libski/Makefile
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+LIB= ski
+NOPIC= true
+NOPROFILE= true
+INTERNALLIB= true
+INTERNALSTATICLIB= true
+
+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
+
+CFLAGS+= -fpic -g
+CFLAGS+= -I${.CURDIR}/../include
+CFLAGS+= -I${.CURDIR}/../include/${MACHINE_ARCH}
+CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
+
+# Pick up the bootstrap header for some interface items
+CFLAGS+= -I${.CURDIR}/../../common -I${.CURDIR}/../../.. -I.
+
+.if ${MACHINE_ARCH} == "powerpc"
+CFLAGS+= -msoft-float
+.endif
+
+.ifdef(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
OpenPOWER on IntegriCloud