1de4f40a8a
matching names. This commit might include some private hacks that have been lurking in my tree a while. They're all harmless, and this reduces the number of gratuitous diffs I have to deal with.
25 lines
560 B
Makefile
25 lines
560 B
Makefile
# $NetBSD: Makefile,v 1.1 2002/03/24 15:47:26 bjh21 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`
|