]> git.0d.be Git - empathy.git/blob - libempathy-gtk/Makefile.am
[darcs-to-svn @ Adding salut profile]
[empathy.git] / libempathy-gtk / Makefile.am
1 AM_CPPFLAGS =                                           \
2         -I.                                             \
3         -I$(top_srcdir)                                 \
4         -DDATADIR=\""$(datadir)"\"                      \
5         -DLOCALEDIR=\""$(datadir)/locale"\"             \
6         $(EMPATHY_CFLAGS)                               \
7         $(WARN_CFLAGS)
8
9 noinst_LTLIBRARIES = libempathy-gtk.la
10
11 libempathy_gtk_la_SOURCES =                                                     \
12         gossip-accounts-dialog.c                gossip-accounts-dialog.h        \
13         gossip-account-widget-generic.c         gossip-account-widget-generic.h \
14         gossip-profile-chooser.c                gossip-profile-chooser.h        \
15         gossip-cell-renderer-expander.c         gossip-cell-renderer-expander.h \
16         gossip-cell-renderer-text.c             gossip-cell-renderer-text.h     \
17         gossip-stock.c                          gossip-stock.h                  \
18         gossip-spell.c                          gossip-spell.h                  \
19         gossip-contact-groups.c                 gossip-contact-groups.h         \
20         gossip-contact-list.c                   gossip-contact-list.h           \
21         gossip-preferences.c                    gossip-preferences.h            \
22         gossip-theme-manager.c                  gossip-theme-manager.h          \
23         gossip-chat.c                           gossip-chat.h                   \
24         gossip-chat-view.c                      gossip-chat-view.h              \
25         gossip-chat-window.c                    gossip-chat-window.h            \
26         gossip-private-chat.c                   gossip-private-chat.h           \
27         gossip-ui-utils.c                       gossip-ui-utils.h
28
29 libempathy_gtk_la_LIBADD =                                                      \
30         $(top_builddir)/libempathy/libempathy.la                                \
31         $(EMPATHY_LIBS)
32
33 libempathy_gtk_includedir = $(includedir)/empathy/
34
35 gladedir = $(datadir)/empathy
36 glade_DATA =                            \
37         empathy-accounts.glade          \
38         empathy-chat.glade
39
40 dtddir = $(datadir)/empathy
41 dtd_DATA =                                                                      \
42         gossip-contact-groups.dtd
43
44 schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
45 schemas_in_files = empathy.schemas.in
46 schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
47 @INTLTOOL_SCHEMAS_RULE@
48
49 if GCONF_SCHEMAS_INSTALL
50 install-data-local:
51         if test -z "$(DESTDIR)" ; then \
52           for p in $(schemas_DATA) ; do \
53             GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
54           done \
55         fi
56 else
57 install-data-local:
58 endif
59
60 EXTRA_DIST =                    \
61         $(glade_DATA)           \
62         $(dtd_DATA)             \
63         $(schemas_in_files)     \
64         $(schemas_DATA)
65
66 DISTCLEANFILES =                \
67         $(schemas_DATA)
68