Add prefs-int-scale and makes balance-scale balance only
[gstreamer-omap:cheese.git] / src / Makefile.am
1 INCLUDES = \
2         -DBINDIR=\"$(bindir)\" \
3         -DDATADIR=\"$(datadir)\" \
4         -DPREFIX=\""$(prefix)"\" \
5         -DSYSCONFDIR=\""$(sysconfdir)"\" \
6         -DLIBDIR=\""$(libdir)"\" \
7         -DPACKAGE_DATADIR=\""$(datadir)/cheese"\" \
8         -DPACKAGE_LOCALEDIR=\""$(datadir)/locale"\" \
9         -DAPPNAME_DATA_DIR=\"$(pkgdatadir)\" \
10         -DGNOME_DESKTOP_USE_UNSTABLE_API=1 \
11         $(CHEESE_CFLAGS) \
12         -I@top_srcdir@/libcheese \
13         $(NULL)
14
15 bin_PROGRAMS = cheese
16
17 cheese_SOURCES = \
18         cheese.c \
19         cheese-window.c \
20         cheese-window.h \
21         cheese-ui.h \
22         cheese-commands.h \
23         cheese-commands.c \
24         cheese-commands-help.c \
25         cheese-commands-file.c \
26         cheese-dbus.c \
27         cheese-dbus.h \
28         cheese-effect-chooser.c \
29         cheese-effect-chooser.h \
30         cheese-thumb-view.c \
31         cheese-thumb-view.h \
32         eog-thumbnail.c \
33         eog-thumbnail.h \
34         eog-thumb-nav.c \
35         eog-thumb-nav.h \
36         cheese-no-camera.c \
37         cheese-no-camera.h \
38         cheese-prefs-widget.h \
39         cheese-prefs-widget.c \
40         cheese-prefs-dialog-widgets.h \
41         cheese-prefs-dialog-widgets.c \
42         cheese-prefs-resolution-combo.h \
43         cheese-prefs-resolution-combo.c \
44         cheese-prefs-balance-scale.c \
45         cheese-prefs-balance-scale.h \
46         cheese-prefs-int-scale.c \
47         cheese-prefs-int-scale.h \
48         cheese-prefs-float-scale.c \
49         cheese-prefs-float-scale.h \
50         cheese-prefs-autofocus-checkbox.c \
51         cheese-prefs-autofocus-checkbox.h \
52         cheese-prefs-source-checkbox.c \
53         cheese-prefs-source-checkbox.h \
54         cheese-prefs-dialog.c \
55         cheese-prefs-dialog.h \
56         cheese-prefs-photography-combo.c \
57         cheese-prefs-photography-combo.h \
58         cheese-prefs-camera-combo.c \
59         cheese-prefs-camera-combo.h \
60         cheese-prefs-burst-spinbox.h \
61         cheese-prefs-burst-spinbox.c
62
63 cheese_LDADD = \
64         $(top_builddir)/libcheese/libcheesecommon.la \
65         $(top_builddir)/libcheese/libcheese-gtk.la \
66         $(CHEESE_LIBS)
67
68 #dbus
69 BUILT_SOURCES = cheese-dbus-infos.h
70 # We don't want to install this header
71 noinst_HEADERS = $(BUILT_SOURCES)
72
73 # Correctly clean the generated headers, but keep the xml description
74 CLEANFILES = $(BUILT_SOURCES)
75 EXTRA_DIST = cheese-dbus-infos.xml
76
77 #Rule to generate the binding headers
78 cheese-dbus-infos.h:  cheese-dbus-infos.xml
79         dbus-binding-tool --prefix=cheese_dbus --mode=glib-server $<> $@
80