30 lines
583 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.15 1998/03/28 00:21:35 thorpej Exp $
# $FreeBSD$
2004-02-11 22:01:17 +00:00
PROG= boot1.sym
INTERNALPROG=
NO_MAN=
2004-02-11 22:01:17 +00:00
LINKS= ${BINDIR}/boot1 ${BINDIR}/boot
2004-02-11 22:01:17 +00:00
.PATH: ${.CURDIR}/../libalpha
SRCS= start.S boot1.c
CFLAGS+= -DSECONDARY_LOAD_ADDRESS=${SECONDARY_LOAD_ADDRESS} -DMINIMAL
CFLAGS+= -DBOOT1
2004-02-11 22:01:17 +00:00
CFLAGS+= -I${.CURDIR}/../../common
BOOT_RELOC = ${PRIMARY_LOAD_ADDRESS}
2004-02-11 22:01:17 +00:00
CLEANFILES= boot1
2004-02-11 22:01:17 +00:00
FILES= boot1
2004-02-11 22:01:17 +00:00
boot1: boot1.sym
objcopy -S -O binary boot1.sym ${.TARGET}
2004-02-11 22:01:17 +00:00
LDFLAGS=-Ttext ${BOOT_RELOC} -N -e start
DPADD= ${LIBALPHA} ${LIBSTAND}
LDADD= ${LIBALPHA} -lstand
.include <bsd.prog.mk>