Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
de252364
Commit
de252364
authored
Dec 05, 2015
by
Matthias Braun
Browse files
Respect DESTDIR and PREFIX in install target
parent
34052d2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
de252364
...
...
@@ -179,14 +179,15 @@ clean:
.PHONY
:
install
PREFIX
?=
/usr/local
INSTALL
?=
install
INSTALLPREFIX
=
$(DESTDIR)$(PREFIX)
install
:
$(libfirm_a)
install
-d
"
$(PREFIX)
/include/libfirm"
install
-m0644
include/libfirm/
*
.h
"
$(PREFIX)
/include/libfirm"
install
-m0644
"
$(gendir)
"
/include/libfirm/
*
.h
"
$(PREFIX)
/include/libfirm"
install
-d
"
$(PREFIX)
/include/libfirm/adt"
install
-m0644
include/libfirm/adt/
*
.h
"
$(PREFIX)
/include/libfirm/adt"
install
-d
"
$(PREFIX)
/lib"
install
-m0644
$<
"
$(PREFIX)
/lib"
install
-d
"
$(
INSTALL
PREFIX)
/include/libfirm"
install
-m0644
include/libfirm/
*
.h
"
$(
INSTALL
PREFIX)
/include/libfirm"
install
-m0644
"
$(gendir)
"
/include/libfirm/
*
.h
"
$(
INSTALL
PREFIX)
/include/libfirm"
install
-d
"
$(
INSTALL
PREFIX)
/include/libfirm/adt"
install
-m0644
include/libfirm/adt/
*
.h
"
$(
INSTALL
PREFIX)
/include/libfirm/adt"
install
-d
"
$(
INSTALL
PREFIX)
/lib"
install
-m0644
$<
"
$(
INSTALL
PREFIX)
/lib"
# Ensure all output directories are created
UNUSED1
:=
$(
shell
mkdir
-p
$(libfirm_BUILDDIRS)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment