summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-23 16:00:09 -0400
committermidipix <writeonce@midipix.org>2016-04-23 16:15:45 -0400
commitbdd4bb0854237b9910417e7eed848866b2897686 (patch)
tree533bb0bdd5529603076313d50c0d99fc3c6ed574
parent55cd8b050dd78aad23479ec9f4dbb3c2c9748d5c (diff)
downloadsofort-bdd4bb0854237b9910417e7eed848866b2897686.tar.bz2
sofort-bdd4bb0854237b9910417e7eed848866b2897686.tar.xz
build system: add support of project-specific install steps.
-rw-r--r--Makefile.in10
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in
index 7671b87..2b888d2 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -60,7 +60,9 @@ install:
shared:
static:
-
+install-extras:
+install-app-extras:
+install-libs-extras:
include $(PROJECT_DIR)/sysinfo/host/$(HOST).mk
include $(PROJECT_DIR)/sysinfo/compiler/$(COMPILER).mk
@@ -97,12 +99,12 @@ lib/%$(OS_ARCHIVE_EXT):
all: shared static app
-install: install-libs install-headers install-app
+install: install-libs install-headers install-app install-extras
app: default-app
-install-libs: install-shared install-static install-implib
+install-libs: install-shared install-static install-implib install-libs-extras
install-headers:shared static
mkdir -p $(DESTDIR)$(INCLUDEDIR)/$(PACKAGE)
@@ -116,7 +118,7 @@ install-static: static
mkdir -p $(DESTDIR)$(LIBDIR)
cp $(STATIC_LIB) $(DESTDIR)$(LIBDIR)
-install-app: app
+install-app: app install-app-extras
mkdir -p $(DESTDIR)$(BINDIR)
cp $(APP) $(DESTDIR)$(BINDIR)