Do not use upper level configure and do not install to upper level any more. Drops backward compatibility to Stream 2.7
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,3 +7,4 @@ include
|
|||||||
*.pdf
|
*.pdf
|
||||||
*.*log
|
*.*log
|
||||||
StreamVersion.h
|
StreamVersion.h
|
||||||
|
*.local
|
||||||
|
19
Makefile
19
Makefile
@ -21,21 +21,10 @@
|
|||||||
# along with StreamDevice. If not, see https://www.gnu.org/licenses/.
|
# along with StreamDevice. If not, see https://www.gnu.org/licenses/.
|
||||||
#########################################################################/
|
#########################################################################/
|
||||||
|
|
||||||
TOP = ..
|
TOP = .
|
||||||
ifneq ($(wildcard ../configure),)
|
DIRS = configure
|
||||||
# We are in an EPICS R3.14+ <TOP> location
|
src_DEPEND_DIRS := $(DIRS)
|
||||||
include $(TOP)/configure/CONFIG
|
include $(TOP)/configure/CONFIG
|
||||||
else ifneq ($(wildcard ../config),)
|
|
||||||
# We are in an EPICS R3.13 <TOP> location
|
|
||||||
CONFIG = $(TOP)/config
|
|
||||||
include $(TOP)/config/CONFIG_APP
|
|
||||||
else
|
|
||||||
# Using our own local configuration
|
|
||||||
TOP = .
|
|
||||||
DIRS = configure
|
|
||||||
src_DEPEND_DIRS := $(DIRS)
|
|
||||||
include $(TOP)/configure/CONFIG
|
|
||||||
endif
|
|
||||||
|
|
||||||
DIRS += src
|
DIRS += src
|
||||||
DIRS += streamApp
|
DIRS += streamApp
|
||||||
|
@ -54,15 +54,17 @@ git clone https://github.com/paulscherrerinstitute/StreamDevice.git
|
|||||||
<p class="new">
|
<p class="new">
|
||||||
<em>StreamDevice</em> now comes with a standard
|
<em>StreamDevice</em> now comes with a standard
|
||||||
<kbd>configure</kbd> directory.
|
<kbd>configure</kbd> directory.
|
||||||
But it can still be built in an external <em><top></em>
|
<del>But it can still be built in an external <em><top></em>
|
||||||
directory as in previous versions.
|
directory as in previous versions.
|
||||||
It will automatically detect <em><top></em> locations
|
It will automatically detect <em><top></em> locations
|
||||||
from the presence of <kbd>../configure</kbd> or <kbd>../config</kbd>
|
from the presence of <kbd>../configure</kbd> or <kbd>../config</kbd>
|
||||||
directories.
|
directories.</del> Using an upper level <kbd>../configure</kbd> is
|
||||||
|
no longer supported due to compatibility issues with <em>SynApps</em>.
|
||||||
</p>
|
</p>
|
||||||
<p class="new">
|
<p class="new">
|
||||||
Edit the <kbd>configure/RELEASE</kbd> file to specify the install location
|
Edit the <kbd>configure/RELEASE</kbd> file to specify the install location
|
||||||
of EPICS base and of additional software modules, for example:
|
of EPICS base and of additional software modules or add a
|
||||||
|
<kbd>configure/RELEASE.local</kbd> file to overwrite, for example:
|
||||||
<pre>
|
<pre>
|
||||||
EPICS_BASE=/home/epics/base-3.16.1
|
EPICS_BASE=/home/epics/base-3.16.1
|
||||||
</pre>
|
</pre>
|
||||||
|
12
src/Makefile
12
src/Makefile
@ -21,16 +21,8 @@
|
|||||||
# along with StreamDevice. If not, see https://www.gnu.org/licenses/.
|
# along with StreamDevice. If not, see https://www.gnu.org/licenses/.
|
||||||
#########################################################################/
|
#########################################################################/
|
||||||
|
|
||||||
TOP = ../..
|
TOP= ..
|
||||||
ifneq ($(wildcard ../../configure),)
|
include $(TOP)/configure/CONFIG
|
||||||
include $(TOP)/configure/CONFIG
|
|
||||||
else ifneq ($(wildcard ../../config),)
|
|
||||||
include $(TOP)/config/CONFIG_APP
|
|
||||||
include $(TOP)/config/RULES_ARCHS
|
|
||||||
else
|
|
||||||
TOP= ..
|
|
||||||
include $(TOP)/configure/CONFIG
|
|
||||||
endif
|
|
||||||
|
|
||||||
-include CONFIG_STREAM
|
-include CONFIG_STREAM
|
||||||
-include ../CONFIG_STREAM
|
-include ../CONFIG_STREAM
|
||||||
|
@ -21,16 +21,8 @@
|
|||||||
# along with StreamDevice. If not, see https://www.gnu.org/licenses/.
|
# along with StreamDevice. If not, see https://www.gnu.org/licenses/.
|
||||||
#########################################################################/
|
#########################################################################/
|
||||||
|
|
||||||
TOP = ../..
|
TOP= ..
|
||||||
ifneq ($(wildcard ../../configure),)
|
include $(TOP)/configure/CONFIG
|
||||||
include $(TOP)/configure/CONFIG
|
|
||||||
else ifneq ($(wildcard ../../config),)
|
|
||||||
include $(TOP)/config/CONFIG_APP
|
|
||||||
include $(TOP)/config/RULES_ARCHS
|
|
||||||
else
|
|
||||||
TOP= ..
|
|
||||||
include $(TOP)/configure/CONFIG
|
|
||||||
endif
|
|
||||||
|
|
||||||
PROD = streamApp
|
PROD = streamApp
|
||||||
DBD = streamApp.dbd
|
DBD = streamApp.dbd
|
||||||
|
Reference in New Issue
Block a user