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 ifneq ($(MACHINE_CONFIG), DEFAULT)
20 DSTDIR= $(strip $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)_$(MACHINE_CONFIG)/$(COMPONENT)/)
22 DSTDIR= $(strip $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/)
24 PROGRAM= $(DSTDIR)newvers
31 $(PROGRAM): $(DSTDIR)% : $(SOURCE)%.csh
32 @-$(RM) $(RMFLAGS) $(notdir $(PROGRAM)).VERS
33 @sed -e "s/#PROGRAM.*/#`vers_string $(notdir $(PROGRAM))`/" \
34 < $< >$(notdir $(PROGRAM)).VERS;
35 @install $(IFLAGS) $(notdir $(PROGRAM)).VERS $(PROGRAM);
36 @-$(RM) $(RMFLAGS) $(notdir $(PROGRAM)).VERS;
38 do_build_setup: $(PROGRAM)
46 include $(MakeInc_rule)
47 include $(MakeInc_dir)