forked from paulscherrerinstitute/require
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (24 loc) · 831 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
TOP=..
include $(TOP)/configure/CONFIG
LOADABLE_LIBRARY = require
DBD = requireSup.dbd
LIB_SRCS += require_registerRecordDeviceDriver.cpp
LIB_SRCS += require.c
requireSup_DBD += require.dbd
LIB_SRCS += runScript.c
requireSup_DBD += runScript.dbd
LIB_SRCS += expr.c
#requireSup_DBD += expr.dbd
LIB_SRCS += dbLoadTemplate.y
requireSup_DBD += dbLoadTemplate.dbd
LIB_SRCS_vxWorks = asprintf.c strdup.c
LIB_SRCS_WIN32 = asprintf.c
LIB_LIBS += $(EPICS_BASE_IOC_LIBS)
# We need to find the Linux link.h before the EPICS link.h
USR_INCLUDES_Linux=-idirafter ${EPICS_BASE}/include
# Pass T_A to the code
USR_CFLAGS += -DT_A='"${T_A}"'
# This should really go into some global WIN32 config file
USR_CFLAGS_WIN32 += /D_WIN32_WINNT=0x501
include $(TOP)/configure/RULES
dbLoadTemplate.c: dbLoadTemplate_lex.c ../dbLoadTemplate.h