summaryrefslogtreecommitdiff
path: root/stand/kboot/libkboot/Makefile
blob: 1c91636cc69b1e7fba1f23a14b2f74a6ee38ecba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.include <bsd.init.mk>

LIB=	kboot
WARNS?= 4

.PATH:	${.CURDIR}/arch/${MACHINE_ARCH}
CFLAGS+=-I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH}
CFLAGS+=-I${LDRSRC}

SRCS=	crt1.c
SRCS+=	dfk.c
SRCS+=	host_syscall.S
SRCS+=	host_syscalls.c
SRCS+=	seg.c
SRCS+=	termios.c
SRCS+=	util.c

.if ${MACHINE_ARCH} != "powerpc64"
SRCS+=	efi.c
.endif

.sinclude "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"

.include <bsd.lib.mk>