New file
This commit is contained in:
29
iocs/andorIOC/configure/CONFIG
Executable file
29
iocs/andorIOC/configure/CONFIG
Executable file
@@ -0,0 +1,29 @@
|
||||
# CONFIG - Load build configuration data
|
||||
#
|
||||
# Do not make changes to this file!
|
||||
|
||||
# Allow user to override where the build rules come from
|
||||
RULES = $(EPICS_BASE)
|
||||
|
||||
# RELEASE files point to other application tops
|
||||
include $(TOP)/configure/RELEASE
|
||||
-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 = $(RULES)/configure
|
||||
include $(CONFIG)/CONFIG
|
||||
|
||||
# Override the Base definition:
|
||||
INSTALL_LOCATION = $(TOP)
|
||||
|
||||
# CONFIG_SITE files contain other build configuration settings
|
||||
include $(TOP)/configure/CONFIG_SITE
|
||||
-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)
|
||||
endif
|
||||
|
||||
42
iocs/andorIOC/configure/CONFIG_SITE
Normal file
42
iocs/andorIOC/configure/CONFIG_SITE
Normal file
@@ -0,0 +1,42 @@
|
||||
# CONFIG_SITE
|
||||
|
||||
# Make any application-specific changes to the EPICS build
|
||||
# configuration variables in this file.
|
||||
#
|
||||
# Host/target specific settings can be specified in files named
|
||||
# CONFIG_SITE.$(EPICS_HOST_ARCH).Common
|
||||
# CONFIG_SITE.Common.$(T_A)
|
||||
# CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
|
||||
|
||||
# CHECK_RELEASE controls the consistency checking of the support
|
||||
# applications pointed to by the RELEASE* files.
|
||||
# Normally CHECK_RELEASE should be set to YES.
|
||||
# Set CHECK_RELEASE to NO to disable checking completely.
|
||||
# Set CHECK_RELEASE to WARN to perform consistency checking but
|
||||
# continue building anyway if conflicts are found.
|
||||
CHECK_RELEASE = YES
|
||||
|
||||
# Set this when you only want to compile this application
|
||||
# for a subset of the cross-compiled target architectures
|
||||
# that Base is built for.
|
||||
#CROSS_COMPILER_TARGET_ARCHS = vxWorks-68040
|
||||
|
||||
# To install files into a location other than $(TOP) define
|
||||
# INSTALL_LOCATION here.
|
||||
#INSTALL_LOCATION=</path/name/to/install/top>
|
||||
|
||||
# Set this when your IOC and the host use different paths
|
||||
# to access the application. This will be needed to boot
|
||||
# from a Microsoft FTP server or with some NFS mounts.
|
||||
# You must rebuild in the iocBoot directory for this to
|
||||
# take effect.
|
||||
#IOCS_APPL_TOP = </IOC/path/to/application/top>
|
||||
|
||||
# Get settings from AREA_DETECTOR, so we only have to configure once for all detectors if we want to
|
||||
-include $(AREA_DETECTOR)/configure/CONFIG_SITE
|
||||
-include $(AREA_DETECTOR)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH)
|
||||
-include $(AREA_DETECTOR)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
|
||||
ifdef T_A
|
||||
-include $(AREA_DETECTOR)/configure/CONFIG_SITE.Common.$(T_A)
|
||||
-include $(AREA_DETECTOR)/configure/CONFIG_SITE.$(EPICS_HOST_ARCH).$(T_A)
|
||||
endif
|
||||
7
iocs/andorIOC/configure/CONFIG_SITE.Common.linux-x86
Normal file
7
iocs/andorIOC/configure/CONFIG_SITE.Common.linux-x86
Normal file
@@ -0,0 +1,7 @@
|
||||
# There is a problem when building dynamically on our linux-x86 system, due to functions called in PvAPI.a.
|
||||
|
||||
# These can be fixed either by building statically with this line:
|
||||
#STATIC_BUILD=YES
|
||||
# Or by building dynamically with this line:
|
||||
PROD_SYS_LIBS += pthread rt
|
||||
|
||||
8
iocs/andorIOC/configure/Makefile
Normal file
8
iocs/andorIOC/configure/Makefile
Normal file
@@ -0,0 +1,8 @@
|
||||
TOP=..
|
||||
|
||||
include $(TOP)/configure/CONFIG
|
||||
|
||||
TARGETS = $(CONFIG_TARGETS)
|
||||
CONFIGS += $(subst ../,,$(wildcard $(CONFIG_INSTALLS)))
|
||||
|
||||
include $(TOP)/configure/RULES
|
||||
12
iocs/andorIOC/configure/RELEASE
Normal file
12
iocs/andorIOC/configure/RELEASE
Normal file
@@ -0,0 +1,12 @@
|
||||
#RELEASE Location of external products
|
||||
# Run "gnumake clean uninstall install" in the application
|
||||
# top directory each time this file is changed.
|
||||
|
||||
ADANDOR=$(AREA_DETECTOR)/ADAndor
|
||||
|
||||
-include $(TOP)/../../../RELEASE_PATHS.local
|
||||
-include $(TOP)/../../../RELEASE_PATHS.local.$(EPICS_HOST_ARCH)
|
||||
-include $(TOP)/../../../RELEASE_PRODS.local
|
||||
-include $(TOP)/RELEASE.local
|
||||
-include $(TOP)/configure/RELEASE.local
|
||||
|
||||
6
iocs/andorIOC/configure/RULES
Normal file
6
iocs/andorIOC/configure/RULES
Normal file
@@ -0,0 +1,6 @@
|
||||
# RULES
|
||||
|
||||
include $(CONFIG)/RULES
|
||||
|
||||
# Library should be rebuilt because LIBOBJS may have changed.
|
||||
$(LIBNAME): ../Makefile
|
||||
2
iocs/andorIOC/configure/RULES.ioc
Normal file
2
iocs/andorIOC/configure/RULES.ioc
Normal file
@@ -0,0 +1,2 @@
|
||||
#RULES.ioc
|
||||
include $(CONFIG)/RULES.ioc
|
||||
2
iocs/andorIOC/configure/RULES_DIRS
Normal file
2
iocs/andorIOC/configure/RULES_DIRS
Normal file
@@ -0,0 +1,2 @@
|
||||
#RULES_DIRS
|
||||
include $(CONFIG)/RULES_DIRS
|
||||
3
iocs/andorIOC/configure/RULES_TOP
Normal file
3
iocs/andorIOC/configure/RULES_TOP
Normal file
@@ -0,0 +1,3 @@
|
||||
#RULES_TOP
|
||||
include $(CONFIG)/RULES_TOP
|
||||
|
||||
Reference in New Issue
Block a user