~ubuntu-branches/ubuntu/quantal/gconf/quantal

« back to all changes in this revision

Viewing changes to backends/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Josselin Mouette
  • Date: 2007-11-01 18:47:26 UTC
  • mto: (7.1.1 lenny) (1.2.1) (76.1.1 oneiric-proposed)
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: james.westby@ubuntu.com-20071101184726-e3e4cxfcp41tz6ui
Tags: upstream-2.20.1
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
INCLUDES= -I$(top_srcdir) -I$(top_builddir) -I$(top_builddir)/gconf \
2
 
        $(GLIB_CFLAGS) $(OAF_CFLAGS) $(ORBIT_CFLAGS) $(XML_CFLAGS) \
 
2
        $(DEPENDENT_WITH_XML_CFLAGS) \
3
3
        -DGCONF_ENABLE_INTERNALS=1 -DG_LOG_DOMAIN=\"GConf-Backends\"
4
4
 
5
 
EXTRA_DIST=README.bdb
6
 
 
7
5
backenddir = $(pkglibdir)/$(MAJOR_VERSION)
8
6
 
9
 
if BDB
10
 
BDBBACKEND=libgconfbackend-bdb.la
11
 
else
12
 
BDBBACKEND=
 
7
if LDAP_SUPPORT
 
8
EVOLDAP_BACKEND = libgconfbackend-evoldap.la
13
9
endif
14
10
 
15
 
backend_LTLIBRARIES = libgconfbackend-xml.la $(BDBBACKEND)
 
11
backend_LTLIBRARIES = libgconfbackend-xml.la libgconfbackend-oldxml.la $(EVOLDAP_BACKEND)
16
12
 
17
 
libgconfbackend_xml_la_SOURCES = \
 
13
libgconfbackend_oldxml_la_SOURCES = \
18
14
        xml-cache.h             \
19
15
        xml-cache.c             \
20
16
        xml-dir.h               \
23
19
        xml-entry.c             \
24
20
        xml-backend.c
25
21
 
26
 
libgconfbackend_xml_la_LDFLAGS = -avoid-version -module
27
 
libgconfbackend_xml_la_LIBADD  = $(GLIB_LIBS) $(XML_LIBS)
28
 
 
29
 
libgconfbackend_bdb_la_SOURCES = bdb.c bdb.h bdb-backend.c val-encode.c val-encode.h dir-utils.c dir-utils.h
30
 
 
31
 
 
32
 
libgconfbackend_bdb_la_LDFLAGS = -avoid-version -module
33
 
libgconfbackend_bdb_la_LIBADD = $(GLIB_LIBS) $(BDB_LIBS)
 
22
libgconfbackend_oldxml_la_LDFLAGS = -avoid-version -module -no-undefined
 
23
libgconfbackend_oldxml_la_LIBADD  = $(DEPENDENT_WITH_XML_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la $(INTLLIBS)
 
24
 
 
25
libgconfbackend_xml_la_SOURCES =        \
 
26
        markup-backend.c                \
 
27
        markup-tree.h                   \
 
28
        markup-tree.c
 
29
 
 
30
libgconfbackend_xml_la_LDFLAGS = -avoid-version -module -no-undefined
 
31
libgconfbackend_xml_la_LIBADD  = $(DEPENDENT_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la $(INTLLIBS)
 
32
 
 
33
noinst_PROGRAMS = xml-test
 
34
 
 
35
xml_test_SOURCES= xml-test.c
 
36
xml_test_LDADD = \
 
37
        $(DEPENDENT_WITH_XML_LIBS) \
 
38
        $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la \
 
39
        libgconfbackend-oldxml.la
 
40
 
 
41
bin_PROGRAMS = gconf-merge-tree
 
42
gconf_merge_tree_SOURCES = gconf-merge-tree.c
 
43
gconf_merge_tree_LDADD = $(DEPENDENT_LIBS) $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la
 
44
 
 
45
if LDAP_SUPPORT
 
46
libgconfbackend_evoldap_la_SOURCES = evoldap-backend.c
 
47
libgconfbackend_evoldap_la_LDFLAGS = -avoid-version -module -no-undefined
 
48
libgconfbackend_evoldap_la_LIBADD  = \
 
49
        $(DEPENDENT_WITH_XML_LIBS) \
 
50
        $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la \
 
51
        $(INTLLIBS) \
 
52
        $(LDAP_LIBS)
 
53
 
 
54
backendconfdir   = $(sysconfdir)/gconf/2
 
55
backendconf_DATA = evoldap.conf
 
56
 
 
57
schemadir   = $(pkgdatadir)/schema
 
58
schema_DATA = evoldap.schema
 
59
endif
 
60
 
 
61
EXTRA_DIST =            \
 
62
        README.evoldap  \
 
63
        evoldap.conf    \
 
64
        evoldap.schema