Files
detectortower/Makefile
smathis 6c64b4cee8
Some checks failed
Test And Build / Lint (push) Successful in 4s
Test And Build / Build (push) Failing after 6s
Now compiles with warning flags for C++
2025-12-23 13:48:18 +01:00

46 lines
1.6 KiB
Makefile

# Use the PSI build system
include /ioc/tools/driver.makefile
MODULE=detectorTower
BUILDCLASSES=Linux
EPICS_VERSIONS=7.0.7
ARCH_FILTER=RHEL%
# Additional module dependencies
REQUIRED+=motorBase
# Specify the version of motorBase we want to dynamically link against
motorBase_VERSION=7.2.2
# These headers allow to depend on this library for derived drivers.
HEADERS += src/detectorTowerAngleAxis.h
HEADERS += src/detectorTowerController.h
HEADERS += src/detectorTowerLiftAxis.h
HEADERS += src/detectorTowerSupportAxis.h
# Source files to build
SOURCES += turboPmac/sinqMotor/src/msgPrintControl.cpp
SOURCES += turboPmac/sinqMotor/src/sinqAxis.cpp
SOURCES += turboPmac/sinqMotor/src/sinqController.cpp
SOURCES += turboPmac/src/pmacAsynIPPort.c
SOURCES += turboPmac/src/turboPmacAxis.cpp
SOURCES += turboPmac/src/turboPmacController.cpp
SOURCES += turboPmac/src/pmacAsynIPPort.c
SOURCES += src/detectorTowerAngleAxis.cpp
SOURCES += src/detectorTowerController.cpp
SOURCES += src/detectorTowerLiftAxis.cpp
SOURCES += src/detectorTowerSupportAxis.cpp
# Store the record files
TEMPLATES += turboPmac/sinqMotor/db/asynRecord.db
TEMPLATES += turboPmac/sinqMotor/db/sinqMotor.db
TEMPLATES += turboPmac/db/turboPmac.db
TEMPLATES += db/detectorTower.db
# This file registers the motor-specific functions in the IOC shell.
DBDS += turboPmac/sinqMotor/src/sinqMotor.dbd
DBDS += turboPmac/src/turboPmac.dbd
DBDS += src/detectorTower.dbd
USR_CFLAGS += -Wall -Wextra -Wunused-result -Wextra -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings
USR_CXXFLAGS += -Wall -Wextra -Wunused-result -Werror