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