TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE USR_INCLUDES += -I$(shell root-config --incdir) USR_INCLUDES += -I$(ROOTSPY)/include/libRootSpy USR_INCLUDES += -I$(CMSGROOT)/include #pxiroot_INCLUDES += -I$(shell 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 += 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- # Add support from base/src/vxWorks if needed #pxiroot_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary # Link in the code from the support library #pxiroot_LIBS += pxiSupport #pxiroot_LDFLAGS += -L/u/apps/root/5.34.01/root/lib pxiroot_LDFLAGS += -L$(shell root-config --libdir) pxiroot_SYS_LIBS += Core Cint RIO Net Hist Graf Graf3d Gpad Tree Rint Postscript Matrix Physics MathCore Thread pxiroot_SYS_LIBS += m dl pxiroot_LDFLAGS += -pthread -rdynamic pxiroot_LDFLAGS += -L$(ROOTSPY)/lib pxiroot_LDFLAGS += -L$(CMSGROOT)/lib pxiroot_SYS_LIBS += RootSpy pxiroot_SYS_LIBS += cmsg cmsgxx cmsgRegex # NOTE: To build SNL programs, SNCSEQ must be defined # in the /configure/RELEASE file #ifneq ($(SNCSEQ),) # # Build sncExample into pxiSupport # sncExample_SNCFLAGS += +r # pxiroot_DBD += sncExample.dbd # pxiSupport_SRCS += sncExample.stt # pxiSupport_LIBS += seq pv # pxiroot_LIBS += seq pv # Build sncProgram as a standalone program # PROD_HOST += sncProgram # sncProgram_SNCFLAGS += +m # sncProgram_SRCS += sncProgram.st # sncProgram_LIBS += seq pv # sncProgram_LIBS += $(EPICS_BASE_HOST_LIBS) #endif # Finally link to the EPICS Base libraries pxiroot_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE