File: Makefile.am

package info (click to toggle)
libgda5 5.2.10-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 76,168 kB
  • sloc: ansic: 495,319; xml: 10,486; yacc: 5,165; sh: 4,451; makefile: 4,095; php: 1,416; java: 1,300; javascript: 1,298; python: 896; sql: 879; perl: 116
file content (61 lines) | stat: -rw-r--r-- 1,818 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
providerdir=$(libdir)/libgda-$(GDA_ABI_MAJOR_VERSION).$(GDA_ABI_MINOR_VERSION)/providers
provider_LTLIBRARIES = libgda-sqlcipher.la

# We don't use $(COREDEPS_WFLAGS) because we use a copy of the sqlite sources,
# which we don't want to fix ourselves.
# TODO: Report sqlite warnings upstream so we can use warnings for the rest 
# of our source code here too. 
AM_CPPFLAGS = \
	-I$(top_srcdir) \
	-I$(top_srcdir)/libgda \
	-I$(top_srcdir)/libgda/sqlite \
	-I$(top_builddir) \
	$(COREDEPS_CFLAGS) \
	$(LIBCRYPTO_CFLAGS) \
	$(sqliteinc) \
	-DSQLITE_HAS_CODEC -DSQLITE_API= -DSQLITE_PRIVATE= -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_THREADSAFE=1


sqlite_sources = sqlite3.c sqlite3.h

libmain.lo: sqlite3.h

libgda_sqlcipher_la_SOURCES = \
	$(sqlite_sources) \
	libmain.c

libgda_sqlcipher_la_LDFLAGS = -export-dynamic -module -avoid-version $(NO_UNDEFINED) $(LIBTOOL_PROV_EXPORT_OPTIONS)
libgda_sqlcipher_la_LIBADD = \
	$(top_builddir)/libgda/sqlite/libgda-sqlcipher.la \
	$(top_builddir)/libgda/libgda-5.0.la \
	$(COREDEPS_LIBS) \
	$(LIBCRYPTO_LIBS)

xmldir   = $(datadir)/libgda-5.0
xml_in_files = \
	sqlcipher_specs_auth.xml.in \
	sqlcipher_specs_dsn.xml.in \
	sqlcipher_specs_create_db.xml.in \
	sqlcipher_specs_drop_db.xml.in \
	sqlcipher_specs_create_table.xml.in \
	sqlcipher_specs_drop_table.xml.in \
	sqlcipher_specs_create_index.xml.in \
	sqlcipher_specs_drop_index.xml.in \
	sqlcipher_specs_rename_table.xml.in \
	sqlcipher_specs_add_column.xml.in \
	sqlcipher_specs_create_view.xml.in \
	sqlcipher_specs_drop_view.xml.in

@INTLTOOL_XML_RULE@

xml_DATA = $(xml_in_files:.xml.in=.xml)

pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libgda-sqlcipher-5.0.pc

EXTRA_DIST = $(xml_in_files) \
	libgda-sqlcipher-5.0.pc.in \
	sqlite3.c sqlite3.h sqlite3ext.h \
	COPYING.sqlcipher

DISTCLEANFILES = $(xml_DATA)