Fixed some style bugs (mainly the bad examples @echo, NOMAN, and non-use

of ${.TARGET}).  This was the last instances of @echo in module Makefiles
after it was removed in sio/Makefile.  NOMAN is nonsense in module
Makefiles, and was removed, but came back here and in too many other
places.
This commit is contained in:
Bruce Evans 2003-12-29 09:03:38 +00:00
parent 8a1a7f65e2
commit 8e128ecdf2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123961

View File

@ -1,9 +1,8 @@
# $FreeBSD$
KMOD= raidframe
NOMAN=
.PATH: ${.CURDIR}/../../dev/raidframe
KMOD= 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 \
@ -17,16 +16,13 @@ SRCS= rf_acctrace.c rf_alloclist.c rf_aselect.c rf_callback.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_threadstuff.c rf_utils.c rf_freebsdkintf.c \
opt_raid.h vnode_if.h
RF_AUTOCONFIG?= 1
#CFLAGS+= -g
RF_DEBUG?= 0
opt_raid.h:
@echo "#define RAID_AUTOCONFIG ${RF_AUTOCONFIG}" > opt_raid.h
@echo "#define RAID_DEBUG ${RF_DEBUG}" >> opt_raid.h
echo "#define RAID_AUTOCONFIG ${RF_AUTOCONFIG}" > ${.TARGET}
echo "#define RAID_DEBUG ${RF_DEBUG}" >> ${.TARGET}
.include <bsd.kmod.mk>