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 \
14 tpaw-account-widgets-resources.c \
15 tpaw-account-widgets-resources.h \
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 \
25 tpaw-connection-managers.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 \
34 tpaw-string-parser.c \
37 totem-subtitle-encoding.c \
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 \
46 tpaw-connection-managers.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 \
55 tpaw-string-parser.h \
58 totem-subtitle-encoding.h \
61 pkglib_LTLIBRARIES = libtp-account-widgets.la
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 = \
70 libtp_account_widgets_la_SOURCES = \
71 $(libtp_account_widgets_sources) \
72 $(libtp_account_widgets_headers) \
75 # these are sources that depend on Ubuntu Online Accounts
82 libtp_account_widgets_la_SOURCES += $(uoa_sources)
85 EXTRA_DIST = $(uoa_sources)
88 # do not distribute generated files
89 nodist_libtp_account_widgets_la_SOURCES = \
93 $(libtp_account_widgets_sources) \
94 $(libtp_account_widgets_headers) \
97 include $(top_srcdir)/tools/check-coding-style.mk
98 check-local: check-coding-style
100 account_widgets_dtd_files = \
101 tpaw-irc-networks.dtd \
104 ircnetworksdir = $(datadir)/empathy
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 \
121 account_widgets_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/tpaw-account-widgets.gresource.xml)
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 $<
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 $<
130 tpaw-account-widgets.gresource.xml \
131 $(account_widgets_dtd_files) \
132 $(account_widgets_ui_files) \
133 $(ircnetworks_DATA) \