blob: 3b3532fc08315532dcff1e8e8a0c6d833b5df7c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# $OpenBSD: Makefile,v 1.2 1997/03/31 03:12:02 weingart Exp $
PROG= boot
SRCS= srt0.S boot.c cmd.c conf.c version.c
CFLAGS=-I${.CURDIR}/../../../../lib/libsa -I${.CURDIR}/../libsa
AFLAGS+=-DREL=$(REL) #-Wa,-a
CFLAGS+=-Wall -O
LDFLAGS=-Wl,-T$(REL),-x,-z -e start_boot
LDFLAGS+=-static -nostdlib
MAN= boot.8
LDADD= -L../libsa -lsa -L../libz -lz
DPADD= ../libsa/libsa.a ../libz/libz.a
.include <bsd.prog.mk>
.ifdef NO_NET
CPPFLAGS+=-DNO_NET
.endif
|