30 lines
836 B
Makefile
30 lines
836 B
Makefile
# Include the external Makefile
|
|
include /ioc/tools/driver.makefile
|
|
|
|
MODULE=StreamGenerator
|
|
BUILDCLASSES=Linux
|
|
EPICS_VERSIONS=7.0.7
|
|
ARCH_FILTER=RHEL%
|
|
|
|
# Additional module dependencies
|
|
REQUIRED+=asyn
|
|
|
|
DBDS += src/asynStreamGeneratorDriver.dbd
|
|
|
|
# DB files to include in the release
|
|
TEMPLATES += db/channels.db db/daq_common.db db/correlation_unit.db
|
|
|
|
# HEADERS += src/asynStreamGeneratorDriver.h
|
|
|
|
# Source files to build
|
|
SOURCES += src/asynStreamGeneratorDriver.cpp
|
|
|
|
# I don't think specifying the optimisation level like this is correct...
|
|
# but I doesn't hurt :D
|
|
USR_CFLAGS += -O3 -Wall -Wextra -Wunused-result -Werror -fvisibility=hidden # -Wpedantic // Does not work because EPICS macros trigger warnings
|
|
|
|
# Required to support EV42/44
|
|
USR_CXXFLAGS += -std=c++17 -O3 -I../dep/flatbuffers/include/ -I../schemas
|
|
|
|
LIB_SYS_LIBS += rdkafka
|