make it work with old and new version of driver.makefile
This commit is contained in:
14
makefile
14
makefile
@ -1,12 +1,10 @@
|
|||||||
include /ioc/tools/driver.makefile
|
include /ioc/tools/driver.makefile
|
||||||
EXCLUDE_VERSIONS = 3.13.2
|
EXCLUDE_VERSIONS = 3.13.2
|
||||||
PROJECT=stream2
|
PROJECT=stream
|
||||||
BUILDCLASSES += Linux
|
BUILDCLASSES += Linux
|
||||||
|
|
||||||
#DOCUDIR = doc
|
#DOCUDIR = doc
|
||||||
|
|
||||||
DBDS = stream.dbd
|
|
||||||
|
|
||||||
BUSSES += AsynDriver
|
BUSSES += AsynDriver
|
||||||
BUSSES += Dummy
|
BUSSES += Dummy
|
||||||
|
|
||||||
@ -42,9 +40,9 @@ HEADERS += StreamBuffer.h
|
|||||||
HEADERS += StreamError.h
|
HEADERS += StreamError.h
|
||||||
|
|
||||||
ifeq (${EPICS_BASETYPE},3.13)
|
ifeq (${EPICS_BASETYPE},3.13)
|
||||||
USR_INCLUDES += -include $(INSTALL_INCLUDE)/compat3_13.h
|
# old gcc needs full path for -include
|
||||||
endif
|
CXXFLAGS += -include $(foreach d,${INCLUDES:-I%=%},$(wildcard $d/compat3_13.h))
|
||||||
ifeq (${EPICS_BASETYPE},3.14)
|
else
|
||||||
RECORDTYPES += calcout
|
RECORDTYPES += calcout
|
||||||
endif
|
endif
|
||||||
|
|
||||||
@ -54,5 +52,7 @@ streamReferences:
|
|||||||
perl ../src/makeref.pl Interface $(BUSSES) > $@
|
perl ../src/makeref.pl Interface $(BUSSES) > $@
|
||||||
perl ../src/makeref.pl Converter $(FORMATS) >> $@
|
perl ../src/makeref.pl Converter $(FORMATS) >> $@
|
||||||
|
|
||||||
stream.dbd:
|
# have to hack a bit to work with both versions of driver.makefile
|
||||||
|
DBDS = O.$${EPICSVERSION}_$${T_A}/streamSup.dbd
|
||||||
|
../O.${EPICSVERSION}_${T_A}/streamSup.dbd:
|
||||||
perl ../src/makedbd.pl $(RECORDTYPES) > $@
|
perl ../src/makedbd.pl $(RECORDTYPES) > $@
|
||||||
|
Reference in New Issue
Block a user