Home | History | Annotate | Line # | Download | only in libsa
Makefile revision 1.10
      1  1.10  tsutsui #	$NetBSD: Makefile,v 1.10 2011/01/02 09:40:52 tsutsui Exp $
      2   1.1      scw 
      3  1.10  tsutsui S!= cd ${.CURDIR}/../../../..; pwd
      4   1.1      scw 
      5   1.1      scw # DBG= -DDEBUG -DNETIF_DEBUG -DNFS_DEBUG -DRPC_DEBUG \
      6   1.1      scw # 	-DNET_DEBUG -DRARP_DEBUG -DETHER_DEBUG
      7   1.1      scw 
      8   1.1      scw DEFS= ${DBG} #-fno-defer-pop
      9   1.1      scw 
     10   1.1      scw CPPFLAGS+= -DSUPPORT_BOOTP -DSUPPORT_DHCP
     11   1.1      scw #CPPFLAGS+= -DSUPPORT_DHCP
     12   1.1      scw #CPPFLAGS+= -DSUPPORT_RARP -DSUPPORT_BOOTPARAM
     13   1.1      scw CPPFLAGS+= -DSUPPORT_NFS -DNFS_NOSYMLINK
     14   1.1      scw 
     15   1.1      scw .include "../Makefile.booters"
     16   1.1      scw 
     17   1.1      scw # only needed during build
     18   1.1      scw libinstall::
     19   1.1      scw 
     20  1.10  tsutsui .include <bsd.prog.mk>
     21   1.1      scw 
     22  1.10  tsutsui ### find out what to use for libsa
     23  1.10  tsutsui SA_AS= library
     24  1.10  tsutsui SAMISCMAKEFLAGS= SA_USE_LOADFILE=yes SA_EXTRADIR=${.CURDIR}
     25  1.10  tsutsui .include "${S}/lib/libsa/Makefile.inc"
     26  1.10  tsutsui LIBSA= ${SALIB}
     27  1.10  tsutsui 
     28  1.10  tsutsui ### find out what to use for libkern
     29  1.10  tsutsui KERN_AS= library
     30  1.10  tsutsui .include "${S}/lib/libkern/Makefile.inc"
     31  1.10  tsutsui LIBKERN= ${KERNLIB}
     32  1.10  tsutsui 
     33  1.10  tsutsui LIBS= ${LIBSA} ${LIBKERN}
     34  1.10  tsutsui 
     35  1.10  tsutsui all realall: ${LIBS}
     36  1.10  tsutsui 
     37  1.10  tsutsui cleandir distclean: .WAIT cleanlibdir
     38  1.10  tsutsui  
     39  1.10  tsutsui cleanlibdir:
     40  1.10  tsutsui 	rm -rf lib
     41