TOP=../..

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

#================================
# build Klystron Support Soft IOC
#================================

PROD_IOC_Linux = klystronSupport
DBD += klystronSupport.dbd

klystronSupport_SRCS += klystronSupport_registerRecordDeviceDriver.cpp
klystronSupport_SRCS_DEFAULT += klystronSupportMain.cpp
klystronSupport_SRCS_vxWorks += -nil-

klystronSupport_SRCS += computePoly.c
klystronSupport_SRCS += decodeTMASK.c
klystronSupport_SRCS += fit.c
klystronSupport_SRCS += gammln.c
klystronSupport_SRCS += gammq.c
klystronSupport_SRCS += gcf.c
klystronSupport_SRCS += gser.c
klystronSupport_SRCS += klys_mod.c
klystronSupport_SRCS += klys_poly.c
klystronSupport_SRCS += nrutil.c
klystronSupport_SRCS += ok2clear_tmsk_bit.c
klystronSupport_SRCS += subKlys.cpp

klystronSupport_SRCS += ChangeLogger.st
klystronSupport_SRCS += DSTALogger.st

klystronSupport_SRCS += FTP.st
klystronSupport_SRCS += PIOPDISP.st
klystronSupport_SRCS += PPYY_LOG.st
klystronSupport_SRCS += RATE_LOG.st
klystronSupport_SRCS += SYS_VOLTS.st
klystronSupport_SRCS += SUB_PP.st
klystronSupport_SRCS += TMSK.st
klystronSupport_SRCS += ERRLOG.st
klystronSupport_SRCS += FAULTS_TOTAL.st
klystronSupport_SRCS += PIOP_IPL.st
klystronSupport_SRCS += PIOP_UTIL.st
klystronSupport_SRCS += PIOP_MSG.st
klystronSupport_SRCS += PIOP_SBI.st
klystronSupport_SRCS += ModulatorPowerConservation.st

klystronSupport_LIBS += seq pv devIocStats autosave

#=================================
# add qSrv for PV Access
#=================================
klystronSupport_LIBS += qsrv
klystronSupport_LIBS += $(EPICS_BASE_PVA_CORE_LIBS)
#========================================

klystronSupport_LIBS += $(EPICS_BASE_IOC_LIBS)

klystronSupport_LIBS += seqCar
#========================================

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

