Some improvements to the module makefile
This commit is contained in:
16
GNUMakefile
16
GNUMakefile
@ -4,6 +4,10 @@ include /ioc/tools/driver.makefile
|
|||||||
MODULE=pyDevSup
|
MODULE=pyDevSup
|
||||||
LIBVERSION=koennecke
|
LIBVERSION=koennecke
|
||||||
BUILDCLASSES=Linux
|
BUILDCLASSES=Linux
|
||||||
|
ARCH_FILTER=RHEL7-x86_64
|
||||||
|
|
||||||
|
#----------- Define python version
|
||||||
|
PY=python3.6m
|
||||||
|
|
||||||
# See README.module for more instructions
|
# See README.module for more instructions
|
||||||
|
|
||||||
@ -15,13 +19,9 @@ SOURCES += devsupApp/src/dbdset.c
|
|||||||
SOURCES += devsupApp/src/dbfield.c
|
SOURCES += devsupApp/src/dbfield.c
|
||||||
SOURCES += devsupApp/src/dbrec.c
|
SOURCES += devsupApp/src/dbrec.c
|
||||||
SOURCES += devsupApp/src/utest.c
|
SOURCES += devsupApp/src/utest.c
|
||||||
#SOURCES += devsupApp/src/pyDevSupCommon_registerRecordDeviceDriver.cpp
|
|
||||||
|
|
||||||
|
USR_CFLAGS += -I/usr/include/$(PY) -DHAVE_NUMPY
|
||||||
USR_CFLAGS += -I/usr/include/python3.6m -DHAVE_NUMPY
|
USR_CFLAGS += -DXEPICS_ARCH=\"$(T_A)\" -DXEPICS_BASE=\"$(EPICS_BASE)\"
|
||||||
USR_CFLAGS += -DXEPICS_ARCH=\"RHEL7-x86_64\" -DXEPICS_BASE=\"/usr/local/epics\"
|
USR_CFLAGS += -DXPYDEV_BASE=\"$(INSTALL_LOCATION)\" -DPYDIR=\"$(PY)\"
|
||||||
USR_CFLAGS += -DXPYDEV_BASE=\"$(INSTALL_LOCATION)\" -DPYDIR=\"python3.6\"
|
LIB_SYS_LIBS += $(PY)
|
||||||
USR_LDFLAGS += -L/usr/local/epics/base-3.14.12/lib/RHEL7-x86_64
|
|
||||||
LIB_SYS_LIBS += python3.6m
|
|
||||||
#LIB_SYS_LIBS += python3.6m recIoc softDevIoc miscIoc rsrvIoc dbtoolsIoc asIoc dbIoc registryIoc dbStaticIoc
|
|
||||||
# MISCS would be the place to keep the stream device template files
|
# MISCS would be the place to keep the stream device template files
|
||||||
|
Reference in New Issue
Block a user