TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE # Build 64-bit application EPICS_HOST_ARCH=linux-x86_64 ROOT = /gapps/root/${EPICS_OSNAME}/${EPICS_ROOT_VERSION} USR_INCLUDES += -I$(shell $(ROOT)/bin/root-config --incdir) #============================= # Build the IOC application PROD_IOC = pxiroot # pxiroot.dbd will be created and installed DBD += pxiroot.dbd # pxi.dbd will be made up from these files: pxiroot_DBD += base.dbd pxiroot_DBD += devIocStats.dbd pxiroot_DBD += pxirootSub.dbd # pxiroot_registerRecordDeviceDriver.cpp derives from pxiroot.dbd pxiroot_SRCS += pxiroot_registerRecordDeviceDriver.cpp pxiroot_SRCS += pxirootSub.c pxiroot_SRCS += pxirootManager.cpp # Build the main IOC entry point on workstation OSs. pxiroot_SRCS_DEFAULT += pxirootMain.cpp pxiroot_SRCS_vxWorks += -nil- # Link in the code from the support library pxiroot_LIBS += devIocStats pxiroot_LDFLAGS += $(shell $(ROOT)/bin/root-config --cflags) pxiroot_LDFLAGS += $(shell $(ROOT)/bin/root-config --glibs) pxiroot_LDFLAGS += -Wl,-rpath=$(shell $(ROOT)/bin/root-config --libdir) # Finally link to the EPICS Base libraries pxiroot_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE