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