summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/Makefile.in
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-04-26 10:58:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:16:19 -0500
commit5d794389a02d2cf9060ce3ef861366bafb9fdf66 (patch)
tree3eb22c52d144864597a0836746bc1d77e0990ff7 /source4/lib/ldb/Makefile.in
parentd4bcee3d27974e48e94bae9d3908722596df3a62 (diff)
downloadsamba-5d794389a02d2cf9060ce3ef861366bafb9fdf66.tar.gz
samba-5d794389a02d2cf9060ce3ef861366bafb9fdf66.tar.bz2
samba-5d794389a02d2cf9060ce3ef861366bafb9fdf66.zip
r6486: Add 'make install' and pkg-config file.
(This used to be commit e3be094fb7b0c0fec50abcb4b242414e84a9a32d)
Diffstat (limited to 'source4/lib/ldb/Makefile.in')
-rw-r--r--source4/lib/ldb/Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/source4/lib/ldb/Makefile.in b/source4/lib/ldb/Makefile.in
index 88824f031d..8b5e66fd75 100644
--- a/source4/lib/ldb/Makefile.in
+++ b/source4/lib/ldb/Makefile.in
@@ -1,6 +1,11 @@
CC = @CC@
GCOV = @GCOV@
YODL2MAN = @YODL2MAN@
+prefix = @prefix@
+exec_prefix = @exec_prefix@
+includedir = @includedir@
+libdir = @libdir@
+bindir = @bindir@
ifeq ($(WITH_LDAP),1)
OPENLDAP_PREFIX=/usr
@@ -107,6 +112,12 @@ test-schema:
test: test-tdb test-ldap test-schema
+install: all
+ cp include/ldb.h $(includedir)
+ cp $(LDB_LIB) $(libdir)
+ cp $(BINS) $(bindir)
+ cp ldb.pc $(libdir)/pkgconfig
+
gcov:
$(GCOV) -po ldb_ldap ldb_ldap/*.c 2| tee ldb_ldap.report.gcov
$(GCOV) -po ldb_tdb ldb_tdb/*.c 2| tee ldb_tdb.report.gcov