# CONFIG

include $(TOP)/configure/RELEASE
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH)
-include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).Common

ifdef T_A
  -include $(TOP)/configure/RELEASE.Common.$(T_A)
  -include $(TOP)/configure/RELEASE.$(EPICS_HOST_ARCH).$(T_A)
endif

CONFIG=$(EPICS_BASE)/configure
include $(CONFIG)/CONFIG

# Override for definition in base
INSTALL_LOCATION = $(TOP)

include $(TOP)/configure/CONFIG_SITE
-include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH)
-include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).Common

ifdef T_A
  -include $(TOP)/configure/CONFIG_SITE.Common.$(T_A)
  -include $(TOP)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
  -include $(TOP)/configure/O.$(T_A)/CONFIG_APP_INCLUDE
endif

# This avoids deprecation warnings when compiling against
# base 3.16 or higher
USR_CPPFLAGS += -DUSE_TYPED_RSET

EPICS_HAS_UNIT_TEST := $(shell $(PERL) -e\
 'print($(EPICS_VERSION) > 3 || ($(EPICS_VERSION) == 3 &&\
  ($(EPICS_REVISION) > 14 || ($(EPICS_REVISION) == 14 && $(EPICS_MODIFICATION) >= 10))))')

ECHO := $(if $(findstring s,$(MAKEFLAGS)),$(NOP),@echo)

# to check for strict C90 compatibility with gcc uncomment the following line:
#USR_CFLAGS += -std=c90 -Wpedantic -Wno-long-long -Wno-format

SEQ_RELEASE = 2.2.9
