#==============================================================
#
#  Name: Makefile to build EPICS CAMAC Klystron Library
#
#  Facility: CAMAC-to-VME Controls
#
#  Auth: 19-Nov-2010, Kristi Luchini  (LUCHINI):
#  Rev:  dd-mmm-yyyy, Reviewer's name (USERNAME)
#--------------------------------------------------------------
#  Mod:
#        dd-mmm-yyyy, First Lastname  (USERNAME):
#         comments
#
#==============================================================
#
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#=======================================
#
# Debugging flags
#USR_CFLAGS_DEFAULT += -DHOST_TEST -g
#USR_CFLAGS += -O
#USR_CFLAGS_RTEMS   += -g -O4

DBD += klysSeq.dbd
DBD += klysSub.dbd
DBD += devKlystron.dbd

LIBRARY_IOC = klystron

klystron_SRCS  += klysSub.c

# Build SNL programs
# NOTE: to build SNL programs, SNCSEQ must be defined
# in the <top>/configure/RELEASE file
#
ifneq ($(SNCSEQ),)
#  USR_SNCFLAGS  += +r
#  USR SNCFLAGS  += -a
#  USR_SNCFLAGS  += +c
#  USR_SNCFLAGS  += +d
  klystron_SRCS += klysSbstTctl.stt
  USR_LIBS      += seq pv
endif

USR_LIBS += $(EPICS_BASE_IOC_LIBS)

#========================================
include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE
#
# End of file


