]> git.0d.be Git - empathy.git/blob - tp-account-widgets/Makefile.am
tp-account-widgets: Move the IRC network list with the related sources
[empathy.git] / tp-account-widgets / Makefile.am
1 AM_CPPFLAGS =                                           \
2         $(ERROR_CFLAGS)                                 \
3         -I$(top_srcdir)/libempathy                      \
4         -I$(top_srcdir)/libempathy-gtk                  \
5         -DDATADIR=\""$(datadir)"\"                      \
6         -DPKGDATADIR=\""$(pkgdatadir)"\"                \
7         -DG_LOG_DOMAIN=\"empathy\"                      \
8         -DGCR_API_SUBJECT_TO_CHANGE                     \
9         $(EMPATHY_CFLAGS)                               \
10         $(WARN_CFLAGS)                                  \
11         $(DISABLE_DEPRECATED)
12
13 BUILT_SOURCES =                                         \
14         empathy-account-widgets-resources.c             \
15         empathy-account-widgets-resources.h             \
16         $(NULL)
17
18 libtp_account_widgets_sources =                 \
19         empathy-account-widget.c                \
20         empathy-account-widget-irc.c            \
21         empathy-account-widget-private.h        \
22         empathy-account-widget-sip.c            \
23         empathy-irc-network-chooser.c           \
24         empathy-irc-network-chooser-dialog.c    \
25         empathy-irc-network-dialog.c            \
26         empathy-irc-network-manager.c           \
27         empathy-irc-network.c                   \
28         empathy-irc-server.c                    \
29         totem-subtitle-encoding.c               \
30         $(NULL)
31
32 libtp_account_widgets_headers =                 \
33         empathy-account-widget.h                \
34         empathy-account-widget-irc.h            \
35         empathy-account-widget-sip.h            \
36         empathy-irc-network-chooser-dialog.h    \
37         empathy-irc-network-chooser.h           \
38         empathy-irc-network-dialog.h            \
39         empathy-irc-network-manager.h           \
40         empathy-irc-network.h                   \
41         empathy-irc-server.h                    \
42         empathy-utils.h                         \
43         totem-subtitle-encoding.h               \
44         $(NULL)
45
46 pkglib_LTLIBRARIES = libtp-account-widgets.la
47
48 # libtp-account-widgets's API is not stable and will never be, so use -release to make the
49 # SONAME of the plugin library change with every Empathy release.
50 libtp_account_widgets_la_LDFLAGS = \
51    -no-undefined \
52    -release $(VERSION) \
53    $(NULL)
54
55 libtp_account_widgets_la_SOURCES =                      \
56         $(libtp_account_widgets_sources)                \
57         $(libtp_account_widgets_headers)                \
58         $(NULL)
59
60 # do not distribute generated files
61 nodist_libtp_account_widgets_la_SOURCES = \
62         $(BUILT_SOURCES)
63
64 check_c_sources = \
65     $(libtp_account_widgets_sources) \
66     $(libtp_account_widgets_headers) \
67     $(NULL)
68 include $(top_srcdir)/tools/check-coding-style.mk
69 check-local: check-coding-style
70
71 account_widgets_dtd_files =                     \
72         empathy-irc-networks.dtd                \
73         $(NULL)
74
75 ircnetworksdir = $(datadir)/empathy
76 ircnetworks_DATA =              \
77         irc-networks.xml
78
79 account_widgets_ui_files =                      \
80         empathy-account-widget-generic.ui       \
81         empathy-account-widget-jabber.ui        \
82         empathy-account-widget-msn.ui           \
83         empathy-account-widget-sip.ui           \
84         empathy-account-widget-local-xmpp.ui    \
85         empathy-account-widget-irc.ui           \
86         empathy-account-widget-icq.ui           \
87         empathy-account-widget-yahoo.ui         \
88         empathy-account-widget-groupwise.ui     \
89         empathy-account-widget-aim.ui           \
90         $(NULL)
91
92 account_widgets_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/empathy-account-widgets.gresource.xml)
93
94 empathy-account-widgets-resources.c: empathy-account-widgets.gresource.xml $(account_widgets_resource_files)
95         $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
96
97 empathy-account-widgets-resources.h: empathy-account-widgets.gresource.xml $(account_widgets_resource_files)
98         $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header $<
99
100 EXTRA_DIST =                                    \
101         empathy-account-widgets.gresource.xml   \
102         $(account_widgets_dtd_files)            \
103         $(account_widgets_ui_files)             \
104         $(ircnetworks_DATA)                     \
105         $(NULL)
106
107 CLEANFILES =                            \
108         $(BUILT_SOURCES)                \
109         $(NULL)