#==============================================================
#
#  Abs:  Makefile to build IOC Application
#
#  Name: Makefile
#
#  Facility: LCLS Temperature
#
#  Auth: 09-Mar-2007, Stephen Schuh   (SCHUHS)
#  Rev:  dd-mmm-yyyy, First Lastname  (USERNAME)
#--------------------------------------------------------------
#  Mod:
#
#        05-Jul-2007, A. Alarcon       (ALARCON)
#          Deleted references to cmlog
#==============================================================
#
TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
#  ADD MACRO DEFINITIONS AFTER THIS LINE
#========================================
#
# build object
PROD_RTEMS = temp

# Build the ioc database
DBD += temp.dbd
temp_DBD += base.dbd
temp_DBD += tempSubPoly.dbd
temp_DBD += vmeCardRecord.dbd
temp_DBD += devVSAM.dbd
temp_DBD += devVSAMCard.dbd
temp_DBD += dbRestore.dbd
temp_DBD += subSys.dbd
temp_DBD += iocAdmin.dbd

# add locally compiled object code
# Note : temp_registerRecordDeviceDriver.cpp 
# will be created from temp.dbd
temp_SRCS += temp_registerRecordDeviceDriver.cpp
temp_SRCS_DEFAULT += tempMain.cpp
temp_SRCS_vxWorks += -nil-
temp_SRCS += tempPolynomial.c

# The following adds support from base/src/vxWorks
temp_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

#Add libraries to application
temp_LIBS += subSys
temp_LIBS += vsam
temp_LIBS += vmeCardRecord
temp_LIBS += restore
temp_LIBS += devIocStats


temp_LIBS += $(EPICS_BASE_IOC_LIBS)
#========================================
include $(TOP)/configure/RULES
#----------------------------------------
#  ADD RULES AFTER THIS LINE
#========================================

