39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
# Use the PSI build system
|
|
include /ioc/tools/driver.makefile
|
|
|
|
MODULE=beamShift
|
|
BUILDCLASSES=Linux
|
|
EPICS_VERSIONS=7.0.7
|
|
ARCH_FILTER=RHEL%
|
|
|
|
# Additional module dependencies
|
|
REQUIRED+=motorBase
|
|
|
|
# Specify the version of motorBase we want to build against
|
|
motorBase_VERSION=7.2.2
|
|
|
|
# These headers allow to depend on this library for derived drivers.
|
|
HEADERS += src/beamShiftAxis.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/beamShiftAxis.cpp
|
|
|
|
# Store the record files
|
|
TEMPLATES += turboPmac/sinqMotor/db/asynRecord.db
|
|
TEMPLATES += turboPmac/sinqMotor/db/sinqMotor.db
|
|
TEMPLATES += turboPmac/db/turboPmac.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/beamShift.dbd
|
|
|
|
USR_CFLAGS += -Wall -Wextra -Weffc++ -Wunused-result -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings
|