[libgda/LIBGDA_4.2] "make -j x" correction



commit fdcb28aae455a86d3456e583912a14cad0f66937
Author: Vivien Malerba <malerba gnome-db org>
Date:   Thu May 19 20:46:30 2011 +0200

    "make -j x" correction

 providers/sqlcipher/Makefile.am |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/providers/sqlcipher/Makefile.am b/providers/sqlcipher/Makefile.am
index 6fb9a3d..6be6caf 100644
--- a/providers/sqlcipher/Makefile.am
+++ b/providers/sqlcipher/Makefile.am
@@ -12,9 +12,16 @@ AM_CPPFLAGS = \
 	$(sqliteinc) \
 	-DSQLITE_HAS_CODEC -DSQLITE_API= -DSQLITE_PRIVATE= -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_THREADSAFE=1 -DSQLITE_OMIT_LOAD_EXTENSION=1
 
+
 sqlite_sources = sqlite3.c sqlite3.h
-$(sqlite_sources): $(srcdir)/sqlcipher.patch $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.c $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.h
-	(cp $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.c sqlite3.c && cp $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.h sqlite3.h && patch -p0 < $(srcdir)/sqlcipher.patch)
+sqlite3.c: $(srcdir)/sqlcipher.patch $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.c
+	cp $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.c sqlite3.c
+	patch -p0 < $(srcdir)/sqlcipher.patch
+
+sqlite3.h: $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.h
+	cp $(top_srcdir)/libgda/sqlite/sqlite-src/sqlite3.h sqlite3.h
+
+libmain.lo: sqlite3.h
 
 libgda_sqlcipher_la_SOURCES = \
 	$(sqlite_sources) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]