Makefile revision 1.5
11.5Smrg# $NetBSD: Makefile,v 1.5 2019/02/04 21:57:48 mrg Exp $ 21.1Spgoyette 31.1Spgoyette.include "../Makefile.inc" 41.1Spgoyette 51.1SpgoyetteIOCONF= raid.ioconf 61.1Spgoyette 71.1Spgoyette.PATH: ${S}/dev/raidframe 81.1Spgoyette 91.1SpgoyetteKMOD= raid 101.1Spgoyette 111.1SpgoyetteSRCS+= rf_acctrace.c rf_alloclist.c rf_aselect.c 121.1SpgoyetteSRCS+= rf_callback.c rf_chaindecluster.c rf_copyback.c 131.1SpgoyetteSRCS+= rf_cvscan.c rf_dagdegrd.c rf_dagdegwr.c 141.1SpgoyetteSRCS+= rf_dagffrd.c rf_dagffwr.c rf_dagfuncs.c 151.1SpgoyetteSRCS+= rf_dagutils.c rf_debugMem.c rf_debugprint.c 161.1SpgoyetteSRCS+= rf_decluster.c rf_declusterPQ.c rf_diskqueue.c 171.1SpgoyetteSRCS+= rf_disks.c rf_driver.c rf_engine.c 181.1SpgoyetteSRCS+= rf_evenodd.c rf_evenodd_dagfuncs.c rf_evenodd_dags.c 191.1SpgoyetteSRCS+= rf_fifo.c rf_interdecluster.c rf_invertq.c 201.1SpgoyetteSRCS+= rf_layout.c rf_map.c rf_mcpair.c 211.1SpgoyetteSRCS+= rf_netbsdkintf.c rf_nwayxor.c rf_options.c 221.1SpgoyetteSRCS+= rf_paritylog.c rf_paritylogDiskMgr.c rf_paritylogging.c 231.1SpgoyetteSRCS+= rf_parityloggingdags.c rf_paritymap.c rf_parityscan.c 241.1SpgoyetteSRCS+= rf_pq.c rf_pqdeg.c rf_pqdegdags.c 251.1SpgoyetteSRCS+= rf_psstatus.c rf_raid0.c rf_raid1.c 261.1SpgoyetteSRCS+= rf_raid4.c rf_raid5.c rf_raid5_rotatedspare.c 271.1SpgoyetteSRCS+= rf_reconbuffer.c rf_reconmap.c rf_reconstruct.c 281.1SpgoyetteSRCS+= rf_reconutil.c rf_revent.c rf_shutdown.c 291.1SpgoyetteSRCS+= rf_sstf.c rf_states.c rf_stripelocks.c 301.3SpgoyetteSRCS+= rf_strutils.c rf_utils.c 311.1Spgoyette 321.1SpgoyetteCPPFLAGS+= -DRAID_AUTOCONFIG=1 331.1Spgoyette 341.1Spgoyette# Include optional raid styles 351.1Spgoyette 361.1SpgoyetteCPPFLAGS+= -DRF_INCLUDE_EVENODD=1 371.1SpgoyetteCPPFLAGS+= -DRF_INCLUDE_RAID5_RS=1 381.1SpgoyetteCPPFLAGS+= -DRF_INCLUDE_PARITYLOGGING=1 391.1SpgoyetteCPPFLAGS+= -DRF_INCLUDE_CHAINDECLUSTER=1 401.1SpgoyetteCPPFLAGS+= -DRF_INCLUDE_INTERDECLUSTER=1 411.1SpgoyetteCPPFLAGS+= -DRF_INCLUDE_PARITY_DECLUSTERING=1 421.1SpgoyetteCPPFLAGS+= -DRF_INCLUDE_PARITY_DECLUSTERING_DS=1 431.1Spgoyette 441.5Smrg.include "${.CURDIR}/../../compat/netbsd32/netbsd32.mk" 451.5Smrg.if ${COMPAT_USE_NETBSD32} != "no" 461.5SmrgCPPFLAGS.rf_netbsdkintf.c+= -DCOMPAT_NETBSD32 471.5Smrg.endif 481.5Smrg 491.1Spgoyette.include <bsd.kmodule.mk> 50