export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
include $(MakeInc_cmd)
include $(MakeInc_def)
CFLAGS+= -include meta_features.h -DLIBSA_KERNEL_PRIVATE
COMP_SUBDIRS =
.PRECIOUS: Makefile
%OBJS
%CFILES
%CXXFILES
%SFILES
%MACHDEP
${OBJS}: $(firstword $(MAKEFILE_LIST))
$(COBJS): .CFLAGS
.CFLAGS: ALWAYS
$(_v)$(REPLACECONTENTS) $@ $(KCC) $(CFLAGS) $(INCFLAGS)
$(CXXOBJS): .CXXFLAGS
.CXXFLAGS: ALWAYS
$(_v)$(REPLACECONTENTS) $@ $(KC++) $(CXXFLAGS) $(INCFLAGS)
$(SOBJS): .SFLAGS
.SFLAGS: ALWAYS
$(_v)$(REPLACECONTENTS) $@ $(S_KCC) $(SFLAGS) $(INCFLAGS)
$(COMPONENT).filelist: $(OBJS)
$(_v)for kld_file in ${OBJS}; do \
$(SEG_HACK) -n __KLD -o $${kld_file}__ $${kld_file} ; \
mv $${kld_file}__ $${kld_file} ; \
done
@echo LDFILELIST $(COMPONENT)
$(_v)( for obj in ${OBJS}; do \
echo $(TARGET)/$(CURRENT_KERNEL_CONFIG)/$${obj}; \
done; ) > $(COMPONENT).filelist
do_all: $(COMPONENT).filelist
do_build_all:: do_all
%RULES
include $(MakeInc_rule)
include $(MakeInc_dir)