summaryrefslogtreecommitdiff
path: root/frontend/Makefile.am
blob: d27acf280630e01aadbe2f8b5c8e6328b239053a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
##  Makefile.am -- an automake template for Makefile.in file
##  Copyright (C) 2009 Chris Bagwell and Sane Developers.
##
##  This file is part of the "Sane" build infra-structure.  See
##  included LICENSE file for license information.

EXTRA_PROGRAMS = test tstbackend

bin_PROGRAMS = scanimage

if COMPILE_SANED
sbin_PROGRAMS = saned
else
EXTRA_PROGRAMS += saned
endif

AM_CPPFLAGS += -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include

scanimage_SOURCES = scanimage.c sicc.c sicc.h stiff.c stiff.h
scanimage_LDADD = ../backend/libsane.la ../sanei/libsanei.la ../lib/liblib.la \
                  $(PNG_LIBS) $(JPEG_LIBS)

saned_SOURCES = saned.c
saned_CPPFLAGS = $(AM_CPPFLAGS) $(AVAHI_CFLAGS)
saned_LDADD = ../backend/libsane.la ../sanei/libsanei.la ../lib/liblib.la \
              $(SYSLOG_LIBS) $(SYSTEMD_LIBS) $(AVAHI_LIBS)

test_SOURCES = test.c
test_LDADD = ../lib/liblib.la ../backend/libsane.la

tstbackend_SOURCES = tstbackend.c
tstbackend_LDADD = ../lib/liblib.la ../backend/libsane.la

clean-local:
	rm -f test tstbackend