38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# Include the external Makefile
|
|
include /ioc/tools/driver.makefile
|
|
|
|
MODULE=turboPmac
|
|
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/pmacAsynIPPort.h
|
|
HEADERS += src/turboPmacAxis.h
|
|
HEADERS += src/turboPmacController.h
|
|
|
|
# Source files to build
|
|
SOURCES += sinqMotor/src/msgPrintControl.cpp
|
|
SOURCES += sinqMotor/src/sinqAxis.cpp
|
|
SOURCES += sinqMotor/src/sinqController.cpp
|
|
SOURCES += src/pmacAsynIPPort.c
|
|
SOURCES += src/turboPmacAxis.cpp
|
|
SOURCES += src/turboPmacController.cpp
|
|
|
|
# Store the record files
|
|
TEMPLATES += sinqMotor/db/asynRecord.db
|
|
TEMPLATES += sinqMotor/db/sinqMotor.db
|
|
TEMPLATES += db/turboPmac.db
|
|
|
|
# This file registers the motor-specific functions in the IOC shell.
|
|
DBDS += sinqMotor/src/sinqMotor.dbd
|
|
DBDS += src/turboPmac.dbd
|
|
|
|
USR_CFLAGS += -Wall -Wextra -Wunused-result -Werror -fvisibility=hidden # -Wpedantic // Does not work because EPICS macros trigger warnings
|
|
USR_CXXFLAGS += -Wall -Wextra -Wunused-result -Werror -fvisibility=hidden
|