TOP=../.. include $(TOP)/configure/CONFIG #---------------------------------------- # ADD MACRO DEFINITIONS AFTER THIS LINE #============================= #EPICS_HOST_ARCH=linux-x86_64 #================================================== # build a support library LIBRARY_IOC_Linux += baseIUSupport # Link locally-provided code into the support library, # rather than directly into the IOC application. baseIUSupport_SRCS += devBaseIU.c baseIUSupport_SRCS += BaseIUInput.cc baseIUSupport_SRCS += BaseIUException.cc baseIUSupport_SRCS += BaseIUMessage.cc baseIUSupport_SRCS += BaseIUCommand.cc baseIUSupport_SRCS += BaseIUBuffer.cc baseIUSupport_SRCS += BaseIUDevice.cc baseIUSupport_SRCS += BaseIUAlarmable.cc; baseIUSupport_SRCS += BaseIUTimeoutable.cc baseIUSupport_SRCS += BaseIUModule.cc baseIUSupport_SRCS += BaseIUVirtBus.cc baseIUSupport_SRCS += BaseIUBaseBus.cc baseIUSupport_SRCS += BaseIUChassisBus.cc baseIUSupport_SRCS += BaseIUVirtBoard.cc baseIUSupport_SRCS += BaseIUBaseBoard.cc baseIUSupport_SRCS += BaseIUChassisBoard.cc baseIUSupport_SRCS += BaseIUVirtPar.cc baseIUSupport_SRCS += BaseIUParADC.cc baseIUSupport_SRCS += BaseIUParStatus.cc baseIUSupport_SRCS += BaseIUParBusStatus.cpp baseIUSupport_SRCS += BaseIUParDigital.cc baseIUSupport_SRCS += BaseIUMgr.cc baseIUSupport_SRCS += BaseIUComDef.cc baseIUSupport_SRCS += BaseIURecordMaker.cc USR_INCLUDES += -I/gapps/anagate/1.11-2.12/CAN/anagate-api-2.12/include baseIUSupport_LIBS += $(EPICS_BASE_IOC_LIBS) # install devBaseIU.dbd into /dbd #DBD += devBaseIU.dbd # install baseIUSupport.dbd into /dbd DBD += baseIUSupport.dbd # baseIUSupport.dbd will be made up from these files: baseIUSupport_DBD += base.dbd baseIUSupport_DBD += devBaseIU.dbd #============================= # Build the IOC application PROD_IOC_Linux = hvIU # hvIU.dbd will be created and installed DBD += hvIU.dbd # hvIU.dbd will be made up from these files: #hvIU_DBD += hvIUInlcude.dbd #hvIU_SRCS += BaseIURecordMaker.cc # hvIU_registerRecordDeviceDriver.cpp derives from hvIU.dbd hvIU_SRCS += hvIU_registerRecordDeviceDriver.cpp # Build the main IOC entry point on workstation OSs. hvIU_SRCS_DEFAULT += hvIUMain.cpp hvIU_SRCS_vxWorks += -nil- APIRelease_DIR += /gapps/anagate/1.11-2.12/CAN/anagate-api-2.12/$(T_A) CANDLLRelease_DIR += /gapps/anagate/1.11-2.12/CAN/anagate-api-2.12/$(T_A) AnaGateRelease_DIR += /gapps/anagate/1.11-2.12/CAN/libAnaGate-1.0.9/$(T_A) AnaGateExtRelease_DIR += /gapps/anagate/1.11-2.12/CAN/libAnaGateExt-1.0.3/$(T_A) # Link in the code from the support library hvIU_LIBS += baseIUSupport hvIU_LIBS += APIRelease CANDLLRelease AnaGateRelease AnaGateExtRelease # Finally link to the EPICS Base libraries hvIU_LIBS += $(EPICS_BASE_IOC_LIBS) #=========================== include $(TOP)/configure/RULES #---------------------------------------- # ADD RULES AFTER THIS LINE $(COMMON_DIR)/hvIU.dbd: $(COMMON_DIR)/baseIUSupport.dbd #$(COMMON_DIR)/hvIU.dbd: $(COMMON_DIR)/hvIUInlcude.dbd