diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-08-04 22:49:14 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-08-04 22:49:14 +0200 |
commit | f45a83693a74742839a5570bcc62192e934df830 (patch) | |
tree | a119681d0991d6a7f1085c3d3ac142fc5faa0ed0 /sqlite3/GNUmakefile | |
parent | d78ee0aaa1f4bb4aebfee974d15a3ca65bce2467 (diff) | |
download | crawler-f45a83693a74742839a5570bcc62192e934df830.tar.gz crawler-f45a83693a74742839a5570bcc62192e934df830.tar.bz2 |
added a local amalgamation version of sqlite3
Diffstat (limited to 'sqlite3/GNUmakefile')
-rw-r--r-- | sqlite3/GNUmakefile | 31 |
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: |