TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE #============================= # Build 64-bit application EPICS_HOST_ARCH = linux-x86_64 # Accelerator divisions notation for 64-bit ACCEL_ARCH = rhel-9-x86_64 # Setup ROOT ROOT = /gapps/root/${EPICS_OSNAME}/${EPICS_ROOT_VERSION} USR_INCLUDES += -I$(shell $(ROOT)/bin/root-config --incdir) # ELOG stuff ELOG = /cs/certified/apps/eloglib/3.0 CPPLIB = /cs/certified/apps/cpplib/3.20.4 CURLPP = /usr/csite/pubtools/curlpp LIBXMLPP = /usr/csite/pubtools/libxml++ USR_INCLUDES += -I$(ELOG)/inc -I$(CPPLIB)/inc USR_CXXFLAGS += -D$(subst -,_,$(ACCEL_ARCH) ) -D_REENTRANT -Wall USR_LDFLAGS += -Bstatic # Because of the PCM files of ROOT, we intall the executables and the PCM files into a subdirectory in bin, # then we make the links to the executable. #INSTALL_BIN_HARDCOPY = $(INSTALL_LOCATION_BIN)/$(EPICS_HOST_ARCH)/RadiatorMotion #INSTALL_BIN = $(INSTALL_BIN_HARDCOPY) #INSTALL_LINK_LOCATION = $(INSTALL_LOCATION_BIN)/$(EPICS_HOST_ARCH) #============================= # Build the IOC application PROD_IOC_Linux = uScopeMotion # uScopeMotion.dbd will be created and installed DBD += uScopeMotion.dbd SCRIPTS += readMDA.py SCRIPTS += analyzeScanTAGM.py ## Add all the support libraries needed by this IOC uScopeMotion_LIBS += motorNewportSupport uScopeMotion_LIBS += std uScopeMotion_LIBS += busy uScopeMotion_LIBS += calc autosave uScopeMotion_LIBS += sscan uScopeMotion_LIBS += scanProgress uScopeMotion_LIBS += asyn uScopeMotion_LIBS += devIocStats uScopeMotion_LIBS += motor uScopeMotion_LIBS += Newport # uScopeMotion_registerRecordDeviceDriver.cpp derives from uScopeMotion.dbd uScopeMotion_SRCS += uScopeMotion_registerRecordDeviceDriver.cpp # Build the main IOC entry point on workstation OSs. uScopeMotion_SRCS_DEFAULT += uScopeMotionMain.cpp uScopeMotion_SRCS_vxWorks += -nil- # NOTE: To build SNL programs, SNCSEQ must be defined # in the /configure/RELEASE file ifneq ($(SNCSEQ),) # Build sncExample into motorNewportSupport uScopeMotion_SNCFLAGS += +r uScopeMotion_DBD += posRefSNC.dbd uScopeMotion_SRCS += posRefSNC.st uScopeMotion_SRCS += groupRefSNC.st uScopeMotion_SRCS += tagmVoltThreshControl.st uScopeMotion_LIBS += seq pv endif # Finally link to the EPICS Base libraries uScopeMotion_LIBS += $(EPICS_BASE_IOC_LIBS) #=========================== include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE