TOP=../..
include $(TOP)/configure/CONFIG
#----------------------------------------
# ADD MACRO DEFINITIONS AFTER THIS LINE
#=============================
#=============================
# Build the IOC application
PROD_IOC = kstm
# kstm.dbd will be created and installed
DBD += kstm.dbd
# kstm.dbd will be made up from these files:
kstm_DBD += base.dbd
# Include dbd files from all support applications:
#kstm_DBD += xxx.dbd
kstm_DBD += aSubReadDHT.dbd
kstm_DBD += asyn.dbd
kstm_DBD += drvAsynIPPort.dbd
kstm_DBD += stream.dbd
kstm_DBD += adcPi.dbd
# Add all the support libraries needed by this IOC
#kstm_LIBS += xxx
kstm_LIBS += stream
kstm_LIBS += asyn
# kstm_registerRecordDeviceDriver.cpp derives from kstm.dbd
kstm_SRCS += kstm_registerRecordDeviceDriver.cpp
#Link locally-provided code into the IOC application
kstm_SRCS += common_dht_read.c
kstm_SRCS += pi_2_mmio.c
kstm_SRCS += pi_2_dht_read.c
kstm_SRCS += aSubReadDHT.c
#kstm_SRCS += dbSubReadADC.c
kstm_SRCS += devadcpi.c
# Build the main IOC entry point on workstation OSs.
kstm_SRCS_DEFAULT += kstmMain.cpp
kstm_SRCS_vxWorks += -nil-
# Add support from base/src/vxWorks if needed
#kstm_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
# Finally link to the EPICS Base libraries
kstm_LIBS += $(EPICS_BASE_IOC_LIBS)
#===========================
include $(TOP)/configure/RULES
#----------------------------------------
# ADD RULES AFTER THIS LINE