1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
19 DSTDIR= $(strip $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/)
20 PROGRAM= $(DSTDIR)doconf
27 $(PROGRAM): $(DSTDIR)% : $(SOURCE)%.csh
28 @echo "[ $(SOURCE) ] make setup_build_all $(KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)";
29 -$(RM) $(RMFLAGS) $(notdir $(PROGRAM)).VERS
30 sed -e "s/#PROGRAM.*/#`vers_string $(notdir $(PROGRAM))`/" \
31 < $< >$(notdir $(PROGRAM)).VERS;
32 install $(IFLAGS) $(notdir $(PROGRAM)).VERS $(PROGRAM);
33 -$(RM) $(RMFLAGS) $(notdir $(PROGRAM)).VERS;
35 do_build_setup: $(PROGRAM)
38 @echo "[ $(SOURCE) ] make do_build_all $(KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"
41 @echo "[ $(SOURCE) ] make setup_build_all $(KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"
44 @echo "[ $(SOURCE) ] make do_build_all $(KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"
46 include $(MakeInc_rule)
47 include $(MakeInc_dir)