[go: up one dir, main page]

Menu

[r99]: / trunk / Makefile.am  Maximize  Restore  History

Download this file

102 lines (82 with data), 1.7 kB

  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
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
## Process this file with automake to produce Makefile.in
## AUTOMAKE_OPTIONS = foreign
ACLOCAL_AMFLAGS = -I m4
scanbdconfdir = $(sysconfdir)/scanbd/
scanbuttondconfdir = $(scanbdconfdir)/scanbuttond/backend/
sbin_PROGRAMS = scanbd
scanbd_SOURCES = \
scanbd.c \
common.h \
daemonize.c \
dbus.c \
udev.c \
udev.h \
slog.c \
slog.h \
scanbd_dbus.h \
scanbd.h
AM_CFLAGS = \
$(OS_CFLAGS) \
$(OS_CPPFLAGS) \
$(SCANNER_CFLAGS) \
$(EXTRA_CFLAGS) \
$(CONFUSE_CFLAGS) \
$(UDEV_CFLAGS) \
$(DBUS_CFLAGS) \
$(HAL_CFLAGS) \
-DCFG_DIR=\"$(scanbuttondconfdir)\"
AM_LDFLAGS = \
$(OS_LIBS) \
$(CONFUSE_LIBS)\
$(UDEV_LIBS) \
$(DBUS_LIBS) \
$(HAL_LIBS)
if USE_SANE
scanbd_SOURCES += \
sane.c
AM_CFLAGS += \
$(SANE_CFLAGS)
AM_LDFLAGS += \
$(SANE_LIBS)
endif
if USE_SCANBUTTOND
SUBDIRS = scanbuttond
noinst_PROGRAMS = scanbd_test
AM_CFLAGS += \
-I scanbuttond/include
AM_LDFLAGS += \
$(LIBUSB_LIBS)
scanbd_LDADD = \
-Lscanbuttond/interface \
-lusbi
scanbd_SOURCES += \
scanbuttond_wrapper.c \
scanbuttond_loader.c \
scanbuttond_wrapper.h \
scanbuttond_loader.h
scanbd_test_SOURCES = \
test.c \
slog.c \
scanbuttond_loader.c \
scanbuttond_wrapper.c \
dbus.c
endif
# TODO: Edit 99-saned.rules and sample config to set correct userid depending on OS
# Install 99-saned.rules or saned.fdi. Add automatic config for xinetd / systemd
dist_doc_DATA = \
saned.fdi \
scanadf.script \
scanbd.conf \
scanbd.conf.bsd \
scanbd_dbus.conf \
scanbd.debian \
scanbdservice.conf \
example.script \
99-saned.rules \
contrib/action.script \
contrib/PKGBUILD
scanbdconf_DATA = \
scanbd.conf \
example.script \
scanadf.script \
test.script