~ubuntu-branches/ubuntu/oneiric/gconf/oneiric-proposed

« back to all changes in this revision

Viewing changes to gconf/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Takuo KITAME
  • Date: 2002-03-17 01:51:39 UTC
  • Revision ID: james.westby@ubuntu.com-20020317015139-z4f8fdg1hoe049g0
Tags: upstream-1.0.9
ImportĀ upstreamĀ versionĀ 1.0.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
NULL=
 
2
 
 
3
GCONFD_BINARY_NAME=gconfd-1
 
4
 
 
5
INCLUDES=\
 
6
        -I$(top_srcdir)                                                 \
 
7
        -I$(top_builddir)                                               \
 
8
        $(GLIB_CFLAGS)                                                  \
 
9
        $(ORBIT_CFLAGS)                                                 \
 
10
        $(XML_CFLAGS)                                                   \
 
11
        $(OAF_CFLAGS)                                                   \
 
12
        -DG_LOG_DOMAIN=\"GConf\"                                        \
 
13
        -DGCONF_LOCALE_DIR=\""$(gconflocaledir)"\"                      \
 
14
        -DGCONF_SRCDIR=\""$(absolute_top_srcdir)"\"                     \
 
15
        -DGCONF_CONFDIR=\""$(sysconfdir)/gconf/$(MAJOR_VERSION)"\"      \
 
16
        -DGCONF_ETCDIR=\""$(sysconfdir)/gconf"\"                        \
 
17
        -DGCONF_BUILDDIR=\""$(top_builddir)"\"                          \
 
18
        -DGCONF_BINDIR=\""$(bindir)"\"                                  \
 
19
        -DGCONF_BACKEND_DIR=\""$(pkglibdir)/$(MAJOR_VERSION)"\"         \
 
20
        -DVERSION=\""$(VERSION)"\"                                      \
 
21
        -DIID=\""OAFIID:gconfd:19991118"\"                              \
 
22
        -DGCONF_ENABLE_INTERNALS=1                                      \
 
23
        -DGCONFD=\""$(GCONFD_BINARY_NAME)"\"                            \
 
24
        $(NULL)
 
25
 
 
26
EFENCE=
 
27
 
 
28
lib_LTLIBRARIES = libgconf-1.la
 
29
 
 
30
bin_PROGRAMS = gconfd-1 gconftool-1 gconf-sanity-check-1
 
31
 
 
32
CORBA_SOURCES = GConf-common.c GConf-skels.c GConf-stubs.c GConf.h
 
33
 
 
34
BUILT_SOURCES = $(CORBA_SOURCES)
 
35
 
 
36
dist-hook:
 
37
        cd $(distdir) ; rm -f $(BUILT_SOURCES)
 
38
 
 
39
gconfincludedir = $(includedir)/gconf/$(MAJOR_VERSION)/gconf
 
40
gconfinclude_HEADERS =     \
 
41
        gconf.h            \
 
42
        gconf-changeset.h       \
 
43
        gconf-glib-public.h     \
 
44
        gconf-listeners.h  \
 
45
        gconf-schema.h     \
 
46
        gconf-value.h      \
 
47
        gconf-error.h      \
 
48
        gconf-engine.h
 
49
 
 
50
## This is broken I know, I'm going to break the server/client up and have a library later
 
51
 
 
52
gconfd_1_SOURCES = \
 
53
        gconf-database.h        \
 
54
        gconf-database.c        \
 
55
        gconf-sources.h         \
 
56
        gconfd.h                \
 
57
        gconfd.c
 
58
 
 
59
gconfd_1_LDADD = $(EFENCE) $(INTLLIBS) $(OAF_LIBS) $(GLIB_LIBS) libgconf-$(MAJOR_VERSION).la
 
60
 
 
61
# gconf_testclient_SOURCES = \
 
62
#       testclient.c
 
63
 
 
64
# gconf_testclient_LDADD = $(GLIB_LIBS) $(ORBIT_LIBS) libgconf-client.la
 
65
 
 
66
gconftool_1_SOURCES = \
 
67
        gconftool.c
 
68
 
 
69
gconftool_1_LDADD = $(EFENCE) $(INTLLIBS) $(OAF_LIBS) $(GLIB_LIBS) $(ORBIT_LIBS) $(POPT_LIBS) $(XML_LIBS) libgconf-$(MAJOR_VERSION).la
 
70
 
 
71
 
 
72
gconf_sanity_check_1_SOURCES = \
 
73
        gconf-sanity-check.c
 
74
 
 
75
gconf_sanity_check_1_LDADD = $(EFENCE) $(INTLLIBS) $(OAF_LIBS) $(GLIB_LIBS) $(ORBIT_LIBS) $(POPT_LIBS) $(XML_LIBS) libgconf-$(MAJOR_VERSION).la
 
76
 
 
77
$(CORBA_SOURCES): $(srcdir)/GConf.idl
 
78
        orbit-idl $(srcdir)/GConf.idl
 
79
 
 
80
libgconf_1_la_SOURCES = \
 
81
        gconf-internals.c       \
 
82
        gconf-internals.h       \
 
83
        gconf-backend.h         \
 
84
        gconf-backend.c         \
 
85
        gconf-changeset.c       \
 
86
        gconf-error.c           \
 
87
        gconf-glib.c            \
 
88
        gconf-glib-private.h    \
 
89
        gconf-listeners.c       \
 
90
        gconf-locale.h          \
 
91
        gconf-locale.c          \
 
92
        gconf-schema.c          \
 
93
        gconf-sources.c         \
 
94
        gconf-value.c           \
 
95
        gconf.c                 \
 
96
        $(CORBA_SOURCES)
 
97
 
 
98
$(gconfd_1_OBJECTS) $(libgconf_1_la_OBJECTS): $(CORBA_SOURCES)
 
99
 
 
100
libgconf_1_la_LDFLAGS = -version-info $(GCONF_CURRENT):$(GCONF_REVISION):$(GCONF_AGE)
 
101
 
 
102
libgconf_1_la_LIBADD = $(INTLLIBS) $(OAF_LIBS) $(GLIB_LIBS)
 
103
 
 
104
EXTRA_DIST=GConf.idl default.path.in
 
105
 
 
106
install-exec-local:
 
107
        (cd $(DESTDIR)$(bindir) && $(LN_S) -f gconftool-$(MAJOR_VERSION) gconftool)
 
108
 
 
109
install-data-local:
 
110
        -mkdir -p $(DESTDIR)$(sysconfdir)/gconf/$(MAJOR_VERSION)
 
111
        $(INSTALL_DATA) default.path $(DESTDIR)$(sysconfdir)/gconf/$(MAJOR_VERSION)/path