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 -DBSD_KERNEL_PRIVATE
SFLAGS+= -include meta_features.h
OBJS_NO_CAST_ALIGN = \
mac_alloc.o \
mac_base.o
$(foreach file,$(OBJS_NO_CAST_ALIGN),$(eval $(call add_perfile_cflags,$(file),-Wno-cast-align)))
INCFLAGS_MAKEFILE= -I$(SOURCE)/..
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)
$(call makelog,$(ColorL)LDFILELIST$(Color0) $(ColorLF)$(COMPONENT)$(Color0))
$(_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)