1 include $(top_srcdir)/tools/flymake.mk
5 -I$(top_srcdir)/libempathy \
6 -I$(top_srcdir)/libempathy-gtk \
7 -DDATADIR=\""$(datadir)"\" \
8 -DPKGDATADIR=\""$(pkgdatadir)"\" \
9 -DG_LOG_DOMAIN=\"empathy\" \
10 -DGCR_API_SUBJECT_TO_CHANGE \
16 empathy-account-widgets-resources.c \
17 empathy-account-widgets-resources.h \
20 libtp_account_widgets_sources = \
21 empathy-account-widget.c \
22 empathy-account-widget-irc.c \
23 empathy-account-widget-private.h \
24 empathy-account-widget-sip.c \
25 empathy-irc-network-chooser.c \
26 empathy-irc-network-chooser-dialog.c \
27 empathy-irc-network-dialog.c \
28 totem-subtitle-encoding.c \
31 libtp_account_widgets_headers = \
32 empathy-account-widget.h \
33 empathy-account-widget-irc.h \
34 empathy-account-widget-sip.h \
35 empathy-irc-network-chooser-dialog.h \
36 empathy-irc-network-chooser.h \
37 empathy-irc-network-dialog.h \
38 totem-subtitle-encoding.h \
41 pkglib_LTLIBRARIES = libtp-account-widgets.la
43 # libtp-account-widgets's API is not stable and will never be, so use -release to make the
44 # SONAME of the plugin library change with every Empathy release.
45 libtp_account_widgets_la_LDFLAGS = \
50 libtp_account_widgets_la_SOURCES = \
51 $(libtp_account_widgets_sources) \
52 $(libtp_account_widgets_headers) \
55 # do not distribute generated files
56 nodist_libtp_account_widgets_la_SOURCES = \
60 $(libtp_account_widgets_sources) \
61 $(libtp_account_widgets_headers) \
63 include $(top_srcdir)/tools/check-coding-style.mk
64 check-local: check-coding-style
66 account_widgets_ui_files = \
67 empathy-account-widget-generic.ui \
68 empathy-account-widget-jabber.ui \
69 empathy-account-widget-msn.ui \
70 empathy-account-widget-sip.ui \
71 empathy-account-widget-local-xmpp.ui \
72 empathy-account-widget-irc.ui \
73 empathy-account-widget-icq.ui \
74 empathy-account-widget-yahoo.ui \
75 empathy-account-widget-groupwise.ui \
76 empathy-account-widget-aim.ui \
79 account_widgets_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/empathy-account-widgets.gresource.xml)
81 empathy-account-widgets-resources.c: empathy-account-widgets.gresource.xml $(account_widgets_resource_files)
82 $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
84 empathy-account-widgets-resources.h: empathy-account-widgets.gresource.xml $(account_widgets_resource_files)
85 $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header $<
88 empathy-account-widgets.gresource.xml \
89 $(account_widgets_ui_files) \