46dbb0f225
platform. It features far better support for newer architectures and is fully rewritten in C and compile-able under NetBSD. Since it shares code with `boot26' for Acorn26 merging the common parts is likely to be next on the list.
25 lines
562 B
Makefile
25 lines
562 B
Makefile
# $NetBSD: Makefile,v 1.1 2002/12/28 23:57:38 reinoud Exp $
|
|
|
|
S?= ${.CURDIR}/../../../../
|
|
|
|
LIB= riscos
|
|
NOPIC=# defined
|
|
NOPROFILE=# defined
|
|
|
|
CPPFLAGS= -I$S/lib/libsa ${RISCOSCPPFLAGS} ${RISCOSMISCCPPFLAGS}
|
|
#CPPFLAGS+= -DDISK_DEBUG
|
|
#CPPFLAGS+= -DNO_DISKLABEL
|
|
#CPPFLAGS+= -DSAVE_MEMORY
|
|
|
|
SRCS= srt1.c devopen.c
|
|
SRCS+= riscoscalls.S riscoscons.c riscoserrors.c riscosfile.c
|
|
|
|
.include <bsd.own.mk>
|
|
.undef DESTDIR
|
|
.include <bsd.lib.mk>
|
|
|
|
lib${LIB}.o:: ${OBJS}
|
|
@echo building standard ${LIB} library
|
|
@rm -f lib${LIB}.o
|
|
@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
|