kstmApp/src/Makefile
author Heinz Junkes <junkes@fhi-berlin.mpg.de>
Wed, 09 Sep 2015 18:06:59 +0200
changeset 1 7029db7ac3db
parent 0 bd6bb22c6533
child 2 3b3af1ff2783
permissions -rw-r--r--
Add adcPi device support

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