aboutsummaryrefslogblamecommitdiff
path: root/cddl/usr.sbin/Makefile
blob: 42de5c96c53ad283f888c250abc1624793ce8c08 (plain) (tree)
1
2
3
4
5
6
7
8
9

           
                      
 
                    
                    
                      
                       
                 
                  
                 
 
                          
 
                     
           
             


                      
      
 
                                                           
                      
                      
                        

                         
 

                                                                       
                      
                      


                        

                                
                      

      

                                   
                      


                        

                
                        
# $FreeBSD$

.include <src.opts.mk>

SUBDIR=	${_dtrace} \
	${_dwatch} \
	${_lockstat} \
	${_plockstat} \
	${_zdb} \
	${_zfsd} \
	${_zhack}

SUBDIR.${MK_TESTS}+= tests

.if ${MK_ZFS} != "no"
_zdb=	zdb
_zhack=	zhack
. if ${MK_CXX} != "no"
_zfsd=	zfsd
. endif
.endif

.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386"
_dtrace=	dtrace
_dwatch=	dwatch
_lockstat=	lockstat
_plockstat=	plockstat
.endif

.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "arm" || \
    ${MACHINE_CPUARCH} == "riscv"
_dtrace=	dtrace
_dwatch=	dwatch
_lockstat=	lockstat
.endif

.if ${MACHINE_CPUARCH} == "mips"
_dtrace=	dtrace
_dwatch=	dwatch
.endif

.if ${MACHINE_CPUARCH} == "powerpc"
_dtrace=	dtrace
_dwatch=	dwatch
_lockstat=	lockstat
.endif

SUBDIR_PARALLEL=

.include <bsd.subdir.mk>