forked from epics_driver_modules/require
39 lines
831 B
Makefile
39 lines
831 B
Makefile
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
|