summaryrefslogtreecommitdiff
path: root/backends/Makefile.am
blob: e184c060d2b41965b6e44f514f600ce0609072d8 (plain)
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
62
63
64
65
INCLUDES= -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/gconf \
	$(DEPENDENT_WITH_XML_CFLAGS) \
	$(DEPENDENT_ORBIT_CFLAGS) \
	-DGCONF_ENABLE_INTERNALS=1 -DG_LOG_DOMAIN=\"GConf-Backends\"

backenddir = $(pkglibdir)/$(MAJOR_VERSION)

if LDAP_SUPPORT
EVOLDAP_BACKEND = libgconfbackend-evoldap.la
endif

backend_LTLIBRARIES = libgconfbackend-xml.la libgconfbackend-oldxml.la $(EVOLDAP_BACKEND)

libgconfbackend_oldxml_la_SOURCES = \
	xml-cache.h		\
	xml-cache.c		\
	xml-dir.h		\
	xml-dir.c		\
	xml-entry.h		\
	xml-entry.c		\
	xml-backend.c

libgconfbackend_oldxml_la_LDFLAGS = -avoid-version -module -no-undefined
libgconfbackend_oldxml_la_LIBADD  = $(DEPENDENT_WITH_XML_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la $(INTLLIBS)

libgconfbackend_xml_la_SOURCES = 	\
	markup-backend.c		\
	markup-tree.h			\
	markup-tree.c

libgconfbackend_xml_la_LDFLAGS = -avoid-version -module -no-undefined
libgconfbackend_xml_la_LIBADD  = $(DEPENDENT_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la $(INTLLIBS)

noinst_PROGRAMS = xml-test

xml_test_SOURCES= xml-test.c
xml_test_LDADD = \
	$(DEPENDENT_WITH_XML_LIBS) \
	$(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la \
	libgconfbackend-oldxml.la

bin_PROGRAMS = gconf-merge-tree
gconf_merge_tree_SOURCES = gconf-merge-tree.c
gconf_merge_tree_LDADD = $(DEPENDENT_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la

if LDAP_SUPPORT
libgconfbackend_evoldap_la_SOURCES = evoldap-backend.c
libgconfbackend_evoldap_la_LDFLAGS = -avoid-version -module -no-undefined
libgconfbackend_evoldap_la_LIBADD  = \
	$(DEPENDENT_WITH_XML_LIBS) \
	$(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la \
	$(INTLLIBS) \
	$(LDAP_LIBS)

backendconfdir   = $(sysconfdir)/gconf/2
backendconf_DATA = evoldap.conf

schemadir   = $(pkgdatadir)/schema
schema_DATA = evoldap.schema
endif

EXTRA_DIST =		\
	README.evoldap	\
	evoldap.conf	\
	evoldap.schema