Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HAMANO Tsukasa
OpenLDAP
Commits
45fe870c
Commit
45fe870c
authored
Dec 01, 2015
by
Howard Chu
Browse files
ITS#8169 more Makefile tweaks
Use all the same vars as main OpenLDAP makefiles
parent
50949b46
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/liblmdb/Makefile
View file @
45fe870c
...
@@ -27,7 +27,12 @@ CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
...
@@ -27,7 +27,12 @@ CFLAGS = $(THREADS) $(OPT) $(W) $(XCFLAGS)
LDLIBS
=
# -lntdll # Windows needs ntdll
LDLIBS
=
# -lntdll # Windows needs ntdll
SOLIBS
=
# -lntdll
SOLIBS
=
# -lntdll
prefix
=
/usr/local
prefix
=
/usr/local
mandir
=
$(prefix)
/man
exec_prefix
=
$(prefix)
bindir
=
$(exec_prefix)
/bin
libdir
=
$(exec_prefix)
/lib
includedir
=
$(prefix)
/include
datarootdir
=
$(prefix)
/share
mandir
=
$(datarootdir)
/man
########################################################################
########################################################################
...
@@ -39,13 +44,13 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5
...
@@ -39,13 +44,13 @@ PROGS = $(IPROGS) mtest mtest2 mtest3 mtest4 mtest5
all
:
$(ILIBS) $(PROGS)
all
:
$(ILIBS) $(PROGS)
install
:
$(ILIBS) $(IPROGS) $(IHDRS)
install
:
$(ILIBS) $(IPROGS) $(IHDRS)
mkdir
-p
$(DESTDIR)$(
prefix)
/bin
mkdir
-p
$(DESTDIR)$(
bindir)
mkdir
-p
$(DESTDIR)$(
prefix)
/lib
mkdir
-p
$(DESTDIR)$(
libdir)
mkdir
-p
$(DESTDIR)$(
prefix)
/
include
mkdir
-p
$(DESTDIR)$(include
dir)
mkdir
-p
$(DESTDIR)$(mandir)
/man1
mkdir
-p
$(DESTDIR)$(mandir)
/man1
for
f
in
$(IPROGS)
;
do
cp
$$
f
$(DESTDIR)$(
prefix)
/bin
;
done
for
f
in
$(IPROGS)
;
do
cp
$$
f
$(DESTDIR)$(
bindir)
;
done
for
f
in
$(ILIBS)
;
do
cp
$$
f
$(DESTDIR)$(
prefix)
/lib
;
done
for
f
in
$(ILIBS)
;
do
cp
$$
f
$(DESTDIR)$(
libdir)
;
done
for
f
in
$(IHDRS)
;
do
cp
$$
f
$(DESTDIR)$(
prefix)
/
include
;
done
for
f
in
$(IHDRS)
;
do
cp
$$
f
$(DESTDIR)$(include
dir)
;
done
for
f
in
$(IDOCS)
;
do
cp
$$
f
$(DESTDIR)$(mandir)
/man1
;
done
for
f
in
$(IDOCS)
;
do
cp
$$
f
$(DESTDIR)$(mandir)
/man1
;
done
clean
:
clean
:
...
...
Write
Preview
Supports
Markdown
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