diff options
author | Alessio Treglia <alessio@debian.org> | 2011-08-27 10:54:21 +0200 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2011-08-27 10:54:21 +0200 |
commit | 87ebc2af1f0417b3bc38a233e28ff673eff4fa51 (patch) | |
tree | 747dd400400bf7593642d0ab321a4e37df2ee188 /src/Makefile.am | |
parent | 0898b615a2ea01bd65aa1d560350b48bd036b5b6 (diff) |
Imported Upstream version 3.1.5upstream/3.1.5
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 40 |
1 files changed, 27 insertions, 13 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 8a4f587..3fa8558 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,22 +1,31 @@ bin_PROGRAMS = simple-scan simple_scan_SOURCES = \ - book.c \ - book.h \ - book-view.c \ - book-view.h \ - page.c \ - page.h \ - page-view.c \ - page-view.h \ - simple-scan.c \ - scanner.c \ - scanner.h \ - ui.c \ - ui.h + 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 + +simple_scan_VALAFLAGS = \ + --pkg=zlib \ + --pkg=gudev-1.0 \ + --pkg=gio-2.0 \ + --pkg=gtk+-3.0 + +if HAVE_COLORD +simple_scan_VALAFLAGS += -D HAVE_COLORD +endif simple_scan_CFLAGS = \ $(SIMPLE_SCAN_CFLAGS) \ + $(COLORD_CFLAGS) \ $(WARN_CFLAGS) \ -DVERSION=\"$(VERSION)\" \ -DGETTEXT_PACKAGE=\"$(GETTEXT_PACKAGE)\" \ @@ -28,9 +37,14 @@ simple_scan_CFLAGS = \ simple_scan_LDADD = \ $(SIMPLE_SCAN_LIBS) \ + $(COLORD_LIBS) \ -lsane \ -ljpeg \ -lm +CLEANFILES = \ + $(patsubst %.vala,%.c,$(filter %.vala, $(SOURCES))) \ + *_vala.stamp + DISTCLEANFILES = \ Makefile.in |