TOP=../..

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

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

PROD_IOC = testSimSupport
# testSimSupport.dbd will be created and installed
DBD += testSimSupport.dbd

# testSimSupport.dbd will be made up from these files:
testSimSupport_DBD += base.dbd

ifdef ASYN
	testSimSupport_DBD += asyn.dbd
#	testSimSupport_DBD += drvAsynSerialPort.dbd
	testSimSupport_DBD += drvAsynIPPort.dbd
#	testSimSupport_DBD += drvVxi11.dbd
#	testSimSupport_DBD += devGpib.dbd
	testSimSupport_LIBS += asyn
endif
ifdef MOTOR
	testSimSupport_DBD += motorSupport.dbd
#	testSimSupport_DBD += devAcsMotor.dbd
#	testSimSupport_DBD += devAerotech.dbd
#	testSimSupport_DBD += devAttocube.dbd
#	testSimSupport_DBD += devFaulhaberMotor.dbd
#	testSimSupport_DBD += devImsMotor.dbd
#	testSimSupport_DBD += devKohzuMotor.dbd
#	testSimSupport_DBD += devMclennanMotor.dbd
#	testSimSupport_DBD += devMicos.dbd
#	testSimSupport_DBD += devMicroMo.dbd
#	testSimSupport_DBD += devNewFocus.dbd
#	testSimSupport_DBD += devNewport.dbd
#	testSimSupport_DBD += devOriel.dbd
#	testSimSupport_DBD += devPC6K.dbd
#	testSimSupport_DBD += devPIJena.dbd
#	testSimSupport_DBD += devPIMotor.dbd
#	testSimSupport_DBD += devSPiiPlus.dbd
#	testSimSupport_DBD += devSmartMotorMotor.dbd
	testSimSupport_DBD += devSoftMotor.dbd
#	testSimSupport_DBD += devThorLabs.dbd
	testSimSupport_DBD += motorRecord.dbd
	testSimSupport_DBD += motorSimSupport.dbd

#	testSimSupport_LIBS += Acs
#	testSimSupport_LIBS += acsTech80
#	testSimSupport_LIBS += Aerotech
#	testSimSupport_LIBS += Attocube
#	testSimSupport_LIBS += Faulhaber
#	testSimSupport_LIBS += Ims
#	testSimSupport_LIBS += KohzuMotor
#	testSimSupport_LIBS += Mclennan
#	testSimSupport_LIBS += Micos
#	testSimSupport_LIBS += MicroMo
#	testSimSupport_LIBS += NewFocus
#	testSimSupport_LIBS += Newport
#	testSimSupport_LIBS += Oriel
#	testSimSupport_LIBS += PI
#	testSimSupport_LIBS += PIJena
#	testSimSupport_LIBS += Parker
#	testSimSupport_LIBS += SmartMotor
#	testSimSupport_LIBS += ThorLabs
	testSimSupport_LIBS += softMotor
	testSimSupport_LIBS += motorSimSupport
	testSimSupport_LIBS += motor
endif

# Include dbd files from all support applications:
#testSimSupport_DBD += xxx.dbd

# Add all the support libraries needed by this IOC
#testSimSupport_LIBS += xxx

# testSimSupport_registerRecordDeviceDriver.cpp derives from testSimSupport.dbd
testSimSupport_SRCS += testSimSupport_registerRecordDeviceDriver.cpp

# Build the main IOC entry point on workstation OSs.
testSimSupport_SRCS_DEFAULT += testSimSupportMain.cpp
testSimSupport_SRCS_vxWorks += -nil-

# Add support from base/src/vxWorks if needed
#testSimSupport_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary

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

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

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

