Files
StreamGenerator/Makefile
2025-11-17 11:33:02 +01:00

30 lines
813 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
# 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