diff --git a/src/CONFIG_STREAM b/src/CONFIG_STREAM index 64b839d..7f574a4 100644 --- a/src/CONFIG_STREAM +++ b/src/CONFIG_STREAM @@ -1,6 +1,3 @@ -# Want debugging? -# HOST_OPT = NO - # You may add more record interfaces # This requires the naming conventions # dev$(RECORDTYPE)Stream.c @@ -18,11 +15,9 @@ RECORDTYPES += aai aao # 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. -# Due to strange cross dependencies in synApps -# you have to build the 'sscan' and 'genSub' -# modules before building 'calc'. -# The 'calc' version must be 2-4 or higher. -# Up to version 2-6 (synApps 5.1) the 'calc' module needs a fix. +# Older 'calc' versions have a cross reference on +# 'sscan' and/or 'genSub', so you may have to build them first. +# 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 @@ -31,7 +26,8 @@ endif # You may add more bus interfaces # This requires the naming convention # $(BUS)Interface.cc -# asynDriver interface is added if ASYN is defined in your RELEASE file. +# asynDriver interface is added automatically +# if ASYN is defined in your RELEASE file. BUSSES += Debug BUSSES += Dummy diff --git a/src/devaiStream.c b/src/devaiStream.c index 17123ef..5386d56 100644 --- a/src/devaiStream.c +++ b/src/devaiStream.c @@ -18,16 +18,12 @@ * * ***************************************************************/ -#include +#include +#include "epicsMath.h" +#include "menuConvert.h" +#include "aiRecord.h" +#include "epicsExport.h" #include "devStream.h" -#ifdef EPICS_3_13 -#include -#define isinf(x) isInf(x) -#define isnan(x) isNan(x) -#else -#include -#endif -#include static long readData (dbCommon *record, format_t *format) { diff --git a/src/devaoStream.c b/src/devaoStream.c index 95a4198..68017e4 100644 --- a/src/devaoStream.c +++ b/src/devaoStream.c @@ -18,9 +18,10 @@ * * ***************************************************************/ -#include +#include "menuConvert.h" +#include "aoRecord.h" +#include "epicsExport.h" #include "devStream.h" -#include static long readData (dbCommon *record, format_t *format) { diff --git a/streamApp/Makefile b/streamApp/Makefile index 9e5a07e..023cd5e 100644 --- a/streamApp/Makefile +++ b/streamApp/Makefile @@ -1,6 +1,6 @@ TOP:=../$(TOP) -# Look if we have EPICS R3.13 or R3.14 +# Look if we have EPICS R3.13 or R3.14+ ifeq ($(wildcard $(TOP)/configure),) # EPICS R3.13 include $(TOP)/config/CONFIG_APP @@ -8,11 +8,9 @@ include $(TOP)/config/CONFIG_APP include $(TOP)/config/RULES_ARCHS else -# EPICS R3.14 +# EPICS R3.14+ include $(TOP)/configure/CONFIG -#HOST_OPT = NO - PROD = streamApp DBD = streamApp.dbd