36 lines
961 B
Makefile
36 lines
961 B
Makefile
# Use the PSI build system
|
|
include /ioc/tools/driver.makefile
|
|
|
|
MODULE=turboPmac
|
|
BUILDCLASSES=Linux
|
|
EPICS_VERSIONS=7.0.7
|
|
ARCH_FILTER=RHEL%
|
|
|
|
# Additional module dependencies
|
|
REQUIRED+=motorBase
|
|
REQUIRED+=sinqMotor
|
|
|
|
# Specify the version of motorBase we want to build against
|
|
motorBase_VERSION=7.2.2
|
|
|
|
# Specify the version of sinqMotor we want to build against
|
|
sinqMotor_VERSION=0.14
|
|
|
|
# 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 += src/pmacAsynIPPort.c
|
|
SOURCES += src/turboPmacAxis.cpp
|
|
SOURCES += src/turboPmacController.cpp
|
|
|
|
# Store the record files
|
|
TEMPLATES += db/turboPmac.db
|
|
|
|
# This file registers the motor-specific functions in the IOC shell.
|
|
DBDS += src/turboPmac.dbd
|
|
|
|
USR_CFLAGS += -Wall -Wextra -Weffc++ -Wunused-result -Werror # -Wpedantic // Does not work because EPICS macros trigger warnings
|