TOP=../..

include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================

USR_SYS_LIBS += pcre

#=============================
# Build the IOC application

PROD_IOC = SelfSeedingMotion
# SelfSeedingMotion.dbd will be created and installed
DBD += SelfSeedingMotion.dbd

# SelfSeedingMotion.dbd will be made up from these files:
SelfSeedingMotion_DBD += base.dbd

# Include dbd files from all support applications:
SelfSeedingMotion_DBD += asyn.dbd
SelfSeedingMotion_DBD += stream.dbd
SelfSeedingMotion_DBD += drvAsynIPPort.dbd
SelfSeedingMotion_DBD += drvAsynSerialPort.dbd
SelfSeedingMotion_DBD += Bx9000_MBT.dbd
SelfSeedingMotion_DBD += ModBusTCPClnt.dbd
SelfSeedingMotion_DBD += iocAdmin.dbd
SelfSeedingMotion_DBD += autosaveSupport.dbd
SelfSeedingMotion_DBD += caPutLog.dbd
SelfSeedingMotion_DBD += motorSupport.dbd
SelfSeedingMotion_DBD += devSmarActMCSMotor.dbd
SelfSeedingMotion_DBD += devImsMotor.dbd
SelfSeedingMotion_DBD += devSmartMotorMotor.dbd
SelfSeedingMotion_DBD += modbus.dbd
SelfSeedingMotion_DBD += system.dbd

# The following are compiled and added to the Support library
#SelfSeedingMotion_SRCS  += smarActMCSMotorDriver.cpp

# Add all the support libraries needed by this IOC
SelfSeedingMotion_LIBS += genSub
SelfSeedingMotion_LIBS += stream
SelfSeedingMotion_LIBS += seq pv
SelfSeedingMotion_LIBS += Bx9000_MBT
SelfSeedingMotion_LIBS += ModBusTCPClnt
SelfSeedingMotion_LIBS += devIocStats
SelfSeedingMotion_LIBS += autosave
SelfSeedingMotion_LIBS += caPutLog
SelfSeedingMotion_LIBS += Ims
SelfSeedingMotion_LIBS += smarActMCSMotor
SelfSeedingMotion_LIBS += SmartMotor
SelfSeedingMotion_LIBS += modbus
SelfSeedingMotion_LIBS += $(EPICS_BASE_IOC_LIBS)
SelfSeedingMotion_LIBS += motor
SelfSeedingMotion_LIBS += asyn


SCRIPTS += pingScript.sh


# SelfSeedingMotion_registerRecordDeviceDriver.cpp derives from SelfSeedingMotion.dbd
SelfSeedingMotion_SRCS += SelfSeedingMotion_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
SelfSeedingMotion_SRCS_DEFAULT += SelfSeedingMotionMain.cpp
SelfSeedingMotion_SRCS_vxWorks += -nil-

# Finally link to the EPICS Base libraries
SelfSeedingMotion_LIBS += $(EPICS_BASE_IOC_LIBS)

#===========================

include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE
