--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/kstmApp/src/Makefile Fri Aug 14 11:30:43 2015 +0200
@@ -0,0 +1,55 @@
+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 += dbSubReadDHT.dbd
+kstm_DBD += asyn.dbd
+kstm_DBD += drvAsynIPPort.dbd
+kstm_DBD += stream.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 += dbSubReadDHT.c
+#kstm_SRCS += dbSubReadADC.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
+