From f45a83693a74742839a5570bcc62192e934df830 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 Aug 2012 22:49:14 +0200 Subject: added a local amalgamation version of sqlite3 --- sqlite3/GNUmakefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 sqlite3/GNUmakefile (limited to 'sqlite3/GNUmakefile') 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: -- cgit v1.2.3-54-g00ecf