improve how calcout support is built depending on EPICS version

This commit is contained in:
2018-05-23 17:51:31 +02:00
parent 1302db017b
commit f09a304204
3 changed files with 6 additions and 5 deletions

View File

@ -9,9 +9,12 @@ RECORDTYPES += mbboDirect mbbiDirect
RECORDTYPES += longout longin
RECORDTYPES += stringout stringin
RECORDTYPES += waveform
RECORDTYPES += calcout
RECORDTYPES += aai aao
ifdef BASE_3_14
RECORDTYPES += calcout
endif
# Do you have synApps and want support for scalcout?
# Then define CALC or SYNAPPS in your RELEASE file
# pointing to the 'calc' module of synApps.

View File

@ -35,6 +35,5 @@ SCRIPTS = munch.pl
include $(EPICS_BASE)/config/RULES.Host
# create stream.dbd from all RECORDTYPES
# In 3.13, calcout has no device support
stream.dbd: ../CONFIG_STREAM
$(PERL) ../makedbd.pl -3.13 $(filter-out calcout,$(RECORDTYPES)) > $@
$(PERL) ../makedbd.pl -3.13 $(RECORDTYPES) > $@

View File

@ -29,8 +29,7 @@ SRCS.cc += $(patsubst %,../%,$(filter %.cc,$(STREAM_SRCS)))
SRCS.cc += $(BUSSES:%=../%Interface.cc)
SRCS.cc += $(FORMATS:%=../%Converter.cc)
SRCS.c += $(patsubst %,../%,$(filter %.c,$(STREAM_SRCS)))
# In 3.13, calcout has no device support
SRCS.c += $(patsubst %,../dev%Stream.c,$(filter-out calcout,$(RECORDTYPES)))
SRCS.c += $(patsubst %,../dev%Stream.c,$(RECORDTYPES)))
LIBOBJS = $(patsubst ../%,%.o,$(basename $(SRCS.cc) $(SRCS.c)))