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