Home | History | Annotate | Line # | Download | only in lib
      1  1.6       mrg #	$NetBSD: Makefile,v 1.6 2016/03/22 08:25:22 mrg Exp $
      2  1.1   reinoud 
      3  1.1   reinoud S?=	${.CURDIR}/../../../../
      4  1.1   reinoud 
      5  1.1   reinoud LIB= riscos
      6  1.1   reinoud NOPIC=# defined
      7  1.1   reinoud NOPROFILE=# defined
      8  1.1   reinoud 
      9  1.1   reinoud CPPFLAGS= -I$S/lib/libsa ${RISCOSCPPFLAGS} ${RISCOSMISCCPPFLAGS}
     10  1.1   reinoud #CPPFLAGS+= -DDISK_DEBUG
     11  1.1   reinoud #CPPFLAGS+= -DNO_DISKLABEL
     12  1.1   reinoud #CPPFLAGS+= -DSAVE_MEMORY
     13  1.1   reinoud 
     14  1.1   reinoud SRCS=	srt1.c devopen.c
     15  1.2     bjh21 SRCS+=	rmreloc.c
     16  1.3     bjh21 SRCS+=	riscoscalls.S riscoscons.c riscosdisk.c riscoserrors.c riscosfile.c
     17  1.3     bjh21 SRCS+=	riscospart.c
     18  1.1   reinoud 
     19  1.1   reinoud .include <bsd.own.mk>
     20  1.1   reinoud .undef DESTDIR
     21  1.1   reinoud .include <bsd.lib.mk>
     22  1.1   reinoud 
     23  1.5  uebayasi lib${LIB}.o:: ${OBJS:O}
     24  1.1   reinoud 	@echo building standard ${LIB} library
     25  1.1   reinoud 	@rm -f lib${LIB}.o
     26  1.1   reinoud 	@${LD} -r -o lib${LIB}.o `lorder ${OBJS} | tsort`
     27