42 lines
944 B
Makefile
42 lines
944 B
Makefile
# This build the sinq extensions for the PSI EPICS setup
|
|
include /ioc/tools/driver.makefile
|
|
|
|
MODULE=sinqDAQ
|
|
BUILDCLASSES=Linux
|
|
EPICS_VERSIONS=7.0.7
|
|
ARCH_FILTER=RHEL%
|
|
|
|
# additional module dependencies
|
|
REQUIRED+=asyn
|
|
REQUIRED+=calc
|
|
REQUIRED+=stream
|
|
|
|
# DB files to include in the release
|
|
TEMPLATES += db/channels.db
|
|
TEMPLATES += db/gating_channels.db
|
|
TEMPLATES += db/daq_4ch.db
|
|
TEMPLATES += db/daq_8ch.db
|
|
TEMPLATES += db/daq_common.db
|
|
TEMPLATES += db/daq_2nd_gen.db
|
|
TEMPLATES += db/daq_2nd_gen_test.db
|
|
TEMPLATES += db/daq.proto
|
|
|
|
# Just for simulation
|
|
TEMPLATES += db/daq_simcontrol.db
|
|
|
|
# DBD files to include in the release
|
|
DBDS += src/daq.dbd
|
|
|
|
# Source files to build
|
|
SOURCES += src/daq.cpp
|
|
|
|
SCRIPTS += scripts/daq_4ch.cmd
|
|
SCRIPTS += scripts/daq_8ch.cmd
|
|
SCRIPTS += scripts/daq_2nd_gen.cmd
|
|
SCRIPTS += sim/daq_sim.py
|
|
|
|
CXXFLAGS += -std=c++17
|
|
USR_CFLAGS += -Wall -Wextra #-Werror
|
|
|
|
# MISCS would be the place to keep the stream device template files
|