summaryrefslogtreecommitdiff
path: root/sqlite3/GNUmakefile
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2012-08-04 22:49:14 +0200
committerAndreas Baumann <abaumann@yahoo.com>2012-08-04 22:49:14 +0200
commitf45a83693a74742839a5570bcc62192e934df830 (patch)
treea119681d0991d6a7f1085c3d3ac142fc5faa0ed0 /sqlite3/GNUmakefile
parentd78ee0aaa1f4bb4aebfee974d15a3ca65bce2467 (diff)
downloadcrawler-f45a83693a74742839a5570bcc62192e934df830.tar.gz
crawler-f45a83693a74742839a5570bcc62192e934df830.tar.bz2
added a local amalgamation version of sqlite3
Diffstat (limited to 'sqlite3/GNUmakefile')
-rw-r--r--sqlite3/GNUmakefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/sqlite3/GNUmakefile b/sqlite3/GNUmakefile
new file mode 100644
index 0000000..3aabf23
--- /dev/null
+++ b/sqlite3/GNUmakefile
@@ -0,0 +1,31 @@
+TOPDIR = ..
+
+SUBDIRS =
+
+-include $(TOPDIR)/makefiles/gmake/platform.mk
+
+LOCAL_STATIC_LIB_OBJS = \
+ sqlite3.o
+
+LOCAL_STATIC_LIB = \
+ libsqlite3.a
+
+-include $(TOPDIR)/makefiles/gmake/sub.mk
+
+# override all flags here, not just CFLAGS, compiler.mk
+# is geared towards C++ compatibility, Sqlite is strict C
+ALL_CFLAGS = -O3 -I. $(SO_COMPILE_FLAGS)
+
+$(LOCAL_STATIC_LIB): $(LOCAL_STATIC_LIB_OBJS)
+ ar rcs $(LOCAL_STATIC_LIB) $(LOCAL_STATIC_LIB_OBJS)
+
+local_all: $(LOCAL_STATIC_LIB)
+
+local_clean:
+ @rm -f $(LOCAL_STATIC_LIB) $(LOCAL_STATIC_LIB_OBJS)
+
+local_distclean:
+
+local_install:
+
+local_test: