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