33 lines
1.2 KiB
Makefile
33 lines
1.2 KiB
Makefile
|
# $FreeBSD$
|
||
|
KMOD= raidframe
|
||
|
NOMAN=
|
||
|
|
||
|
.PATH: ${.CURDIR}/../../dev/raidframe
|
||
|
|
||
|
SRCS= rf_acctrace.c rf_alloclist.c rf_aselect.c rf_callback.c \
|
||
|
rf_chaindecluster.c rf_copyback.c rf_cvscan.c rf_dagdegrd.c \
|
||
|
rf_dagdegwr.c rf_dagffrd.c rf_dagffwr.c rf_dagfuncs.c rf_dagutils.c \
|
||
|
rf_debugMem.c rf_debugprint.c rf_decluster.c rf_declusterPQ.c \
|
||
|
rf_diskqueue.c rf_disks.c rf_driver.c rf_engine.c rf_evenodd.c \
|
||
|
rf_evenodd_dagfuncs.c rf_evenodd_dags.c rf_fifo.c rf_interdecluster.c \
|
||
|
rf_invertq.c rf_layout.c rf_map.c rf_mcpair.c rf_memchunk.c \
|
||
|
rf_nwayxor.c rf_options.c rf_paritylog.c rf_paritylogDiskMgr.c \
|
||
|
rf_paritylogging.c rf_parityloggingdags.c rf_parityscan.c rf_pq.c \
|
||
|
rf_pqdeg.c rf_pqdegdags.c rf_psstatus.c rf_raid0.c rf_raid1.c \
|
||
|
rf_raid4.c rf_raid5.c rf_raid5_rotatedspare.c rf_reconbuffer.c \
|
||
|
rf_reconmap.c rf_reconstruct.c rf_reconutil.c rf_revent.c \
|
||
|
rf_shutdown.c rf_sstf.c rf_states.c rf_stripelocks.c rf_strutils.c \
|
||
|
rf_threadstuff.c rf_utils.c rf_freebsdkintf.c
|
||
|
|
||
|
SRCS+= opt_raid.h vnode_if.h
|
||
|
RF_DEBUG?= 0
|
||
|
RF_AUTOCONFIG?= 1
|
||
|
|
||
|
#CFLAGS+= -g
|
||
|
|
||
|
opt_raid.h:
|
||
|
@echo "#define RAID_AUTOCONFIG ${RF_AUTOCONFIG}" > opt_raid.h
|
||
|
@echo "#define RAID_DEBUG ${RF_DEBUG}" >> opt_raid.h
|
||
|
|
||
|
.include <bsd.kmod.mk>
|