blob: 328f76a9404eeb272e016a304d3f33654bc74312 (
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
25
26
27
28
29
30
31
32
33
34
|
# $OpenBSD: Makefile,v 1.5 2003/07/19 00:03:52 david Exp $
# $NetBSD: Makefile,v 1.13 2000/08/16 08:24:01 mrg Exp $
.include <bsd.own.mk>
MAN= installboot.8
MANSUBDIR=sparc64
.if ${MACHINE} == "sparc64"
PROG= installboot
SRCS= installboot.c loadfile.c
.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
CFLAGS+= -U_STANDALONE
.include <bsd.prog.mk>
|