Minor changes to makeBaseApp templates
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
# Makefile at top of application tree
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*))
|
||||
include $(TOP)/configure/RULES_DIRS
|
||||
|
||||
# Directories to be built, in any order.
|
||||
# You can replace these wildcards with an explicit list
|
||||
DIRS += $(wildcard src* *Src*)
|
||||
DIRS += $(wildcard db* *Db*)
|
||||
|
||||
# If the build order matters, add dependency rules like this,
|
||||
# which specifies that xxxSrc must be built after src:
|
||||
#xxxSrc_DEPEND_DIRS += src
|
||||
|
||||
include $(TOP)/configure/RULES_DIRS
|
||||
|
||||
@@ -33,6 +33,6 @@ static long read_string(lsiRecord *prec)
|
||||
}
|
||||
|
||||
static lsidset dev_CSAFEAPPNAME_Version = {
|
||||
5, NULL, NULL, NULL, NULL, read_string
|
||||
{5, NULL, NULL, NULL, NULL}, read_string
|
||||
};
|
||||
epicsExportAddress(dset,dev_CSAFEAPPNAME_Version);
|
||||
|
||||
@@ -17,10 +17,10 @@ dbLoadRecords "db/_APPNAME_Version.db", "user=_USER_"
|
||||
dbLoadRecords "db/dbSubExample.db", "user=_USER_"
|
||||
|
||||
#- Set this to see messages from mySub
|
||||
#var mySubDebug 1
|
||||
#-var mySubDebug 1
|
||||
|
||||
#- Run this to trace the stages of iocInit
|
||||
#traceIocInit
|
||||
#-traceIocInit
|
||||
|
||||
cd "${TOP}/iocBoot/${IOC}"
|
||||
iocInit
|
||||
|
||||
@@ -15,10 +15,10 @@ dbLoadRecords("db/_APPNAME_Version.db", "user=_USER_")
|
||||
dbLoadRecords("db/dbSubExample.db", "user=_USER_")
|
||||
|
||||
#- Set this to see messages from mySub
|
||||
#var mySubDebug 1
|
||||
#-var mySubDebug 1
|
||||
|
||||
#- Run this to trace the stages of iocInit
|
||||
#traceIocInit
|
||||
#-traceIocInit
|
||||
|
||||
iocInit
|
||||
|
||||
|
||||
@@ -24,10 +24,10 @@ dbLoadRecords "db/_APPNAME_Version.db", "user=_USER_"
|
||||
dbLoadRecords "db/dbSubExample.db", "user=_USER_"
|
||||
|
||||
#- Set this to see messages from mySub
|
||||
#mySubDebug = 1
|
||||
#-mySubDebug = 1
|
||||
|
||||
#- Run this to trace the stages of iocInit
|
||||
#traceIocInit
|
||||
#-traceIocInit
|
||||
|
||||
cd startup
|
||||
iocInit
|
||||
|
||||
@@ -1,8 +1,14 @@
|
||||
# Makefile at top of application tree
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*))
|
||||
include $(TOP)/configure/RULES_DIRS
|
||||
|
||||
# Directories to be built, in any order.
|
||||
# You can replace these wildcards with an explicit list
|
||||
DIRS += $(wildcard src* *Src*)
|
||||
DIRS += $(wildcard db* *Db*)
|
||||
|
||||
# If the build order matters, add dependency rules like this,
|
||||
# which specifies that xxxSrc must be built after src:
|
||||
#xxxSrc_DEPEND_DIRS += src
|
||||
|
||||
include $(TOP)/configure/RULES_DIRS
|
||||
|
||||
@@ -12,7 +12,7 @@ dbLoadDatabase "dbd/_APPNAME_.dbd"
|
||||
_CSAFEAPPNAME__registerRecordDeviceDriver pdbbase
|
||||
|
||||
## Load record instances
|
||||
#dbLoadRecords("db/xxx.db","user=_USER_")
|
||||
#dbLoadRecords("db/_APPNAME_.db","user=_USER_")
|
||||
|
||||
cd "${TOP}/iocBoot/${IOC}"
|
||||
iocInit
|
||||
|
||||
@@ -10,7 +10,7 @@ dbLoadDatabase "../../dbd/_APPNAME_.dbd"
|
||||
_CSAFEAPPNAME__registerRecordDeviceDriver(pdbbase)
|
||||
|
||||
## Load record instances
|
||||
dbLoadRecords("../../db/_APPNAME_.db","user=_USER_")
|
||||
#dbLoadRecords("../../db/_APPNAME_.db","user=_USER_")
|
||||
|
||||
iocInit()
|
||||
|
||||
|
||||
@@ -1,7 +1,14 @@
|
||||
# Makefile at top of application tree
|
||||
TOP = ..
|
||||
include $(TOP)/configure/CONFIG
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *src*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Src*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *db*))
|
||||
DIRS := $(DIRS) $(filter-out $(DIRS), $(wildcard *Db*))
|
||||
|
||||
# Directories to be built, in any order.
|
||||
# You can replace these wildcards with an explicit list
|
||||
DIRS += $(wildcard src* *Src*)
|
||||
DIRS += $(wildcard db* *Db*)
|
||||
|
||||
# If the build order matters, add dependency rules like this,
|
||||
# which specifies that xxxSrc must be built after src:
|
||||
#xxxSrc_DEPEND_DIRS += src
|
||||
|
||||
include $(TOP)/configure/RULES_DIRS
|
||||
|
||||
Reference in New Issue
Block a user