Author: jelmer
Date: 2005-04-26 10:58:54 +0000 (Tue, 26 Apr 2005)
New Revision: 6486

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6486

Log:
Add 'make install' and pkg-config file.

Added:
   branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in
Modified:
   branches/SAMBA_4_0/source/lib/ldb/Makefile.in
   branches/SAMBA_4_0/source/lib/ldb/configure.in


Changeset:
Modified: branches/SAMBA_4_0/source/lib/ldb/Makefile.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/Makefile.in       2005-04-26 09:02:00 UTC 
(rev 6485)
+++ branches/SAMBA_4_0/source/lib/ldb/Makefile.in       2005-04-26 10:58:54 UTC 
(rev 6486)
@@ -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: 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

Modified: branches/SAMBA_4_0/source/lib/ldb/configure.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/configure.in      2005-04-26 09:02:00 UTC 
(rev 6485)
+++ branches/SAMBA_4_0/source/lib/ldb/configure.in      2005-04-26 10:58:54 UTC 
(rev 6486)
@@ -7,4 +7,4 @@
 AC_PATH_PROG(GCOV,gcov)
 sinclude(ldap.m4)
 sinclude(config.m4)
-AC_OUTPUT(Makefile)
+AC_OUTPUT(Makefile ldb.pc)

Added: branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in
===================================================================
--- branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in 2005-04-26 09:02:00 UTC (rev 
6485)
+++ branches/SAMBA_4_0/source/lib/ldb/ldb.pc.in 2005-04-26 10:58:54 UTC (rev 
6486)
@@ -0,0 +1,10 @@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
[EMAIL PROTECTED]@
+
+Name: ldb
+Description: An LDAP-like embedded database
+Version: 4.0
+Libs: @LIBS@ -L${libdir} -lldb
+Cflags: -I${includedir} @CFLAGS@

Reply via email to