]> git.0d.be Git - empathy.git/blob - tp-account-widgets/Makefile.am
0d2d5011d6fb203800e6b89ba55361d802321f18
[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         tpaw-account-widgets-resources.c                \
15         tpaw-account-widgets-resources.h                \
16         $(NULL)
17
18 libtp_account_widgets_sources =                 \
19         tpaw-account-widget.c                   \
20         tpaw-account-widget-irc.c               \
21         tpaw-account-widget-private.h           \
22         tpaw-account-widget-sip.c               \
23         tpaw-irc-network-chooser.c              \
24         tpaw-irc-network-chooser-dialog.c       \
25         tpaw-irc-network-dialog.c               \
26         tpaw-irc-network-manager.c              \
27         tpaw-irc-network.c                      \
28         tpaw-irc-server.c                       \
29         totem-subtitle-encoding.c               \
30         $(NULL)
31
32 libtp_account_widgets_headers =                 \
33         tpaw-account-widget.h                   \
34         tpaw-account-widget-irc.h               \
35         tpaw-account-widget-sip.h               \
36         tpaw-irc-network-chooser-dialog.h       \
37         tpaw-irc-network-chooser.h              \
38         tpaw-irc-network-dialog.h               \
39         tpaw-irc-network-manager.h              \
40         tpaw-irc-network.h                      \
41         tpaw-irc-server.h                       \
42         tpaw-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         tpaw-irc-networks.dtd           \
73         $(NULL)
74
75 ircnetworksdir = $(datadir)/empathy
76 ircnetworks_DATA =              \
77         irc-networks.xml
78
79 account_widgets_ui_files =                      \
80         tpaw-account-widget-generic.ui          \
81         tpaw-account-widget-jabber.ui           \
82         tpaw-account-widget-msn.ui              \
83         tpaw-account-widget-sip.ui              \
84         tpaw-account-widget-local-xmpp.ui       \
85         tpaw-account-widget-irc.ui              \
86         tpaw-account-widget-icq.ui              \
87         tpaw-account-widget-yahoo.ui            \
88         tpaw-account-widget-groupwise.ui        \
89         tpaw-account-widget-aim.ui              \
90         $(NULL)
91
92 account_widgets_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/tpaw-account-widgets.gresource.xml)
93
94 tpaw-account-widgets-resources.c: tpaw-account-widgets.gresource.xml $(account_widgets_resource_files)
95         $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
96
97 tpaw-account-widgets-resources.h: tpaw-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         tpaw-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)