35 lines
767 B
Makefile
35 lines
767 B
Makefile
# This build the sinq extensions for the PSI EPICS setup
|
|
include /ioc/tools/driver.makefile
|
|
|
|
MODULE=counterbox
|
|
BUILDCLASSES=Linux
|
|
EPICS_VERSIONS=7.0.7
|
|
ARCH_FILTER=RHEL%
|
|
|
|
# additional module dependencies
|
|
REQUIRED+=stream
|
|
REQUIRED+=calc
|
|
|
|
# Release version
|
|
LIBVERSION=ed-dev
|
|
|
|
# DB files to include in the release
|
|
TEMPLATES += db/counterbox.db
|
|
TEMPLATES += db/counterbox.proto
|
|
TEMPLATES += db/counterbox_common.db
|
|
TEMPLATES += db/counterbox_v2.db
|
|
|
|
# DBD files to include in the release
|
|
DBDS += src/counterbox.dbd
|
|
|
|
# Source files to build
|
|
SOURCES += src/counterbox.cpp
|
|
|
|
SCRIPTS += scripts/counterbox.cmd
|
|
SCRIPTS += scripts/counterbox_v2.cmd
|
|
|
|
CXXFLAGS += -std=c++17
|
|
USR_CFLAGS += -Wall -Wextra #-Werror
|
|
|
|
# MISCS would be the place to keep the stream device template files
|