]> git.0d.be Git - empathy.git/blob - tp-account-widgets/Makefile.am
string-parser: move everything except for _match_smiley(), to tp-aw
[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-builder.c                          \
25         tpaw-connection-managers.c              \
26         tpaw-keyring.c                          \
27         tpaw-irc-network-chooser.c              \
28         tpaw-irc-network-chooser-dialog.c       \
29         tpaw-irc-network-dialog.c               \
30         tpaw-irc-network-manager.c              \
31         tpaw-irc-network.c                      \
32         tpaw-irc-server.c                       \
33         tpaw-live-search.c                      \
34         tpaw-string-parser.c                    \
35         tpaw-time.c                             \
36         tpaw-utils.c                            \
37         totem-subtitle-encoding.c               \
38         $(NULL)
39
40 libtp_account_widgets_headers =                 \
41         tpaw-account-settings.h                 \
42         tpaw-account-widget.h                   \
43         tpaw-account-widget-irc.h               \
44         tpaw-account-widget-sip.h               \
45         tpaw-builder.h                          \
46         tpaw-connection-managers.h              \
47         tpaw-keyring.h                          \
48         tpaw-irc-network-chooser-dialog.h       \
49         tpaw-irc-network-chooser.h              \
50         tpaw-irc-network-dialog.h               \
51         tpaw-irc-network-manager.h              \
52         tpaw-irc-network.h                      \
53         tpaw-irc-server.h                       \
54         tpaw-live-search.h                      \
55         tpaw-string-parser.h                    \
56         tpaw-time.h                             \
57         tpaw-utils.h                            \
58         totem-subtitle-encoding.h               \
59         $(NULL)
60
61 pkglib_LTLIBRARIES = libtp-account-widgets.la
62
63 # libtp-account-widgets's API is not stable and will never be, so use -release to make the
64 # SONAME of the plugin library change with every Empathy release.
65 libtp_account_widgets_la_LDFLAGS = \
66    -no-undefined \
67    -release $(VERSION) \
68    $(NULL)
69
70 libtp_account_widgets_la_SOURCES =                      \
71         $(libtp_account_widgets_sources)                \
72         $(libtp_account_widgets_headers)                \
73         $(NULL)
74
75 # these are sources that depend on Ubuntu Online Accounts
76 uoa_sources = \
77         tpaw-uoa-utils.c \
78         tpaw-uoa-utils.h \
79         $(NULL)
80
81 if HAVE_UOA
82 libtp_account_widgets_la_SOURCES += $(uoa_sources)
83 EXTRA_DIST =
84 else
85 EXTRA_DIST = $(uoa_sources)
86 endif
87
88 # do not distribute generated files
89 nodist_libtp_account_widgets_la_SOURCES = \
90         $(BUILT_SOURCES)
91
92 check_c_sources = \
93     $(libtp_account_widgets_sources) \
94     $(libtp_account_widgets_headers) \
95     $(uoa_sources) \
96     $(NULL)
97 include $(top_srcdir)/tools/check-coding-style.mk
98 check-local: check-coding-style
99
100 account_widgets_dtd_files =             \
101         tpaw-irc-networks.dtd           \
102         $(NULL)
103
104 ircnetworksdir = $(datadir)/empathy
105 ircnetworks_DATA =              \
106         irc-networks.xml
107
108 account_widgets_ui_files =                      \
109         tpaw-account-widget-generic.ui          \
110         tpaw-account-widget-jabber.ui           \
111         tpaw-account-widget-msn.ui              \
112         tpaw-account-widget-sip.ui              \
113         tpaw-account-widget-local-xmpp.ui       \
114         tpaw-account-widget-irc.ui              \
115         tpaw-account-widget-icq.ui              \
116         tpaw-account-widget-yahoo.ui            \
117         tpaw-account-widget-groupwise.ui        \
118         tpaw-account-widget-aim.ui              \
119         $(NULL)
120
121 account_widgets_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/tpaw-account-widgets.gresource.xml)
122
123 tpaw-account-widgets-resources.c: tpaw-account-widgets.gresource.xml $(account_widgets_resource_files)
124         $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
125
126 tpaw-account-widgets-resources.h: tpaw-account-widgets.gresource.xml $(account_widgets_resource_files)
127         $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header $<
128
129 EXTRA_DIST +=                                   \
130         tpaw-account-widgets.gresource.xml      \
131         $(account_widgets_dtd_files)            \
132         $(account_widgets_ui_files)             \
133         $(ircnetworks_DATA)                     \
134         $(NULL)
135
136 CLEANFILES =                            \
137         $(BUILT_SOURCES)                \
138         $(NULL)