TOP=../..

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

#=============================
# build an ioc application

PROD_IOC_Linux = motorXPS
# motorXPS.dbd will be created and installed
DBD += motorXPS.dbd

# motorXPS.dbd will be made up from these files:
motorXPS_DBD += base.dbd
motorXPS_DBD += asyn.dbd
motorXPS_DBD += motorSupport.dbd
motorXPS_DBD += devNewport.dbd
# motorXPS_DBD += laserSteering.dbd
motorXPS_DBD += autosave.dbd
motorXPS_DBD += iocAdmin.dbd

# <name>_registerRecordDeviceDriver.cpp will be created from <name>.dbd
motorXPS_SRCS += motorXPS_registerRecordDeviceDriver.cpp
motorXPS_SRCS_DEFAULT += motorXPSMain.cpp
motorXPS_SRCS_vxWorks += -nil-

# Add locally compiled object code
#motorXPS_SRCS += dbSubExample.c

motorXPS_LIBS += Newport
motorXPS_LIBS += motor
motorXPS_LIBS += asyn
# motorXPS_LIBS += laserSteering

motorXPS_LIBS += autosave
motorXPS_LIBS += devIocStats

# NOTE: To build SNL programs, SNCSEQ must be defined
# in the <top>/configure/RELEASE file

motorXPS_LIBS += $(EPICS_BASE_IOC_LIBS)

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

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

