TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE #============================= # This flag will cause byte swapping appropriate for Linux USR_CFLAGS_Linux += -g -DLinux_vme -DGEFANUC -I${LINUXVME_INC} USR_CXXFLAGS_Linux += -g -DLinux_vme -DGEFANUC -I${LINUXVME_INC} USR_LDFLAGS_Linux += -g -L${LINUXVME_LIB} -L/usr/lib/gef USR_INCLUDES += -I$(shell root-config --incdir) # Build the IOC support library LIBRARY_IOC_Linux += beamProfilerSupport DBD += beamProfilerSupport.dbd #beamProfilerSupport_DBD += base.dbd beamProfilerSupport_DBD += beamProfilerSNC.dbd # Link locally-provided code into the support library, # rather than directly into the IOC application. beamProfilerSupport_SRCS += MutexedClass.cpp beamProfilerSupport_SRCS += ProfilerPVs.cpp beamProfilerSupport_SRCS += ProfilerMap.cpp beamProfilerSupport_SRCS += ProfilerDetector.cpp beamProfilerSupport_SRCS += ProfilerDetComponent.cpp beamProfilerSupport_SRCS += ProfilerBPU.cpp beamProfilerSupport_SRCS += ProfilerPlaneData.cpp beamProfilerSupport_SRCS += ProfilerPlaneDataFitter.cpp beamProfilerSupport_SRCS += ProfilerPlaneV.cpp beamProfilerSupport_SRCS += ProfilerPlane.cpp beamProfilerSupport_SRCS += ProfilerPlaneFitter.cpp beamProfilerSupport_SRCS += ProfilerPlaneSlice.cpp beamProfilerSupport_SRCS += ProfilerPlaneSliceFitter.cpp beamProfilerSupport_SRCS += ProfilerPlaneSimulatorV.cpp beamProfilerSupport_SRCS += ProfilerPlaneSimulator.cpp beamProfilerSupport_SRCS += ProfilerPlaneSliceSimulator.cpp beamProfilerSupport_SRCS += CauchyDistribution.cpp beamProfilerSupport_SRCS += fourierf.c beamProfilerSupport_SRCS += fftmisc.c beamProfilerSupport_SRCS += fftSub.c #beamProfilerSupport_SRCS += epicsFFT.cpp beamProfilerSupport_SNCFLAGS += +r beamProfilerSupport_SRCS += bpPVs.st beamProfilerSupport_SRCS += bpReadPlaneScaler.st beamProfilerSupport_LIBS += seq pv beamProfilerSupport_LIBS += $(EPICS_BASE_IOC_LIBS) #============================= # Build the IOC application PROD_IOC_Linux = beamProfiler # beamProfiler.dbd will be created and installed DBD += beamProfiler.dbd # beamProfiler.dbd will be made up from these files: #beamProfiler_DBD += beamProfilerSupport.dbd #beamProfiler_DBD += SIS38XX_LinuxSupport.dbd #beamProfiler_DBD += asyn.dbd #beamProfiler_DBD += stdSupport.dbd #beamProfiler_DBD += calcSupport.dbd #beamProfiler_DBD += busySupport.dbd #beamProfiler_DBD += sscanSupport.dbd #beamProfiler_DBD += asSupport.dbd #beamProfiler_DBD += std.dbd #beamProfiler_DBD += mcaSupport.dbd #beamProfiler_DBD += genSubRecord.dbd #beamProfiler_DBD += spectrumRecord.dbd #beamProfiler_DBD += waveAnlRecord.dbd # Add all the support libraries needed by this IOC beamProfiler_LIBS += beamProfilerSupport beamProfiler_LIBS += SIS38XX_LinuxSupport beamProfiler_LIBS += mca beamProfiler_LIBS += std beamProfiler_LIBS += busy beamProfiler_LIBS += calc beamProfiler_LIBS += autosave beamProfiler_LIBS += sscan beamProfiler_LIBS += asyn beamProfiler_LIBS += seq pv beamProfiler_LIBS += devIocStats #beamProfiler_LIBS += waveProc beamProfiler_SYS_LIBS_Linux += jvme vme beamProfiler_LDFLAGS += $(shell root-config --cflags) beamProfiler_LDFLAGS += $(shell root-config --libs) beamProfiler_LDFLAGS += -lMinuit2 # beamProfiler_registerRecordDeviceDriver.cpp derives from beamProfiler.dbd beamProfiler_SRCS += beamProfiler_registerRecordDeviceDriver.cpp # Build the main IOC entry point on workstation OSs. beamProfiler_SRCS_DEFAULT += beamProfilerMain.cpp beamProfiler_SRCS_vxWorks += -nil- # Finally link to the EPICS Base libraries beamProfiler_LIBS += $(EPICS_BASE_IOC_LIBS) #=========================== include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE