[darcs-to-svn @ Fixing presence and preference dialog]
[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         ephy-spinner.c                          ephy-spinner.h                  \
13         empathy-main-window.c                   empathy-main-window.h           \
14         gossip-accounts-dialog.c                gossip-accounts-dialog.h        \
15         gossip-account-widget-generic.c         gossip-account-widget-generic.h \
16         gossip-account-widget-jabber.c          gossip-account-widget-jabber.h  \
17         gossip-profile-chooser.c                gossip-profile-chooser.h        \
18         gossip-cell-renderer-expander.c         gossip-cell-renderer-expander.h \
19         gossip-cell-renderer-text.c             gossip-cell-renderer-text.h     \
20         gossip-stock.c                          gossip-stock.h                  \
21         gossip-spell.c                          gossip-spell.h                  \
22         gossip-contact-groups.c                 gossip-contact-groups.h         \
23         gossip-contact-list.c                   gossip-contact-list.h           \
24         gossip-preferences.c                    gossip-preferences.h            \
25         gossip-theme-manager.c                  gossip-theme-manager.h          \
26         gossip-chat.c                           gossip-chat.h                   \
27         gossip-chat-view.c                      gossip-chat-view.h              \
28         gossip-chat-window.c                    gossip-chat-window.h            \
29         gossip-private-chat.c                   gossip-private-chat.h           \
30         gossip-geometry.c                       gossip-geometry.h               \
31         gossip-status-presets.c                 gossip-status-presets.h         \
32         gossip-presence-chooser.c               gossip-presence-chooser.h       \
33         gossip-ui-utils.c                       gossip-ui-utils.h
34
35 libempathy_gtk_la_LIBADD =                                                      \
36         $(top_builddir)/libempathy/libempathy.la                                \
37         $(EMPATHY_LIBS)
38
39 libempathy_gtk_includedir = $(includedir)/empathy/
40
41 gladedir = $(datadir)/empathy
42 glade_DATA =                                    \
43         empathy-main-window.glade               \
44         gossip-preferences.glade                \
45         gossip-presence-chooser.glade           \
46         gossip-accounts-dialog.glade            \
47         gossip-account-widget-jabber.glade      \
48         gossip-chat.glade
49
50 dtddir = $(datadir)/empathy
51 dtd_DATA =                                                                      \
52         gossip-status-presets.dtd                                               \
53         gossip-contact-groups.dtd
54
55 schemasdir       = $(GCONF_SCHEMA_FILE_DIR)
56 schemas_in_files = empathy.schemas.in
57 schemas_DATA     = $(schemas_in_files:.schemas.in=.schemas)
58 @INTLTOOL_SCHEMAS_RULE@
59
60 if GCONF_SCHEMAS_INSTALL
61 install-data-local:
62         if test -z "$(DESTDIR)" ; then \
63           for p in $(schemas_DATA) ; do \
64             GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(srcdir)/$$p ; \
65           done \
66         fi
67 else
68 install-data-local:
69 endif
70
71 EXTRA_DIST =                    \
72         $(glade_DATA)           \
73         $(dtd_DATA)             \
74         $(schemas_in_files)     \
75         $(schemas_DATA)
76
77 DISTCLEANFILES =                \
78         $(schemas_DATA)
79