Lines 1-5
Link Here
|
1 |
--- GNUmakefile.orig 2021-05-09 00:11:57 UTC |
1 |
--- GNUmakefile.orig 2021-10-13 09:17:02.000000000 -0700 |
2 |
+++ GNUmakefile |
2 |
+++ GNUmakefile 2021-10-21 14:35:08.340353000 -0700 |
3 |
@@ -13,7 +13,7 @@ |
3 |
@@ -13,7 +13,7 @@ |
4 |
# in README and source code (see src/options.h) if you do. |
4 |
# in README and source code (see src/options.h) if you do. |
5 |
# |
5 |
# |
Lines 9-32
Link Here
|
9 |
|
9 |
|
10 |
# install sandbox |
10 |
# install sandbox |
11 |
DESTDIR ?= |
11 |
DESTDIR ?= |
12 |
@@ -53,7 +53,7 @@ define uname2sosuffix |
12 |
@@ -54,7 +54,7 @@ |
13 |
*) echo so;; |
13 |
*) echo so;; |
14 |
esac |
14 |
esac |
15 |
endef |
15 |
endef |
16 |
-SO_SUFFIX := $(shell $(uname2sosuffix)) |
16 |
-SO_SUFFIX := $(shell $(uname2sosuffix)) |
17 |
+SO_SUFFIX := so.0.10.0 |
17 |
+SO_SUFFIX := so.0.11.2 |
18 |
HEADERS := mdbx.h mdbx.h++ |
18 |
HEADERS := mdbx.h mdbx.h++ |
19 |
LIBRARIES := libmdbx.a libmdbx.$(SO_SUFFIX) |
19 |
LIBRARIES := libmdbx.a libmdbx.$(SO_SUFFIX) |
20 |
TOOLS := mdbx_stat mdbx_copy mdbx_dump mdbx_load mdbx_chk mdbx_drop |
20 |
TOOLS := mdbx_stat mdbx_copy mdbx_dump mdbx_load mdbx_chk mdbx_drop |
21 |
@@ -194,11 +194,11 @@ mdbx_%: mdbx_%.c libmdbx.a |
21 |
@@ -209,16 +209,11 @@ |
22 |
|
22 |
|
23 |
install: $(LIBRARIES) $(TOOLS) $(HEADERS) |
23 |
install: $(LIBRARIES) $(TOOLS) $(HEADERS) |
24 |
@echo ' INSTALLING...' |
24 |
@echo ' INSTALLING...' |
25 |
- $(INSTALL) -D -p $(EXE_INSTALL_FLAGS) -t $(DESTDIR)$(prefix)/bin$(suffix) $(TOOLS) && \ |
25 |
- $(QUIET)mkdir -p $(DESTDIR)$(prefix)/bin$(suffix) && \ |
26 |
- $(INSTALL) -D -p $(EXE_INSTALL_FLAGS) -t $(DESTDIR)$(prefix)/lib$(suffix) $(filter-out libmdbx.a,$(LIBRARIES)) && \ |
26 |
- $(INSTALL) -p $(EXE_INSTALL_FLAGS) $(TOOLS) $(DESTDIR)$(prefix)/bin$(suffix)/ && \ |
27 |
- $(INSTALL) -D -p -t $(DESTDIR)$(prefix)/lib$(suffix) libmdbx.a && \ |
27 |
- mkdir -p $(DESTDIR)$(prefix)/lib$(suffix)/ && \ |
28 |
- $(INSTALL) -D -p -m 444 -t $(DESTDIR)$(prefix)/include $(HEADERS) && \ |
28 |
- $(INSTALL) -p $(EXE_INSTALL_FLAGS) $(filter-out libmdbx.a,$(LIBRARIES)) $(DESTDIR)$(prefix)/lib$(suffix)/ && \ |
29 |
- $(INSTALL) -D -p -m 444 -t $(DESTDIR)$(mandir)/man1 $(addprefix $(MAN_SRCDIR), $(MANPAGES)) |
29 |
- mkdir -p $(DESTDIR)$(prefix)/lib$(suffix)/ && \ |
|
|
30 |
- $(INSTALL) -p libmdbx.a $(DESTDIR)$(prefix)/lib$(suffix)/ && \ |
31 |
- mkdir -p $(DESTDIR)$(prefix)/include/ && \ |
32 |
- $(INSTALL) -p -m 444 $(HEADERS) $(DESTDIR)$(prefix)/include/ && \ |
33 |
- mkdir -p $(DESTDIR)$(mandir)/man1/ && \ |
34 |
- $(INSTALL) -p -m 444 $(addprefix $(MAN_SRCDIR), $(MANPAGES)) $(DESTDIR)$(mandir)/man1/ |
30 |
+ install -p -s $(TOOLS) $(DESTDIR)$(prefix)/bin$(suffix) && \ |
35 |
+ install -p -s $(TOOLS) $(DESTDIR)$(prefix)/bin$(suffix) && \ |
31 |
+ install -p -s $(filter-out libmdbx.a,$(LIBRARIES)) $(DESTDIR)$(prefix)/lib$(suffix) && \ |
36 |
+ install -p -s $(filter-out libmdbx.a,$(LIBRARIES)) $(DESTDIR)$(prefix)/lib$(suffix) && \ |
32 |
+ install -p libmdbx.a $(DESTDIR)$(prefix)/lib$(suffix) && \ |
37 |
+ install -p libmdbx.a $(DESTDIR)$(prefix)/lib$(suffix) && \ |