-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Applied patch to update Makefiles, RELEASE and CONFIG_SITE files
- Loading branch information
Showing
11 changed files
with
96 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Use settings from motor's CONFIG_SITE unless they are overridden below | ||
-include $(MOTOR)/configure/CONFIG_SITE | ||
|
||
# | ||
CHECK_RELEASE = WARN | ||
# | ||
#BUILD_IOCS = YES |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MOTOR= | ||
-include $(MOTOR)/configure/RELEASE | ||
# path to motorNewFocus is needed to build the IOC inside motorNewFocus, but outside motor | ||
MOTOR_NEWFOCUS= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,7 @@ | ||
# RELEASE - Location of external support modules | ||
# | ||
# IF YOU MAKE ANY CHANGES to this file you must subsequently | ||
# do a "gnumake rebuild" in this application's top level | ||
# directory. | ||
# | ||
# The build process does not check dependencies against files | ||
# that are outside this application, thus you should do a | ||
# "gnumake rebuild" in the top level directory after EPICS_BASE | ||
# or any other external module pointed to below is rebuilt. | ||
# | ||
# Host- or target-specific settings can be given in files named | ||
# RELEASE.$(EPICS_HOST_ARCH).Common | ||
# RELEASE.Common.$(T_A) | ||
# RELEASE.$(EPICS_HOST_ARCH).$(T_A) | ||
# | ||
# This file is parsed by both GNUmake and an EPICS Perl script, | ||
# so it can ONLY contain definititions of paths to other support | ||
# modules, variable definitions that are used in module paths, | ||
# and include statements that pull in other RELEASE files. | ||
# Variables may be used before their values have been set. | ||
# Build variables that are NOT used in paths should be set in | ||
# the CONFIG_SITE file. | ||
|
||
# Variables and paths to dependent modules: | ||
#MODULES = /path/to/modules | ||
#MYMODULE = $(MODULES)/my-module | ||
|
||
# If using the sequencer, point SNCSEQ at its top directory: | ||
#SNCSEQ = $(MODULES)/seq-ver | ||
|
||
# EPICS_BASE should appear last so earlier modules can override stuff: | ||
EPICS_BASE = /APSshare/epics/base-3.15.6 | ||
|
||
# Set RULES here if you want to use build rules from somewhere | ||
# other than EPICS_BASE: | ||
#RULES = $(MODULES)/build-rules | ||
|
||
# These allow developers to override the RELEASE variable settings | ||
# without having to modify the configure/RELEASE file itself. | ||
-include $(TOP)/../RELEASE.local | ||
# Use motor/module's generated release file when buidling inside motor | ||
-include $(TOP)/../RELEASE.$(EPICS_HOST_ARCH).local | ||
# Use motorNewFocus's RELEASE.local when building outside motor | ||
-include $(TOP)/configure/RELEASE.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
TOP = .. | ||
include $(TOP)/configure/CONFIG | ||
|
||
DIRS += newFocusIOC | ||
|
||
include $(TOP)/configure/RULES_TOP | ||
|
||
uninstallTargets = $(foreach dir, $(DIRS), $(dir)$(DIVIDER)uninstall) | ||
uninstall: $(uninstallTargets) | ||
define UNINSTALL_template | ||
$(1)$(DIVIDER)uninstall: | ||
$(MAKE) -C $(1) uninstall | ||
endef | ||
$(foreach dir, $(DIRS), $(eval $(call UNINSTALL_template,$(dir)))) | ||
.PHONY: uninstall $(uninstallTargets) | ||
|
||
realuninstallTargets = $(foreach dir, $(DIRS), $(dir)$(DIVIDER)realuninstall) | ||
realuninstall: $(realuninstallTargets) | ||
define REALUNINSTALL_template | ||
$(1)$(DIVIDER)realuninstall: | ||
$(MAKE) -C $(1) realuninstall | ||
endef | ||
$(foreach dir, $(DIRS), $(eval $(call REALUNINSTALL_template,$(dir)))) | ||
.PHONY: realuninstall $(realuninstallTargets) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Use settings from motor's CONFIG_SITE unless they are overridden below | ||
-include $(MOTOR)/configure/CONFIG_SITE | ||
|
||
# | ||
CHECK_RELEASE = WARN | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# Use the following lines if motorNewFocus was built inside motor | ||
MOTOR= | ||
-include $(MOTOR)/configure/RELEASE | ||
# Use the following lines if motorNewFocus was built outside motor | ||
#!MOTOR_NEWFOCUS= | ||
#!-include $(MOTOR_NEWFOCUS)/configure/RELEASE.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,8 @@ | ||
# RELEASE - Location of external support modules | ||
# | ||
# IF YOU MAKE ANY CHANGES to this file you must subsequently | ||
# do a "gnumake rebuild" in this application's top level | ||
# directory. | ||
# | ||
# The build process does not check dependencies against files | ||
# that are outside this application, thus you should do a | ||
# "gnumake rebuild" in the top level directory after EPICS_BASE | ||
# or any other external module pointed to below is rebuilt. | ||
# | ||
# Host- or target-specific settings can be given in files named | ||
# RELEASE.$(EPICS_HOST_ARCH).Common | ||
# RELEASE.Common.$(T_A) | ||
# RELEASE.$(EPICS_HOST_ARCH).$(T_A) | ||
# | ||
# This file is parsed by both GNUmake and an EPICS Perl script, | ||
# so it can ONLY contain definititions of paths to other support | ||
# modules, variable definitions that are used in module paths, | ||
# and include statements that pull in other RELEASE files. | ||
# Variables may be used before their values have been set. | ||
# Build variables that are NOT used in paths should be set in | ||
# the CONFIG_SITE file. | ||
|
||
# Variables and paths to dependent modules: | ||
#MODULES = /path/to/modules | ||
#MYMODULE = $(MODULES)/my-module | ||
|
||
# If using the sequencer, point SNCSEQ at its top directory: | ||
#SNCSEQ = $(MODULES)/seq-ver | ||
|
||
# EPICS_BASE should appear last so earlier modules can override stuff: | ||
EPICS_BASE = /APSshare/epics/base-3.15.6 | ||
|
||
# Set RULES here if you want to use build rules from somewhere | ||
# other than EPICS_BASE: | ||
#RULES = $(MODULES)/build-rules | ||
|
||
# These allow developers to override the RELEASE variable settings | ||
# without having to modify the configure/RELEASE file itself. | ||
-include $(TOP)/../RELEASE.local | ||
# Use motor/module's generated release file when buidling inside motor | ||
-include $(TOP)/../../../RELEASE.$(EPICS_HOST_ARCH).local | ||
# Use motorNewFocus's release file when building inside motorNewFocus, but outside motor | ||
-include $(TOP)/../../configure/RELEASE.local | ||
# Use newFocusIOC's RELEASE.local when building outside motorNewFocus | ||
-include $(TOP)/configure/RELEASE.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters