-# $OpenBSD: Makefile,v 1.7 2012/01/01 16:11:13 jsing Exp $
+# $OpenBSD: Makefile,v 1.8 2013/12/27 22:08:37 deraadt Exp $
# $NetBSD: Makefile,v 1.13 2000/08/16 08:24:01 mrg Exp $
.include <bsd.own.mk>
.if ${MACHINE} == "sparc64"
PROG= installboot
-SRCS= installboot.c loadfile.c
+SRCS= installboot.c
LDADD= -lutil
DPADD= ${LIBUTIL}
.else
NOPROG=
.endif
-LIBSA_I=${.CURDIR}/../../../../lib/libsa
-
-.PATH.c: ${.CURDIR}/../../../../lib/libsa
-
-CPPFLAGS+=-I${LIBSA_I} -I. -I${.CURDIR}/../../../.. -I${.OBJDIR}
-
LDSTATIC?= -static
-.if !make(obj)
-.BEGIN:
- @([ -h machine ] || ln -s ${.CURDIR}/../../../${MACHINE}/include machine)
- @([ -h sparc ] || ln -s ${.CURDIR}/../../../sparc/include sparc)
-.NOPATH: machine sparc
-CLEANFILES+= machine sparc
-.endif
-
STANDALONE=
.include <bsd.prog.mk>