~ubuntu-branches/debian/jessie/cheese/jessie

« back to all changes in this revision

Viewing changes to Makefile.am

  • Committer: Package Import Robot
  • Author(s): Andreas Henriksson
  • Date: 2014-04-02 21:39:33 UTC
  • mfrom: (1.5.1) (15.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20140402213933-r0w3gna0pv7q7085
Tags: 3.12.0-1
* New upstream release.
* Revert changes done in 3.10.1-3
  - i.e. lower gnome-desktop build-dependency again.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
        $(WARN_CFLAGS)
53
53
 
54
54
AM_VALAFLAGS = \
55
 
        --target-glib=2.32 \
 
55
        --target-glib=2.38 \
56
56
        --thread \
57
57
        --vapidir $(top_srcdir)/src/vapi \
 
58
        --gresources $(top_srcdir)/data/cheese.gresource.xml \
58
59
        --pkg config \
59
60
        --pkg posix \
60
61
        --pkg gtk+-3.0 \
97
98
 
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
192
196
endif
193
197
 
 
198
noinst_resource_files = \
 
199
        data/cheese.css \
 
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
 
208
 
 
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 $<
 
211
 
194
212
bin_PROGRAMS = cheese
195
213
 
 
214
nodist_cheese_SOURCES = \
 
215
        src/cheese-resource.c
 
216
 
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
207
228
 
 
229
nodist_cheese_HEADERS = \
 
230
        src/cheese-resource.h
 
231
 
208
232
noinst_HEADERS = \
209
233
        src/thumbview/cheese-thumb-view.h \
210
234
        src/thumbview/cheese-thumbnail.h \
218
242
        -I$(top_srcdir)/libcheese \
219
243
        -I$(top_srcdir)/src
220
244
 
221
 
cheese_CFLAGS = -export-dynamic
 
245
cheese_CFLAGS = -export-dynamic -w
222
246
 
223
247
cheese_LDADD = \
224
248
        libcheese.la \
291
315
desktop_in_files = data/cheese.desktop.in
292
316
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
293
317
 
 
318
@APPDATA_XML_RULES@
 
319
@INTLTOOL_XML_RULE@
 
320
appdata_in_files = data/cheese.appdata.xml.in
 
321
appdata_XML = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
 
322
 
 
323
@GSETTINGS_RULES@
294
324
gsettings_SCHEMAS = data/org.gnome.Cheese.gschema.xml
295
 
@GSETTINGS_RULES@
296
 
 
297
 
dist_pkgdata_DATA = \
298
 
        data/cheese.css \
299
 
        data/cheese-main-window.ui \
300
 
        data/cheese-prefs.ui \
301
 
        data/cheese-viewport.json
302
325
 
303
326
pkgconfigdir = $(libdir)/pkgconfig
304
327
pkgconfig_DATA = \
314
337
appsicon48dir = $(iconthemedir)/48x48/apps
315
338
appsicon256dir = $(iconthemedir)/256x256/apps
316
339
 
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
323
 
 
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
330
346
 
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
355
 
 
356
347
update_icon_cache = gtk-update-icon-cache --ignore-theme-index --force
357
348
 
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)"
369
360
 
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
377
 
 
378
361
# Tests.
379
362
check_PROGRAMS = \
380
363
        tests/test-libcheese \
454
437
lcov-clean:
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
459
442
lcov:
460
443
        $(AM_V_at)echo "Code coverage reporting not available"
461
444
 
462
445
lcov-clean:
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 {} +
465
448
endif
466
449
 
467
450
# gtk-doc
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 ; \
 
463
        fi
 
464
        find . -name '*.gcno' -exec rm -f {} +
480
465
distclean-local:
481
466
        cd $(gtkdoc_builddir) && $(MAKE) $(AM_MAKEFLAGS) distclean
482
467
docs: $(lib_LTLIBRARIES)
498
483
        ChangeLog.pre-git \
499
484
        $(desktop_in_files) \
500
485
        $(gsettings_SCHEMAS) \
501
 
        $(service_in_files) \
 
486
        $(noinst_resource_files) \
 
487
        $(appdata_in_files) \
 
488
        data/cheese.gresource.xml \
502
489
        build-aux/test-driver \
503
490
        $(gtkdoc_srcdir)/cheese-docs.xml \
504
491
        $(gtkdoc_srcdir)/cheese-sections.txt \
522
509
        autogen.sh
523
510
 
524
511
CLEANFILES = \
 
512
        $(appdata_XML) \
525
513
        $(desktop_DATA) \
526
514
        $(pkgconfig_DATA) \
527
515
        $(enum_data) \
528
516
        $(gir_DATA) \
529
 
        $(typelib_DATA)
 
517
        $(typelib_DATA) \
 
518
        src/cheese-resource.c \
 
519
        src/cheese-resource.h
530
520
 
531
521
DISTCLEANFILES = \
532
522
        libcheese_la_vala.stamp \
551
541
        omf.make \
552
542
        xmldocs.make
553
543
 
554
 
DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc --enable-introspection --enable-man
 
544
DISTCHECK_CONFIGURE_FLAGS = \
 
545
        --enable-appdata-check \
 
546
        --enable-gtk-doc \
 
547
        --enable-introspection \
 
548
        --enable-man
555
549
 
556
550
CHANGELOG_START = 2.26.0
557
551