move scalcout to src
This commit is contained in:
11
Makefile
11
Makefile
@ -1,8 +1,5 @@
|
|||||||
TOP = ..
|
TOP = ..
|
||||||
|
|
||||||
DIRS = src
|
|
||||||
streamApp_DEPEND_DIRS = src
|
|
||||||
|
|
||||||
# Look if we have EPICS R3.13 or R3.14
|
# Look if we have EPICS R3.13 or R3.14
|
||||||
ifneq ($(wildcard $(TOP)/configure),)
|
ifneq ($(wildcard $(TOP)/configure),)
|
||||||
# EPICS R3.14
|
# EPICS R3.14
|
||||||
@ -16,12 +13,8 @@ else
|
|||||||
include $(TOP)/configure/CONFIG
|
include $(TOP)/configure/CONFIG
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
DIRS = src
|
||||||
|
streamApp_DEPEND_DIRS = src
|
||||||
DIRS += streamApp
|
DIRS += streamApp
|
||||||
ifneq ($(words $(CALC) $(SYNAPPS)), 0)
|
|
||||||
# with synApps calc module (contains scalcout)
|
|
||||||
DIRS += srcSynApps
|
|
||||||
srcSynApps_DEPEND_DIRS = src
|
|
||||||
streamApp_DEPEND_DIRS += srcSynApps
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(CONFIG)/RULES_DIRS
|
include $(CONFIG)/RULES_DIRS
|
||||||
|
@ -21,9 +21,12 @@ RECORDTYPES += aai aao
|
|||||||
# Due to strange cross dependencies in synApps
|
# Due to strange cross dependencies in synApps
|
||||||
# you have to build the 'sscan' and 'genSub'
|
# you have to build the 'sscan' and 'genSub'
|
||||||
# modules before building 'calc'.
|
# modules before building 'calc'.
|
||||||
# See doc/scalcout.html for a required fix in scalcout.
|
# The 'calc' version must be 2-4 or higher.
|
||||||
|
# Up to version 2-6 (synApps 5.1) the 'calc' module needs a fix.
|
||||||
SYNAPPS_RECORDTYPES += scalcout
|
# See doc/scalcout.html for details.
|
||||||
|
ifneq ($(words $(CALC) $(SYNAPPS)), 0)
|
||||||
|
RECORDTYPES += scalcout
|
||||||
|
endif
|
||||||
|
|
||||||
# You may add more bus interfaces
|
# You may add more bus interfaces
|
||||||
# This requires the naming convention
|
# This requires the naming convention
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
TOP:=../$(TOP)
|
|
||||||
|
|
||||||
include $(TOP)/configure/CONFIG
|
|
||||||
|
|
||||||
-include ../src/CONFIG_STREAM
|
|
||||||
-include ../../src/CONFIG_STREAM
|
|
||||||
|
|
||||||
LIBRARY_DEFAULT = streamSynApps
|
|
||||||
|
|
||||||
DBD += $(LIBRARY_DEFAULT).dbd
|
|
||||||
|
|
||||||
ifeq ($(LOADABLE_MODULE),YES)
|
|
||||||
SRCS += $(LIBRARY_DEFAULT)_registerRecordDeviceDriver.cpp
|
|
||||||
endif
|
|
||||||
SRCS += $(SYNAPPS_RECORDTYPES:%=dev%Stream.c)
|
|
||||||
|
|
||||||
LIB_LIBS += stream $(EPICS_BASE_IOC_LIBS)
|
|
||||||
|
|
||||||
include $(TOP)/configure/RULES
|
|
||||||
|
|
||||||
# create streamSynApps.dbd from all SYNAPPS_RECORDTYPES
|
|
||||||
$(COMMON_DIR)/$(LIBRARY_DEFAULT).dbd: ../../src/CONFIG_STREAM
|
|
||||||
$(PERL) ../../src/makedbd.pl $(SYNAPPS_RECORDTYPES) > $@
|
|
Reference in New Issue
Block a user