fix standard EPICS build system

This commit is contained in:
2017-01-25 11:37:15 +01:00
parent 0195386606
commit ac07ac3dcf
5 changed files with 15 additions and 11 deletions

View File

@ -4,21 +4,24 @@ DIRS = src
streamApp_DEPEND_DIRS = src
# Look if we have EPICS R3.13 or R3.14
ifeq ($(wildcard $(TOP)/configure),)
ifneq ($(wildcard $(TOP)/configure),)
# EPICS R3.14
include $(TOP)/configure/CONFIG
else ifneq ($(wildcard $(TOP)/config),)
# EPICS R3.13
include $(TOP)/config/CONFIG_APP
CONFIG = $(TOP)/config
else
# EPICS R3.14
TOP = .
include $(TOP)/configure/CONFIG
ifneq ($(words $(CALC) $(SYNAPPS)), 0)
# with synApps calc module (contains scalcout)
DIRS += srcSynApps
srcSynApps_DEPEND_DIRS = src
streamApp_DEPEND_DIRS += srcSynApps
endif
endif
DIRS += streamApp
ifneq ($(words $(CALC) $(SYNAPPS)), 0)
# with synApps calc module (contains scalcout)
DIRS += srcSynApps
srcSynApps_DEPEND_DIRS = src
streamApp_DEPEND_DIRS += srcSynApps
endif
include $(CONFIG)/RULES_DIRS