optionally include autosave, caPutLog, and/or devIocStats
This commit is contained in:
@ -21,12 +21,18 @@
|
|||||||
|
|
||||||
TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top
|
TEMPLATE_TOP=$(EPICS_BASE)/templates/makeBaseApp/top
|
||||||
|
|
||||||
# If using the sequencer, point SNCSEQ at its top directory:
|
## Optional Modules ##
|
||||||
#SNCSEQ=$(EPICS_BASE)/../modules/soft/seq
|
# Comment out if not present
|
||||||
|
|
||||||
|
# IOC statistics (cpu and mem usage, ...)
|
||||||
|
#DEVIOCSTATS=$(EPICS_BASE)
|
||||||
|
|
||||||
|
# automatic save with restore on boot
|
||||||
|
#AUTOSAVE=$(EPICS_BASE)
|
||||||
|
|
||||||
|
# logging of remote settings changes
|
||||||
|
#CAPUTLOG=$(EPICS_BASE)
|
||||||
|
|
||||||
# EPICS_BASE usually appears last so other apps can override stuff:
|
# EPICS_BASE usually appears last so other apps can override stuff:
|
||||||
EPICS_BASE=/usr/lib/epics
|
EPICS_BASE=/usr/lib/epics
|
||||||
|
|
||||||
# Set RULES here if you want to take build rules from somewhere
|
|
||||||
# other than EPICS_BASE:
|
|
||||||
#RULES=/path/to/epics/support/module/rules/x-y
|
|
||||||
|
@ -12,6 +12,14 @@ include $(TOP)/configure/CONFIG
|
|||||||
# databases, templates, substitutions like this
|
# databases, templates, substitutions like this
|
||||||
#DB += xxx.db
|
#DB += xxx.db
|
||||||
|
|
||||||
|
ifneq ($(DEVIOCSTATS),)
|
||||||
|
DB_INSTALLS += $(DEVIOCSTATS)/db/iocAdminSoft.db
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(AUTOSAVE),)
|
||||||
|
DB_INSTALLS += $(firstword $(wildcard $(AUTOSAVE)/asApp/Db/save_restoreStatus.db $(AUTOSAVE)/db/save_restoreStatus.db))
|
||||||
|
endif
|
||||||
|
|
||||||
#----------------------------------------------------
|
#----------------------------------------------------
|
||||||
# If <anyname>.db template is not named <anyname>*.template add
|
# If <anyname>.db template is not named <anyname>*.template add
|
||||||
# <anyname>_template = <templatename>
|
# <anyname>_template = <templatename>
|
||||||
|
@ -40,6 +40,8 @@ DBD += softIocPy.dbd
|
|||||||
softIocPy_DBD += base.dbd
|
softIocPy_DBD += base.dbd
|
||||||
softIocPy_DBD += pyDevSup.dbd
|
softIocPy_DBD += pyDevSup.dbd
|
||||||
|
|
||||||
|
softIocPy_DBD += system.dbd
|
||||||
|
|
||||||
softIocPy$(PY_VER)_LIBS += pyDevSup$(PY_LD_VER)
|
softIocPy$(PY_VER)_LIBS += pyDevSup$(PY_LD_VER)
|
||||||
|
|
||||||
# softIocPy_registerRecordDeviceDriver.cpp derives from softIocPy.dbd
|
# softIocPy_registerRecordDeviceDriver.cpp derives from softIocPy.dbd
|
||||||
@ -47,10 +49,21 @@ softIocPy$(PY_VER)_SRCS += softIocPy_registerRecordDeviceDriver.cpp
|
|||||||
|
|
||||||
# Build the main IOC entry point on workstation OSs.
|
# Build the main IOC entry point on workstation OSs.
|
||||||
softIocPy$(PY_VER)_SRCS_DEFAULT += devsupMain.cpp
|
softIocPy$(PY_VER)_SRCS_DEFAULT += devsupMain.cpp
|
||||||
softIocPy$(PY_VER)_SRCS_vxWorks += -nil-
|
|
||||||
|
|
||||||
# Add support from base/src/vxWorks if needed
|
ifneq ($(DEVIOCSTATS),)
|
||||||
#softIocPy$(PY_VER)_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
|
softIocPy_DBD += devIocStats.dbd
|
||||||
|
softIocPy$(PY_VER)_LIBS += devIocStats
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(AUTOSAVE),)
|
||||||
|
softIocPy_DBD += asSupport.dbd
|
||||||
|
softIocPy$(PY_VER)_LIBS += autosave
|
||||||
|
endif
|
||||||
|
|
||||||
|
ifneq ($(CAPUTLOG),)
|
||||||
|
softIocPy_DBD += caPutLog.dbd
|
||||||
|
softIocPy$(PY_VER)_LIBS += caPutLog
|
||||||
|
endif
|
||||||
|
|
||||||
# Finally link to the EPICS Base libraries
|
# Finally link to the EPICS Base libraries
|
||||||
softIocPy$(PY_VER)_LIBS += $(EPICS_BASE_IOC_LIBS)
|
softIocPy$(PY_VER)_LIBS += $(EPICS_BASE_IOC_LIBS)
|
||||||
|
Reference in New Issue
Block a user