move scalcout to src

This commit is contained in:
2017-01-25 15:02:24 +01:00
parent d42e5a7a9e
commit 31189ebecf
4 changed files with 8 additions and 35 deletions

View File

@ -1,8 +1,5 @@
TOP = ..
DIRS = src
streamApp_DEPEND_DIRS = src
# Look if we have EPICS R3.13 or R3.14
ifneq ($(wildcard $(TOP)/configure),)
# EPICS R3.14
@ -16,12 +13,8 @@ else
include $(TOP)/configure/CONFIG
endif
DIRS = src
streamApp_DEPEND_DIRS = src
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

View File

@ -21,9 +21,12 @@ RECORDTYPES += aai aao
# Due to strange cross dependencies in synApps
# you have to build the 'sscan' and 'genSub'
# modules before building 'calc'.
# See doc/scalcout.html for a required fix in scalcout.
SYNAPPS_RECORDTYPES += scalcout
# The 'calc' version must be 2-4 or higher.
# Up to version 2-6 (synApps 5.1) the 'calc' module needs a fix.
# See doc/scalcout.html for details.
ifneq ($(words $(CALC) $(SYNAPPS)), 0)
RECORDTYPES += scalcout
endif
# You may add more bus interfaces
# This requires the naming convention

View File

@ -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) > $@