# $OpenBSD: Makefile,v 1.7 2012/01/01 16:11:13 jsing Exp $ # $NetBSD: Makefile,v 1.13 2000/08/16 08:24:01 mrg Exp $ .include MAN= installboot.8 MANSUBDIR=sparc64 .if ${MACHINE} == "sparc64" PROG= installboot SRCS= installboot.c loadfile.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