File tree Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Expand file tree Collapse file tree 2 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,6 @@ include $(BASEDIR)/make/tools.mk
37
37
include $(BASEDIR ) /modules.mk
38
38
include $(BASEDIR ) /dependencies.mk
39
39
40
- # Definitions
41
- ifeq ($(PLATFORM ) ,Windows)
42
- PREFIX := $(BASEDIR ) /INSTALL
43
- ETCDIR := $(BASEDIR ) /etc
44
- else
45
- PREFIX := /usr/local
46
- ETCDIR := /etc
47
- endif
48
-
49
40
ifeq ($(DEVEL ) ,1)
50
41
X_URL_SUFFIX = _RW
51
42
else
Original file line number Diff line number Diff line change 18
18
# along with lsp-r3d-base-lib. If not, see <https://www.gnu.org/licenses/>.
19
19
#
20
20
21
+ # Installation prefix
22
+ ifndef PREFIX
23
+ ifeq ($(PLATFORM),Windows)
24
+ PREFIX := $(BASEDIR ) /INSTALL
25
+ else
26
+ PREFIX := /usr/local
27
+ endif
28
+ endif
29
+
30
+ # Path to configuration
31
+ ifndef ETCDIR
32
+ ifeq ($(PLATFORM),Windows)
33
+ ETCDIR := $(PREFIX ) /etc
34
+ else
35
+ ETCDIR := /etc
36
+ endif
37
+ endif
38
+
21
39
LIBDIR := $(PREFIX ) /lib
22
40
BINDIR := $(PREFIX ) /bin
23
41
SHAREDDIR := $(PREFIX ) /share
@@ -28,15 +46,6 @@ HOST_BUILDDIR := $(BUILDDIR)/host
28
46
MODULES := $(BASEDIR ) /modules
29
47
CONFIG := $(BASEDIR ) /.config.mk
30
48
31
- # Installation prefix
32
- ifndef PREFIX
33
- ifeq ($(PLATFORM),Windows)
34
- PREFIX := $(ProgramFiles )
35
- else
36
- PREFIX := /usr/local
37
- endif
38
- endif
39
-
40
49
# Library prefix
41
50
ifndef LIBDIR
42
51
LIBDIR := $(PREFIX ) /lib
You can’t perform that action at this time.
0 commit comments