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
2a94ebce
Commit
2a94ebce
authored
Nov 30, 2012
by
Howard Chu
Browse files
Add install target
parent
13f3bcd5
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libmdb/Makefile
View file @
2a94ebce
...
...
@@ -4,9 +4,18 @@ OPT = -O2 -g
CFLAGS
=
-pthread
$(OPT)
$(W)
$(XCFLAGS)
LDLIBS
=
SOLIBS
=
PROGS
=
mdb_stat mdb_copy mtest mtest2 mtest3 mtest4 mtest5
all
:
liblmdb.a liblmdb.so $(PROGS)
prefix
=
/usr/local
IHDRS
=
lmdb.h
ILIBS
=
liblmdb.a liblmdb.so
IPROGS
=
mdb_stat mdb_copy
PROGS
=
$(IPROGS)
mtest mtest2 mtest3 mtest4 mtest5
all
:
$(ILIBS) $(PROGS)
install
:
$(ILIBS) $(IPROGS) $(IHDRS)
cp
$(IPROGS)
$(prefix)
/bin
cp
$(ILIBS)
$(prefix)
/lib
cp
$(IHDRS)
$(prefix)
/include
clean
:
rm
-rf
$(PROGS)
*
.[ao]
*
.so
*
~ testdb
...
...
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