summaryrefslogtreecommitdiffstats
path: root/third_party/heimdal/lib/sqlite/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/heimdal/lib/sqlite/Makefile.am')
-rw-r--r--third_party/heimdal/lib/sqlite/Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/heimdal/lib/sqlite/Makefile.am b/third_party/heimdal/lib/sqlite/Makefile.am
new file mode 100644
index 0000000..90c1ad9
--- /dev/null
+++ b/third_party/heimdal/lib/sqlite/Makefile.am
@@ -0,0 +1,20 @@
+# $Id$
+
+include $(top_srcdir)/Makefile.am.common
+
+if ENABLE_PTHREAD_SUPPORT
+AM_CPPFLAGS += -DSQLITE_THREADSAFE=1 -DSQLITE_DEFAULT_FILE_PERMISSIONS=0600
+endif
+
+AM_CPPFLAGS += -DSQLITE_WITHOUT_ZONEMALLOC=1
+WFLAGS =
+
+lib_LTLIBRARIES = libheimsqlite.la
+
+noinst_HEADERS = sqlite3.h sqlite3ext.h
+
+libheimsqlite_la_SOURCES = sqlite3.c
+
+libheimsqlite_la_LIBADD = $(PTHREAD_LIBADD)
+
+EXTRA_DIST = NTMakefile