TOP=../..

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

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

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

# xpsMotor_registerRecordDeviceDriver.cpp derives from xpsMotor.dbd
xpsMotor_SRCS += xpsMotor_registerRecordDeviceDriver.cpp


# Build the main IOC entry point on workstation OSs.
xpsMotor_SRCS_DEFAULT += xpsMotorMain.cpp
xpsMotor_SRCS_vxWorks += -nil-

# Add all the support libraries needed by this IOC
xpsMotor_LIBS += motorNewportSupport
xpsMotor_LIBS += Newport  
xpsMotor_LIBS += std
xpsMotor_LIBS += busy
xpsMotor_LIBS += calc autosave
xpsMotor_LIBS += scanProgress
xpsMotor_LIBS += sscan
xpsMotor_LIBS += asyn
xpsMotor_LIBS += devIocStats
xpsMotor_LIBS += motor


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


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

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