Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.27.6.1
      1  1.27.6.1      mrg #	$NetBSD: Makefile,v 1.27.6.1 2012/02/18 07:33:32 mrg Exp $
      2       1.1  minoura 
      3       1.1  minoura S=		${.CURDIR}/../../../..
      4       1.1  minoura 
      5      1.27  tsutsui CFLAGS+=	-m68020-60
      6      1.27  tsutsui 
      7      1.26  tsutsui CPPFLAGS+=	-nostdinc -I${.OBJDIR} -I. -I${S}
      8       1.1  minoura CPPFLAGS+=	-I${.CURDIR}/../libiocs -I${.CURDIR}/../common
      9      1.24  tsutsui CPPFLAGS+=	-D_STANDALONE
     10      1.26  tsutsui CPPFLAGS+=	-DHEAP_VARIABLE
     11       1.3  minoura CPPFLAGS+=	-DHAVE_CHANGEDISK_HOOK
     12      1.22    isaki CPPFLAGS+=	-DUSTAR_SECT_PER_CYL=16
     13  1.27.6.1      mrg CPPFLAGS+=	-DLIBSA_ENABLE_LS_OP
     14       1.1  minoura #CPPFLAGS+=	-DDEBUG
     15       1.1  minoura 
     16      1.19       he .PATH:	${LIBSADIR} ${LIBKERNDIR} ${LIBZDIR} ${LIBZDIST}
     17       1.1  minoura 
     18      1.11    isaki .include "../Makefile.booters"
     19       1.9  minoura 
     20       1.9  minoura # only needed during build
     21       1.9  minoura libinstall::
     22       1.1  minoura 
     23      1.26  tsutsui .include <bsd.prog.mk>
     24      1.26  tsutsui 
     25      1.26  tsutsui ### find out what to use for libkern
     26      1.26  tsutsui KERN_AS= library
     27      1.26  tsutsui .include "${S}/lib/libkern/Makefile.inc"
     28      1.26  tsutsui LIBKERN= ${KERNLIB}
     29      1.26  tsutsui 
     30      1.26  tsutsui ### find out what to use for libz
     31      1.26  tsutsui Z_AS= library
     32      1.26  tsutsui .include "${S}/lib/libz/Makefile.inc"
     33      1.26  tsutsui LIBZ= ${ZLIB}
     34      1.26  tsutsui 
     35      1.26  tsutsui ### find out what to use for libsa
     36      1.26  tsutsui SA_AS= library
     37  1.27.6.1      mrg SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_ENABLE_LS_OP=yes SA_EXTRADIR=${.CURDIR}
     38      1.26  tsutsui .include "${S}/lib/libsa/Makefile.inc"
     39      1.26  tsutsui LIBSA= ${SALIB}
     40      1.26  tsutsui 
     41      1.26  tsutsui LIBS= ${LIBKERN} ${LIBZ} ${LIBSA}
     42      1.26  tsutsui 
     43      1.26  tsutsui all realall: ${LIBS}
     44      1.26  tsutsui 
     45      1.26  tsutsui cleandir distclean: .WAIT cleanlibdir
     46      1.26  tsutsui 
     47      1.26  tsutsui cleanlibdir:
     48      1.26  tsutsui 	-rm -rf lib
     49