98
99
libcheese_gtk_la_SOURCES = \
99
100
libcheese/cheese-avatar-chooser.c \
101
libcheese/cheese-avatar-widget.c \
100
102
libcheese/totem-aspect-frame.c \
101
103
libcheese/cheese-flash.c \
102
104
libcheese/cheese-gtk.c \
106
108
noinst_libcheese_gtk_headers = \
107
109
libcheese/totem-aspect-frame.h \
108
110
libcheese/cheese-avatar-chooser.h \
111
libcheese/cheese-avatar-widget.h \
109
112
libcheese/cheese-flash.h \
110
113
libcheese/cheese-widget.h \
111
114
libcheese/cheese-widget-private.h \
148
151
# FIXME when we have a .pc file, and sonames
149
152
cheesedir = $(includedir)/cheese
150
153
cheese_HEADERS = \
154
libcheese/cheese-avatar-widget.h \
151
155
libcheese/cheese-avatar-chooser.h \
152
156
libcheese/cheese-camera.h \
153
157
libcheese/cheese-camera-device.h \
191
195
typelib_DATA = Cheese-3.0.typelib
198
noinst_resource_files = \
200
data/cheese-viewport.json \
201
data/cheese-appmenu.ui \
202
data/cheese-main-window.ui \
203
data/cheese-prefs.ui \
204
data/pixmaps/cheese-1.svg \
205
data/pixmaps/cheese-2.svg \
206
data/pixmaps/cheese-3.svg \
207
data/pixmaps/thumbnail-frame.png
209
src/cheese-resource.c src/cheese-resource.h: data/cheese.gresource.xml Makefile $(noinst_resource_files)
210
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir)/data --generate --c-name cheese $<
194
212
bin_PROGRAMS = cheese
214
nodist_cheese_SOURCES = \
215
src/cheese-resource.c
196
217
# cheese-main.vala must go at the end of the Vala sources.
197
218
cheese_SOURCES = \
198
219
src/cheese-application.vala \
205
226
src/thumbview/cheese-thumbnail.c \
206
227
src/thumbview/eog-thumb-nav.c
229
nodist_cheese_HEADERS = \
230
src/cheese-resource.h
208
232
noinst_HEADERS = \
209
233
src/thumbview/cheese-thumb-view.h \
210
234
src/thumbview/cheese-thumbnail.h \
291
315
desktop_in_files = data/cheese.desktop.in
292
316
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
320
appdata_in_files = data/cheese.appdata.xml.in
321
appdata_XML = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
294
324
gsettings_SCHEMAS = data/org.gnome.Cheese.gschema.xml
297
dist_pkgdata_DATA = \
299
data/cheese-main-window.ui \
300
data/cheese-prefs.ui \
301
data/cheese-viewport.json
303
326
pkgconfigdir = $(libdir)/pkgconfig
304
327
pkgconfig_DATA = \
314
337
appsicon48dir = $(iconthemedir)/48x48/apps
315
338
appsicon256dir = $(iconthemedir)/256x256/apps
317
actionsicon16dir = $(iconthemedir)/16x16/actions
318
actionsicon22dir = $(iconthemedir)/22x22/actions
319
actionsicon24dir = $(iconthemedir)/24x24/actions
320
actionsicon32dir = $(iconthemedir)/32x32/actions
321
actionsicon48dir = $(iconthemedir)/48x48/actions
322
actionsiconscalabledir = $(iconthemedir)/scalable/actions
324
340
dist_appsicon16_DATA = data/icons/16x16/cheese.png
325
341
dist_appsicon22_DATA = data/icons/22x22/cheese.png
326
342
dist_appsicon24_DATA = data/icons/24x24/cheese.png
328
344
dist_appsicon48_DATA = data/icons/48x48/cheese.png
329
345
dist_appsicon256_DATA = data/icons/256x256/cheese.png
331
dist_actionsicon16_DATA = \
332
data/icons/16x16/actions/browse-webcam-effects.png \
333
data/icons/16x16/actions/cheese-take-burst.png \
334
data/icons/16x16/actions/cheese-take-photo.png
335
dist_actionsicon22_DATA = \
336
data/icons/22x22/actions/browse-webcam-effects.png \
337
data/icons/22x22/actions/cheese-take-burst.png \
338
data/icons/22x22/actions/cheese-take-photo.png
339
dist_actionsicon24_DATA = \
340
data/icons/24x24/actions/browse-webcam-effects.png \
341
data/icons/24x24/actions/cheese-take-burst.png \
342
data/icons/24x24/actions/cheese-take-photo.png
343
dist_actionsicon32_DATA = \
344
data/icons/32x32/actions/browse-webcam-effects.png \
345
data/icons/32x32/actions/cheese-take-burst.png \
346
data/icons/32x32/actions/cheese-take-photo.png
347
dist_actionsicon48_DATA = \
348
data/icons/48x48/actions/browse-webcam-effects.png \
349
data/icons/48x48/actions/cheese-take-burst.png \
350
data/icons/48x48/actions/cheese-take-photo.png
351
dist_actionsiconscalable_DATA = \
352
data/icons/scalable/actions/browse-webcam-effects.svg \
353
data/icons/scalable/actions/cheese-take-burst.svg \
354
data/icons/scalable/actions/cheese-take-photo.svg
356
347
update_icon_cache = gtk-update-icon-cache --ignore-theme-index --force
358
349
install-data-hook: install-update-icon-cache
367
358
$(AM_V_at)$(POST_UNINSTALL)
368
359
test -n "$(DESTDIR)" || $(update_icon_cache) "$(iconthemedir)"
370
pixmapsdir = $(pkgdatadir)/pixmaps
371
dist_pixmaps_DATA = \
372
data/pixmaps/thumbnail-frame.png \
373
data/pixmaps/camera-icon.svg \
374
data/pixmaps/cheese-1.svg \
375
data/pixmaps/cheese-2.svg \
376
data/pixmaps/cheese-3.svg
379
362
check_PROGRAMS = \
380
363
tests/test-libcheese \
455
438
$(AM_V_at)$(LCOV) --directory $(top_builddir) -z
456
439
$(AM_V_at)rm -rf cheese-lcov.info cheese-lcov
457
$(AM_V_at)find -name '*.gcda' -exec rm -f {} +
440
$(AM_V_at)find . -name '*.gcda' -exec rm -f {} +
458
441
else # !CHEESE_ENABLE_LCOV
460
443
$(AM_V_at)echo "Code coverage reporting not available"
463
446
$(AM_V_at)rm -rf cheese-lcov.info cheese-lcov
464
$(AM_V_at)find -name '*.gcda' -exec rm -f {} +
447
$(AM_V_at)find . -name '*.gcda' -exec rm -f {} +
475
458
check-local: test
476
459
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFlAGS) check
477
460
clean-local: lcov-clean
478
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) clean
479
find -name '*.gcno' -exec rm -f {} +
461
cd $(gtkdoc_builddir) && if test -e Makefile ; then \
462
$(MAKE) $(AM_MAKEFLAGS) clean ; \
464
find . -name '*.gcno' -exec rm -f {} +
481
466
cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) distclean
482
467
docs: $(lib_LTLIBRARIES)