57 lines
1.2 KiB
Makefile
57 lines
1.2 KiB
Makefile
# Remove this file if not using the PSI build system
|
|
include /ioc/tools/driver.makefile
|
|
EXCLUDE_VERSIONS = 3.13.2
|
|
PROJECT=stream
|
|
BUILDCLASSES += Linux
|
|
|
|
#DOCUDIR = doc
|
|
|
|
BUSSES += AsynDriver
|
|
BUSSES += Dummy
|
|
|
|
FORMATS += Enum
|
|
FORMATS += BCD
|
|
FORMATS += Raw
|
|
FORMATS += RawFloat
|
|
FORMATS += Binary
|
|
FORMATS += Checksum
|
|
FORMATS += Regexp
|
|
FORMATS += MantissaExponent
|
|
FORMATS += Timestamp
|
|
|
|
RECORDTYPES += aai aao
|
|
RECORDTYPES += ao ai
|
|
RECORDTYPES += bo bi
|
|
RECORDTYPES += mbbo mbbi
|
|
RECORDTYPES += mbboDirect mbbiDirect
|
|
RECORDTYPES += longout longin
|
|
RECORDTYPES += stringout stringin
|
|
RECORDTYPES += waveform
|
|
|
|
SOURCES += $(RECORDTYPES:%=src/dev%Stream.c)
|
|
SOURCES += $(FORMATS:%=src/%Converter.cc)
|
|
SOURCES += $(BUSSES:%=src/%Interface.cc)
|
|
SOURCES += $(wildcard src/Stream*.cc)
|
|
SOURCES += src/StreamVersion.c
|
|
|
|
HEADERS += devStream.h
|
|
HEADERS += StreamFormat.h
|
|
HEADERS += StreamFormatConverter.h
|
|
HEADERS += StreamBuffer.h
|
|
HEADERS += StreamError.h
|
|
|
|
ifneq (${EPICS_BASETYPE},3.13)
|
|
RECORDTYPES += calcout
|
|
endif
|
|
|
|
StreamCore.o StreamCore.d: streamReferences
|
|
|
|
streamReferences:
|
|
perl ../src/makeref.pl Interface $(BUSSES) > $@
|
|
perl ../src/makeref.pl Converter $(FORMATS) >> $@
|
|
|
|
export DBDFILES = streamSup.dbd
|
|
streamSup.dbd:
|
|
@echo Creating $@
|
|
perl ../src/makedbd.pl $(RECORDTYPES) > $@
|