summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2013-10-05 15:29:30 +0100
committerAlessio Treglia <alessio@debian.org>2013-10-05 15:29:30 +0100
commite51f2bbb5a0f25b37330891d769b996a2c13d277 (patch)
tree25d429c588012a476c15b6ca5b4bf393613beca3 /src/Makefile.am
parent438230655b539ad6aa15b017a792cab8ca7f6d89 (diff)
parent2d71d20a62ca8f6989d86db58ce64c7a862675dd (diff)
Merge tag 'upstream/3.10.0'
Upstream version 3.10.0
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 3fa8558..6d0f493 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,29 +1,37 @@
bin_PROGRAMS = simple-scan
+resources.c: $(top_srcdir)/data/simple-scan.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir=$(top_srcdir)/data/ $(top_srcdir)/data/simple-scan.gresource.xml)
+ $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/data/ --generate-source $<
+
simple_scan_SOURCES = \
config.vapi \
book.vala \
book-view.vala \
colord.vapi \
- jpeglib.vapi \
page.vala \
page-view.vala \
sane.vapi \
simple-scan.vala \
scanner.vala \
- ui.vala
+ ui.vala \
+ autosave-manager.vala \
+ resources.c
simple_scan_VALAFLAGS = \
--pkg=zlib \
--pkg=gudev-1.0 \
--pkg=gio-2.0 \
- --pkg=gtk+-3.0
+ --pkg=gtk+-3.0 \
+ --pkg=sqlite3 \
+ --debug \
+ --target-glib 2.32
if HAVE_COLORD
simple_scan_VALAFLAGS += -D HAVE_COLORD
endif
simple_scan_CFLAGS = \
+ -w \
$(SIMPLE_SCAN_CFLAGS) \
$(COLORD_CFLAGS) \
$(WARN_CFLAGS) \
@@ -39,11 +47,11 @@ simple_scan_LDADD = \
$(SIMPLE_SCAN_LIBS) \
$(COLORD_LIBS) \
-lsane \
- -ljpeg \
-lm
CLEANFILES = \
$(patsubst %.vala,%.c,$(filter %.vala, $(SOURCES))) \
+ resources.c \
*_vala.stamp
DISTCLEANFILES = \