#
# XXX: CFLAGS
#
-CFLAGS+= -DKERNEL -DBSD_KERNEL_PRIVATE \
- -Wall -Wno-four-char-constants -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 LD $(COMPONENT)
- $(_v)$(LD) $(LDFLAGS_COMPONENT) -o $(COMPONENT).o ${LDOBJS} vers.o
+ @echo LDFILELIST $(COMPONENT)
+ $(_v)( for obj in ${LDOBJS} vers.o; do \
+ echo $(TARGET)$(COMP_OBJ_DIR)/$(KERNEL_CONFIG)/$${obj}; \
+ done; ) > $(COMPONENT).filelist
-do_all: $(COMPONENT).o
+do_all: $(COMPONENT).filelist
do_depend: do_all
$(_v)${MD} -u Makedep -f -d `ls *.d`;