Files
pyDevSup/GNUMakefile

28 lines
779 B
Plaintext

# This build the sinq extensions for the PSI EPICS setup
include /ioc/tools/driver.makefile
MODULE=pyDevSup
LIBVERSION=koennecke
BUILDCLASSES=Linux
ARCH_FILTER=RHEL7-x86_64
#----------- Define python version
PY=python3.6m
# See README.module for more instructions
DBDS += pyIocApp/pyDevSup.dbd
SOURCES += pyIocApp/setup.c
SOURCES += devsupApp/src/dbapi.c
SOURCES += devsupApp/src/dbdset.c
SOURCES += devsupApp/src/dbfield.c
SOURCES += devsupApp/src/dbrec.c
SOURCES += devsupApp/src/utest.c
USR_CFLAGS += -I/usr/include/$(PY) -DHAVE_NUMPY
USR_CFLAGS += -DXEPICS_ARCH=\"$(T_A)\" -DXEPICS_BASE=\"$(EPICS_BASE)\"
USR_CFLAGS += -DXPYDEV_BASE=\"$(INSTALL_LOCATION)\" -DPYDIR=\"$(PY)\"
LIB_SYS_LIBS += $(PY)
# MISCS would be the place to keep the stream device template files