From 3a7acdf1d8b6d46b28aa748c6df84f3866d6d6f3 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 18 Mar 2011 14:33:11 +0200 Subject: Add import stub for libsqlite --- libsqlite/rules.make | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libsqlite/rules.make (limited to 'libsqlite/rules.make') diff --git a/libsqlite/rules.make b/libsqlite/rules.make new file mode 100644 index 0000000..4bc279b --- /dev/null +++ b/libsqlite/rules.make @@ -0,0 +1,29 @@ +# file : build/import/libsqlite/rules.make +# author : Boris Kolpackov +# copyright : Copyright (c) 2009-2011 Boris Kolpackov +# license : GNU GPL v2; see accompanying LICENSE file + +$(dcf_root)/import/libsqlite/%: root := $(libsqlite_root) + +ifeq ($(libsqlite_type),archive) + +$(dcf_root)/import/libsqlite/sqlite.l: $(libsqlite_root)/.libs/libsqlite3.a + @echo $< >$@ +else + +$(dcf_root)/import/libsqlite/sqlite.l: $(libsqlite_root)/.libs/libsqlite3.so + @echo $< >$@ + @echo rpath:$(root) >>$@ +endif + +$(dcf_root)/import/libsqlite/sqlite.l.cpp-options: + @echo include: -I$(root) >$@ + +ifndef %foreign% + +disfigure:: + $(call message,rm $(dcf_root)/import/libsqlite/sqlite.l,\ +rm -f $(dcf_root)/import/libsqlite/sqlite.l) + $(call message,,rm -f $(dcf_root)/import/libsqlite/sqlite.l.cpp-options) + +endif -- cgit v1.1