summaryrefslogtreecommitdiff
path: root/tp-account-widgets/Makefile.am
blob: 32e44c9642e701769db10b09c7f35929e07e2ab8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
AM_CPPFLAGS =                                           \
	$(ERROR_CFLAGS)					\
	-DDATADIR=\""$(datadir)"\"              	\
	-DPKGDATADIR=\""$(real_pkgdatadir)"\"		\
	-DG_LOG_DOMAIN=\"tp-account-widgets\"		\
	-DGCR_API_SUBJECT_TO_CHANGE			\
	$(TPAW_CFLAGS)					\
	$(UDEV_CFLAGS)					\
	$(CHEESE_CFLAGS)				\
	$(WARN_CFLAGS)					\
	$(DISABLE_DEPRECATED)

BUILT_SOURCES = 					\
	tpaw-account-widgets-resources.c		\
	tpaw-account-widgets-resources.h		\
	$(NULL)

libtp_account_widgets_sources =            	\
	tpaw-account-settings.c			\
	tpaw-account-widget.c			\
	tpaw-account-widget-irc.c		\
	tpaw-account-widget-private.h		\
	tpaw-account-widget-sip.c		\
	tpaw-avatar-chooser.c			\
	tpaw-builder.c				\
	tpaw-calendar-button.c			\
	tpaw-camera-monitor.c			\
	tpaw-connection-managers.c		\
	tpaw-contactinfo-utils.c		\
	tpaw-debug.c				\
	tpaw-keyring.c				\
	tpaw-irc-network-chooser.c		\
	tpaw-irc-network-chooser-dialog.c	\
	tpaw-irc-network-dialog.c		\
	tpaw-irc-network-manager.c		\
	tpaw-irc-network.c			\
	tpaw-irc-server.c			\
	tpaw-live-search.c			\
	tpaw-pixbuf-utils.c			\
	tpaw-protocol.c				\
	tpaw-string-parser.c			\
	tpaw-time.c				\
	tpaw-user-info.c			\
	tpaw-utils.c				\
	$(NULL)

libtp_account_widgets_headers =			\
	tpaw-account-settings.h			\
	tpaw-account-widget.h			\
	tpaw-account-widget-irc.h		\
	tpaw-account-widget-sip.h		\
	tpaw-avatar-chooser.h			\
	tpaw-builder.h				\
	tpaw-calendar-button.h			\
	tpaw-camera-monitor.h			\
	tpaw-connection-managers.h		\
	tpaw-contactinfo-utils.h		\
	tpaw-debug.h				\
	tpaw-gsettings.h			\
	tpaw-images.h				\
	tpaw-keyring.h				\
	tpaw-irc-network-chooser-dialog.h	\
	tpaw-irc-network-chooser.h		\
	tpaw-irc-network-dialog.h		\
	tpaw-irc-network-manager.h		\
	tpaw-irc-network.h			\
	tpaw-irc-server.h			\
	tpaw-live-search.h			\
	tpaw-pixbuf-utils.h			\
	tpaw-protocol.h				\
	tpaw-string-parser.h			\
	tpaw-time.h				\
	tpaw-user-info.h			\
	tpaw-utils.h				\
	$(NULL)

nocheck_sources = \
	cheese-camera-device-monitor.c		\
	cheese-camera-device-monitor.h		\
	totem-subtitle-encoding.c		\
	totem-subtitle-encoding.h		\
	$(NULL)

noinst_LTLIBRARIES = libtp-account-widgets.la

libtp_account_widgets_la_SOURCES =			\
	$(libtp_account_widgets_sources)		\
	$(libtp_account_widgets_headers)		\
	$(nocheck_sources)				\
	$(NULL)

# these are sources that depend on Ubuntu Online Accounts
uoa_sources = \
	tpaw-uoa-utils.c \
	tpaw-uoa-utils.h \
	$(NULL)

if HAVE_UOA
libtp_account_widgets_la_SOURCES += $(uoa_sources)
EXTRA_DIST =
else
EXTRA_DIST = $(uoa_sources)
endif

# do not distribute generated files
nodist_libtp_account_widgets_la_SOURCES = \
	$(BUILT_SOURCES)

check_c_sources = \
    $(libtp_account_widgets_sources) \
    $(libtp_account_widgets_headers) \
    $(uoa_sources) \
    $(NULL)
include $(top_srcdir)/tools/check-coding-style.mk
check-local: check-coding-style

account_widgets_dtd_files =		\
	tpaw-irc-networks.dtd		\
	$(NULL)

ircnetworksdir = $(real_pkgdatadir)
ircnetworks_DATA =		\
	irc-networks.xml

account_widgets_ui_files =			\
	tpaw-account-widget-generic.ui		\
	tpaw-account-widget-jabber.ui		\
	tpaw-account-widget-msn.ui		\
	tpaw-account-widget-sip.ui		\
	tpaw-account-widget-local-xmpp.ui	\
	tpaw-account-widget-irc.ui		\
	tpaw-account-widget-icq.ui		\
	tpaw-account-widget-yahoo.ui		\
	tpaw-account-widget-groupwise.ui	\
	tpaw-account-widget-aim.ui		\
	$(NULL)

account_widgets_resource_files = $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(srcdir) $(srcdir)/tpaw-account-widgets.gresource.xml)

tpaw-account-widgets-resources.c: tpaw-account-widgets.gresource.xml $(account_widgets_resource_files)
	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<

tpaw-account-widgets-resources.h: tpaw-account-widgets.gresource.xml $(account_widgets_resource_files)
	$(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-header $<

EXTRA_DIST +=					\
	tpaw-account-widgets.gresource.xml	\
	$(account_widgets_dtd_files)		\
	$(account_widgets_ui_files)		\
	$(ircnetworks_DATA)			\
	$(NULL)

CLEANFILES =				\
	$(BUILT_SOURCES)		\
	$(NULL)