Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.28.6.2
      1  1.28.6.2  jdolecek #	$NetBSD: Makefile,v 1.28.6.2 2017/12/03 11:36:49 jdolecek 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.28.6.2  jdolecek CPPFLAGS+=	-DUSTAR_SECT_PER_CYL=30
     13      1.28   tsutsui CPPFLAGS+=	-DLIBSA_ENABLE_LS_OP
     14  1.28.6.2  jdolecek CPPFLAGS+=	-DLIBSA_CREAD_NOCRC
     15  1.28.6.1       tls CPPFLAGS+=	-DSUPPORT_BOOTP -DSUPPORT_DHCP
     16       1.1   minoura #CPPFLAGS+=	-DDEBUG
     17       1.1   minoura 
     18      1.19        he .PATH:	${LIBSADIR} ${LIBKERNDIR} ${LIBZDIR} ${LIBZDIST}
     19       1.1   minoura 
     20      1.11     isaki .include "../Makefile.booters"
     21       1.9   minoura 
     22       1.9   minoura # only needed during build
     23       1.9   minoura libinstall::
     24       1.1   minoura 
     25      1.26   tsutsui .include <bsd.prog.mk>
     26      1.26   tsutsui 
     27      1.26   tsutsui ### find out what to use for libkern
     28      1.26   tsutsui KERN_AS= library
     29      1.26   tsutsui .include "${S}/lib/libkern/Makefile.inc"
     30      1.26   tsutsui LIBKERN= ${KERNLIB}
     31      1.26   tsutsui 
     32      1.26   tsutsui ### find out what to use for libz
     33      1.26   tsutsui Z_AS= library
     34      1.26   tsutsui .include "${S}/lib/libz/Makefile.inc"
     35      1.26   tsutsui LIBZ= ${ZLIB}
     36      1.26   tsutsui 
     37      1.26   tsutsui ### find out what to use for libsa
     38      1.26   tsutsui SA_AS= library
     39      1.28   tsutsui SAMISCMAKEFLAGS= SA_USE_CREAD=yes SA_USE_LOADFILE=yes SA_ENABLE_LS_OP=yes SA_EXTRADIR=${.CURDIR}
     40      1.26   tsutsui .include "${S}/lib/libsa/Makefile.inc"
     41      1.26   tsutsui LIBSA= ${SALIB}
     42      1.26   tsutsui 
     43      1.26   tsutsui LIBS= ${LIBKERN} ${LIBZ} ${LIBSA}
     44      1.26   tsutsui 
     45      1.26   tsutsui all realall: ${LIBS}
     46      1.26   tsutsui 
     47      1.26   tsutsui cleandir distclean: .WAIT cleanlibdir
     48      1.26   tsutsui 
     49      1.26   tsutsui cleanlibdir:
     50      1.26   tsutsui 	-rm -rf lib
     51