TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE # Build 64-bit application EPICS_HOST_ARCH = linux-x86_64 ## Setup ROOT ROOT = /gapps/root/${BMS_OSNAME}/${EPICS_ROOT_VERSION} USR_INCLUDES += -I$(shell $(ROOT)/bin/root-config --incdir) # ============================ # Build the IOC application PROD_IOC_Linux = acroot # pxiroot.dbd will be created and installed # only change the name from pxiroot.dbd to acroot.dbd DBD += acroot.dbd # pxi.dbd will be made up from these files: acroot_DBD += base.dbd acroot_DBD += acrootSub.dbd acroot_DBD += calcSupport.dbd acroot_DBD += busySupport.dbd acroot_DBD += sscanSupport.dbd acroot_DBD += asSupport.dbd acroot_DBD += devSequencer.dbd acroot_DBD += asyn.dbd acroot_DBD += std.dbd acroot_DBD += devIocStats.dbd # acroot_registerRecordDeviceDriver.cpp derives from acroot.dbd acroot_SRCS += acroot_registerRecordDeviceDriver.cpp acroot_SRCS += acrootSub.c acroot_SRCS += acrootManager.cpp # Build the main IOC entry point on workstation OSs. acroot_SRCS_DEFAULT += acrootMain.cpp acroot_SRCS_vxWorks += -nil- # Link in the code from the support library acroot_LIBS += calc acroot_LIBS += busy acroot_LIBS += sscan acroot_LIBS += autosave acroot_LIBS += std acroot_LIBS += seqDev seq pv acroot_LIBS += asyn acroot_LIBS += devIocStats acroot_LDFLAGS += $(shell $(ROOT)/bin/root-config --cflags) acroot_LDFLAGS += $(shell $(ROOT)/bin/root-config --glibs) acroot_LDFLAGS += -Wl,-rpath=$(shell $(ROOT)/bin/root-config --libdir) # Finally link to the EPICS Base libraries acroot_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE