#
# XXX: CFLAGS
#
-CFLAGS+= -I. -imacros meta_features.h -DKERNEL -DBSD_KERNEL_PRIVATE \
- -Wall -fno-common
+CFLAGS+= -I. -include meta_features.h -DBSD_KERNEL_PRIVATE
#
# Directories for mig generated files
LDOBJS = $(OBJS)
-$(COMPONENT).o: $(LDOBJS)
+$(COMPONENT).filelist: $(LDOBJS)
$(_v)$(RM) $(RMFLAGS) vers.c
- $(_v)$(COMPOBJROOT)/newvers \
+ $(_v)$(SRCROOT)/SETUP/newvers \
`$(CAT) ${VERSION_FILES}` ${COPYRIGHT_FILES}
$(_v)${KCC} $(CFLAGS) $(INCLUDES) -c vers.c
@echo LDFILELIST $(COMPONENT)
$(_v)( for obj in ${LDOBJS} vers.o; do \
echo $(TARGET)$(COMP_OBJ_DIR)/$(KERNEL_CONFIG)/$${obj}; \
- done; ) > $(COMPONENT).o
+ done; ) > $(COMPONENT).filelist
-do_all: $(COMPONENT).o
+do_all: $(COMPONENT).filelist
do_depend: do_all
$(_v)${MD} -u Makedep -f -d `ls *.d`;