0
|
1 |
TOP=../..
|
|
2 |
|
|
3 |
include $(TOP)/configure/CONFIG
|
|
4 |
#----------------------------------------
|
|
5 |
# ADD MACRO DEFINITIONS AFTER THIS LINE
|
|
6 |
#=============================
|
|
7 |
|
|
8 |
#=============================
|
|
9 |
# Build the IOC application
|
|
10 |
|
|
11 |
PROD_IOC = kstm
|
|
12 |
# kstm.dbd will be created and installed
|
|
13 |
DBD += kstm.dbd
|
|
14 |
|
|
15 |
# kstm.dbd will be made up from these files:
|
|
16 |
kstm_DBD += base.dbd
|
|
17 |
|
|
18 |
# Include dbd files from all support applications:
|
|
19 |
#kstm_DBD += xxx.dbd
|
|
20 |
kstm_DBD += dbSubReadDHT.dbd
|
|
21 |
kstm_DBD += asyn.dbd
|
|
22 |
kstm_DBD += drvAsynIPPort.dbd
|
|
23 |
kstm_DBD += stream.dbd
|
|
24 |
|
|
25 |
# Add all the support libraries needed by this IOC
|
|
26 |
#kstm_LIBS += xxx
|
|
27 |
kstm_LIBS += stream
|
|
28 |
kstm_LIBS += asyn
|
|
29 |
|
|
30 |
# kstm_registerRecordDeviceDriver.cpp derives from kstm.dbd
|
|
31 |
kstm_SRCS += kstm_registerRecordDeviceDriver.cpp
|
|
32 |
|
|
33 |
#Link locally-provided code into the IOC application
|
|
34 |
kstm_SRCS += common_dht_read.c
|
|
35 |
kstm_SRCS += pi_2_mmio.c
|
|
36 |
kstm_SRCS += pi_2_dht_read.c
|
|
37 |
kstm_SRCS += dbSubReadDHT.c
|
|
38 |
#kstm_SRCS += dbSubReadADC.c
|
|
39 |
|
|
40 |
# Build the main IOC entry point on workstation OSs.
|
|
41 |
kstm_SRCS_DEFAULT += kstmMain.cpp
|
|
42 |
kstm_SRCS_vxWorks += -nil-
|
|
43 |
|
|
44 |
# Add support from base/src/vxWorks if needed
|
|
45 |
#kstm_OBJS_vxWorks += $(EPICS_BASE_BIN)/vxComLibrary
|
|
46 |
|
|
47 |
# Finally link to the EPICS Base libraries
|
|
48 |
kstm_LIBS += $(EPICS_BASE_IOC_LIBS)
|
|
49 |
|
|
50 |
#===========================
|
|
51 |
|
|
52 |
include $(TOP)/configure/RULES
|
|
53 |
#----------------------------------------
|
|
54 |
# ADD RULES AFTER THIS LINE
|
|
55 |
|