R3.14.x compatible.

This commit is contained in:
Ron Sluiter
2002-10-17 18:21:25 +00:00
parent 167753be26
commit d578bc0556
2 changed files with 31 additions and 34 deletions
+31 -3
View File
@@ -1,3 +1,31 @@
TOP=../..
include $(TOP)/config/CONFIG_APP
include $(TOP)/config/RULES_ARCHS
# Makefile
TOP = ../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
DB += NoMPF.db
DB += WithMPF.db
#===========================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE
# !!WARNING!! Delete the following line after coping
# this file to your application.
MOTOR = $(TOP)
#Cancel implicit rule.
$(COMMON_DIR)/%.db$(RAW): %.substitutions %.template
#Replace rule with rule without %.template dependency.
$(COMMON_DIR)/%.db$(RAW): %.substitutions
@$(RM) $@$(DEP)
@$(DBDDEPENDS_CMD)
@echo "Inflating database from $<"
@$(RM) $@
$(MSI) -V -I $(MOTOR)/db -S $^ > $@
-31
View File
@@ -1,31 +0,0 @@
# Makefile.Host
TOP = ../../..
include $(TOP)/config/CONFIG_APP
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
DB += NoMPF.db
DB += WithMPF.db
include $(TOP)/config/RULES.Db
#----------------------------------------
# ADD RULES AFTER THIS LINE
# !!WARNING!! Delete the following line after coping
# this file to your application.
MOTOR = $(TOP)
MSI = $(MSITOP)/bin/$(HOST_ARCH)/msi
#The following builds the NoMPF.db file
../NoMPF.db: ../NoMPF.substitutions $(MOTOR)/db/basic_motor.db
echo "building NoMPF.db"
$(RM) ../NoMPF.db
$(MSI) -V -I $(MOTOR)/db -S ../NoMPF.substitutions > ../NoMPF.db
#The following builds the WithMPF.db file
../WithMPF.db: ../WithMPF.substitutions $(MOTOR)/db/basic_motor.db
echo "building WithMPF.db"
$(RM) ../WithMPF.db
$(MSI) -V -I $(MOTOR)/db -S ../WithMPF.substitutions > ../WithMPF.db