forked from epics_driver_modules/motorBase
R3.14.x compatible.
This commit is contained in:
+31
-3
@@ -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 $^ > $@
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user