1999-08-09 18:06:01 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
VPATH = @srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
top_builddir = ..
|
|
|
|
|
2002-01-08 19:06:54 +00:00
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
libsanedir = $(libdir)/sane
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
configdir = ${sysconfdir}/sane.d
|
|
|
|
|
|
|
|
V_MAJOR = @V_MAJOR@
|
|
|
|
V_MINOR = @V_MINOR@
|
|
|
|
V_REV = @V_REV@
|
|
|
|
DLL_PRELOAD = @DLL_PRELOAD@
|
2001-06-09 14:46:59 +00:00
|
|
|
DLL_PRELOAD_EXTRAS = $(foreach be,$(DLL_PRELOAD),$($(addprefix EXTRA_,$(be))))\
|
|
|
|
@DJPEG@
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
MKDIR = $(top_srcdir)/mkinstalldirs
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
LN_S = @LN_S@
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
2000-11-24 15:25:00 +00:00
|
|
|
BACKENDLIBS = @LIBS@ @DL_LIB@
|
1999-08-09 18:06:01 +00:00
|
|
|
DEFS = @DEFS@
|
|
|
|
|
|
|
|
LIBTOOL = ../libtool
|
|
|
|
MCOMP = --mode=compile
|
|
|
|
MLINK = --mode=link
|
|
|
|
MINST = --mode=install
|
|
|
|
|
|
|
|
COMPILE = $(CC) -c $(CFLAGS) $(DEFS) $(INCLUDES) $(CPPFLAGS)
|
|
|
|
|
2002-02-13 20:48:29 +00:00
|
|
|
DISTCLEAN_FILES = @DISTCLEAN_FILES@
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
@SET_MAKE@
|
|
|
|
|
2001-01-20 23:43:34 +00:00
|
|
|
PRELOADABLE_BACKENDS = abaton agfafocus apple artec as6e avision bh canon \
|
2002-04-07 12:27:54 +00:00
|
|
|
canon630u @CANON_PP@ coolscan dc25 @DC210@ @DC240@ dmc epson \
|
2002-04-17 18:55:44 +00:00
|
|
|
fujitsu @GPHOTO2@ hp matsushita microtek microtek2 mustek mustek_pp \
|
2002-04-07 12:27:54 +00:00
|
|
|
mustek_usb nec @NET@ pie @PINT@ plustek @PNM@ @QCAM@ ricoh s9036 \
|
2002-04-13 19:07:49 +00:00
|
|
|
sceptre sharp @SM3600@ @SNAPSCAN@ sp15c st400 tamarack test \
|
|
|
|
teco1 umax umax_pp umax1220u @V4L@
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
ALL_BACKENDS = $(PRELOADABLE_BACKENDS) dll
|
|
|
|
|
|
|
|
LIBS = $(addprefix libsane-,$(addsuffix .la,$(ALL_BACKENDS)))
|
|
|
|
CONFIGS = $(addsuffix .conf,$(ALL_BACKENDS)) saned.conf
|
|
|
|
|
|
|
|
EXTRA = sane_strstatus.lo ../sanei/sanei_init_debug.lo ../sanei/sanei_config.lo
|
|
|
|
|
|
|
|
# With libtool-1.0, we have to mention each library object explicitly... ;-(
|
2002-02-24 13:10:33 +00:00
|
|
|
LIBLIB_FUNCS = $(basename @LIBOBJS@ @ALLOCA@)
|
1999-08-09 18:06:01 +00:00
|
|
|
LIBOBJS = $(addprefix ../lib/,$(addsuffix .lo,$(LIBLIB_FUNCS)))
|
|
|
|
|
2002-03-20 23:01:02 +00:00
|
|
|
DISTFILES = abaton.c abaton.conf abaton.h agfafocus.c agfafocus.conf \
|
|
|
|
agfafocus.h apple.c apple.conf apple.h artec.c artec.conf artec.h as6e.c \
|
|
|
|
as6e.h avision.c avision.conf avision.h bh.c bh.conf bh.h canon.c \
|
2002-04-07 12:27:54 +00:00
|
|
|
canon.conf canon.h canon-sane.c canon-scsi.c canon630u.c canon630u-common.c \
|
|
|
|
canon630u.conf canon_pp.conf canon_pp.h canon_pp.c canon_pp-dev.c \
|
|
|
|
canon_pp-dev.h canon_pp-io.c canon_pp-io.h cderror.h cdjpeg.h coolscan.c \
|
|
|
|
coolscan.conf coolscan.h coolscan-scsidef.h dc210.c dc210.conf dc210.h \
|
2002-03-20 23:01:02 +00:00
|
|
|
dc240.c dc240.conf dc240.h dc25.c dc25.conf dc25.h djpeg.c djpeg.README \
|
|
|
|
dll.aliases dll.c dll.conf dmc.c dmc.conf dmc.h epson.c epson.conf epson.h \
|
2002-04-17 18:55:44 +00:00
|
|
|
fujitsu.c fujitsu.conf fujitsu.h fujitsu-scsi.h \
|
2002-03-20 23:01:02 +00:00
|
|
|
gphoto2.c gphoto2.conf gphoto2.h hp-accessor.c hp-accessor.h hp.c hp.conf \
|
|
|
|
hp-device.c hp-device.h hp.h hp-handle.c hp-handle.h hp-hpmem.c hp-option.c \
|
|
|
|
hp-option.h hp.README hp-scl.c hp-scl.h hp-scsi.h hp.TODO jinclude.h \
|
2002-04-07 12:55:28 +00:00
|
|
|
lm9830.h \
|
2002-04-17 18:55:44 +00:00
|
|
|
Makefile.in matsushita.c \
|
2002-03-20 23:01:02 +00:00
|
|
|
matsushita.conf matsushita.h microtek2.c microtek2.conf microtek2.h \
|
|
|
|
microtek.c microtek.conf microtek.h mustek.c mustek.conf mustek.h \
|
|
|
|
mustek_pp.c mustek_pp.conf mustek_pp.h mustek_usb.c mustek_usb.conf \
|
2002-01-08 19:06:54 +00:00
|
|
|
mustek_usb.h mustek_usb_high.c mustek_usb_high.h mustek_usb_low.c \
|
2002-03-20 23:01:02 +00:00
|
|
|
mustek_usb_low.h mustek_usb_mid.c mustek_usb_mid.h nec.c nec.conf nec.h \
|
|
|
|
net.c net.conf net.h pie.c pie.conf pie-scsidef.h pint.c pint.h plustek.c \
|
|
|
|
plustek.conf plustek-devs.c plustek.h plustek-pp.c plustek-share.h \
|
|
|
|
plustek-usb.c plustek-usb.h plustek-usbhw.c plustek-usbimg.c \
|
|
|
|
plustek-usbio.c plustek-usbmap.c plustek-usbscan.c plustek-usbshading.c \
|
|
|
|
pnm.c pnm.c-bad qcam.c qcam.conf qcam.h ricoh.c ricoh.conf ricoh.h \
|
|
|
|
ricoh-scsi.c s9036.c s9036.conf s9036.h saned.conf sane_strstatus.c \
|
|
|
|
sceptre.c sceptre.conf sceptre.h sharp.c sharp.conf sharp.h sm3600.c \
|
|
|
|
sm3600-color.c sm3600-gray.c sm3600.h sm3600-homerun.c sm3600-scanmtek.c \
|
|
|
|
sm3600-scantool.h sm3600-scanusb.c sm3600-scanutil.c snapscan.c \
|
|
|
|
snapscan.conf snapscan.h snapscan-scsi.c snapscan-sources.c \
|
2002-03-24 12:32:38 +00:00
|
|
|
snapscan-sources.h snapscan-usb.c snapscan-usb.h snapscan-options.c sp15c.c \
|
2002-03-20 23:01:02 +00:00
|
|
|
sp15c.conf sp15c.h sp15c-scsi.h st400.c st400.conf st400.h stubs.c \
|
2002-04-08 23:47:03 +00:00
|
|
|
tamarack.c tamarack.conf tamarack.h teco1.c teco1.h \
|
2002-04-13 19:07:49 +00:00
|
|
|
teco1.conf test.c test.conf test.h test-picture.c umax1220u.c \
|
|
|
|
umax1220u-common.c \
|
2002-03-20 23:01:02 +00:00
|
|
|
umax1220u.conf umax.c umax.conf umax.h umax_pp.c umax_pp.conf umax_pp.h \
|
|
|
|
umax_pp_low.c umax_pp_low.h umax_pp_mid.c umax_pp_mid.h umax-scanner.c \
|
|
|
|
umax-scanner.h umax-scsidef.h umax-uc1200s.c umax-uc1200se.c umax-uc1260.c \
|
|
|
|
umax-uc630.c umax-uc840.c umax-ug630.c umax-ug80.c umax-usb.c v4l.c \
|
|
|
|
v4l.conf v4l-frequencies.h v4l-grab.h v4l.h
|
2002-01-08 19:06:54 +00:00
|
|
|
|
|
|
|
|
|
|
|
.PHONY: all clean depend dist distclean install uninstall
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-%.la: %.lo %-s.lo $(EXTRA) $(LIBOBJS)
|
|
|
|
@$(LIBTOOL) $(MLINK) $(CC) -export-dynamic -o $@ $($*_LIBS) \
|
2000-11-24 15:25:00 +00:00
|
|
|
$(LDFLAGS) $(BACKENDLIBS) $^ -rpath $(libsanedir) \
|
1999-08-09 18:06:01 +00:00
|
|
|
-version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
|
|
|
|
|
|
|
|
%-s.lo: %-s.c
|
|
|
|
@$(LIBTOOL) $(MCOMP) $(COMPILE) -DSTUBS -DBACKEND_NAME=$* $<
|
|
|
|
|
|
|
|
%.lo: %.c
|
|
|
|
@$(LIBTOOL) $(MCOMP) $(COMPILE) -DBACKEND_NAME=$* \
|
|
|
|
-DLIBDIR=$(libsanedir) $<
|
|
|
|
|
|
|
|
%-s.c: $(srcdir)/stubs.c
|
|
|
|
rm -f $@
|
|
|
|
$(LN_S) $(srcdir)/stubs.c $@
|
|
|
|
|
|
|
|
# Don't delete any intermediate files.
|
|
|
|
.PRECIOUS: %-s.c %-s.lo %.lo dll-preload.c
|
|
|
|
|
|
|
|
all: $(LIBS) libsane.la
|
|
|
|
|
|
|
|
install:
|
2002-03-29 13:27:16 +00:00
|
|
|
$(MKDIR) $(DESTDIR)$(libdir) $(DESTDIR)$(libsanedir) $(DESTDIR)$(configdir)
|
1999-08-09 18:06:01 +00:00
|
|
|
@list="$(LIBS)"; for be in $$list; do \
|
2002-03-29 13:27:16 +00:00
|
|
|
echo installing $${be} in $(libsanedir)/$${be}...; \
|
|
|
|
$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) $${be} \
|
|
|
|
$(DESTDIR)$(libsanedir)/$${be} || exit 1; \
|
1999-08-09 18:06:01 +00:00
|
|
|
done
|
2002-03-29 13:27:16 +00:00
|
|
|
@$(LIBTOOL) $(MINST) --finish $(DESTDIR)$(libsanedir)
|
2000-03-05 13:57:25 +00:00
|
|
|
@# Assume the dll name without any versions is last
|
2000-08-12 15:11:46 +00:00
|
|
|
@dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \
|
2002-03-29 13:27:16 +00:00
|
|
|
list="$(ALL_BACKENDS)"; cd $(DESTDIR)$(libsanedir) && for be in $$list; do \
|
2000-03-05 13:57:25 +00:00
|
|
|
file=libsane-$${be}.$$dllend.$(V_MAJOR); \
|
1999-08-09 18:06:01 +00:00
|
|
|
lib=`grep dlname= libsane-$${be}.la | cut -f2 -d"'"`; \
|
|
|
|
if test ! -f $${file} -a -n "$${lib}"; then \
|
|
|
|
$(LN_S) $${lib} $${file}; \
|
|
|
|
fi; \
|
|
|
|
done
|
2000-03-05 13:57:25 +00:00
|
|
|
@# Assume the dll name without any versions is last
|
2000-08-12 15:11:46 +00:00
|
|
|
@dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \
|
2002-03-29 13:27:16 +00:00
|
|
|
rm -f $(DESTDIR)$(libdir)/libsane.a $(DESTDIR)$(libdir)/libsane.$$dllend \
|
|
|
|
$(DESTDIR)$(libdir)/libsane.$$dllend.$(V_MAJOR)*; \
|
|
|
|
$(LN_S) sane/libsane-dll.a $(DESTDIR)$(libdir)/libsane.a; \
|
|
|
|
$(LN_S) sane/libsane-dll.$$dllend $(DESTDIR)$(libdir)/libsane.$$dllend ; \
|
|
|
|
cd $(DESTDIR)$(libsanedir) && for n in libsane-dll.$$dllend.$(V_MAJOR)*; do \
|
1999-08-09 18:06:01 +00:00
|
|
|
nn=`echo $$n | sed 's,^libsane-dll,libsane,'`; \
|
|
|
|
(cd ..; $(LN_S) sane/$$n $$nn); \
|
|
|
|
done || exit 1
|
2002-03-29 13:27:16 +00:00
|
|
|
$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) libsane.la \
|
|
|
|
$(DESTDIR)$(libdir)/libsane.la
|
1999-08-09 18:06:01 +00:00
|
|
|
@list="$(CONFIGS)"; for cfg in $$list; do \
|
|
|
|
if test ! -r $(srcdir)/$${cfg}; then continue; fi; \
|
2002-03-29 13:27:16 +00:00
|
|
|
if test -f $(DESTDIR)$(configdir)/$${cfg}; then \
|
1999-08-09 18:06:01 +00:00
|
|
|
echo NOT overwriting $${cfg} in $(configdir)...; \
|
|
|
|
else \
|
2002-03-29 13:27:16 +00:00
|
|
|
echo installing $${cfg} in $(configdir)/$${cfg}...; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$${cfg} $(DESTDIR)$(configdir)/$${cfg} \
|
|
|
|
|| exit 1; \
|
1999-08-09 18:06:01 +00:00
|
|
|
fi; \
|
|
|
|
done
|
|
|
|
|
2001-05-21 20:20:54 +00:00
|
|
|
uninstall:
|
|
|
|
rm -rf $(libsanedir) $(configdir)
|
|
|
|
rm -f $(libdir)/libsane.*
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
dll.lo: dll-preload.c
|
|
|
|
|
|
|
|
dll-preload.c:
|
|
|
|
rm -f $@
|
|
|
|
list="$(DLL_PRELOAD)"; for be in $$list; do \
|
|
|
|
echo "PRELOAD_DECL($$be)" >> $@; \
|
|
|
|
done
|
|
|
|
echo "static struct backend preloaded_backends[] = {" >> $@
|
|
|
|
sep=""; \
|
|
|
|
list="$(DLL_PRELOAD)"; \
|
|
|
|
if test -z "$${list}"; then \
|
|
|
|
echo { 0 } >> $@; \
|
|
|
|
else \
|
|
|
|
for be in $$list; do \
|
|
|
|
echo "$${sep}PRELOAD_DEFN($$be)" >> $@; \
|
|
|
|
sep=","; \
|
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
echo "};" >> $@
|
|
|
|
|
|
|
|
libsane.la: dll.lo dll-s.lo $(EXTRA) $(addsuffix .lo,$(DLL_PRELOAD)) $(LIBOBJS)
|
2000-11-24 15:25:00 +00:00
|
|
|
@$(LIBTOOL) $(MLINK) $(CC) -o $@ $(LDFLAGS) $(BACKENDLIBS) $^ \
|
1999-08-09 18:06:01 +00:00
|
|
|
$(addsuffix .lo,$(DLL_PRELOAD_EXTRAS)) \
|
|
|
|
-rpath $(libdir) -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
|
|
|
|
|
|
|
|
# additional dependencies
|
|
|
|
|
2002-04-01 22:54:25 +00:00
|
|
|
EXTRA_canon_pp = canon_pp-io canon_pp-dev
|
1999-08-09 18:06:01 +00:00
|
|
|
EXTRA_hp = hp-accessor hp-device hp-handle hp-hpmem hp-option hp-scl
|
2001-05-03 19:34:01 +00:00
|
|
|
EXTRA_umax_pp = umax_pp_low umax_pp_mid
|
2001-06-09 14:46:59 +00:00
|
|
|
# EXTRA_dc210 = djpeg
|
|
|
|
# EXTRA_dc240 = djpeg
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
# When preloading dll, we need to add in all preloaded objects:
|
|
|
|
libsane-dll.la: $(addsuffix .lo,$(DLL_PRELOAD))
|
|
|
|
libsane-dll.la: $(addsuffix .lo,$(DLL_PRELOAD_EXTRAS))
|
|
|
|
|
|
|
|
# We must not build SANE backend libraries that contain unresolved references
|
|
|
|
# to any of the sanei routines. These explicit dependencies take care of
|
|
|
|
# this:
|
|
|
|
|
|
|
|
libsane-abaton.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-abaton.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-abaton.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-agfafocus.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-agfafocus.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-agfafocus.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-apple.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-apple.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-apple.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-artec.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-artec.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-artec.la: ../sanei/sanei_scsi.lo
|
2000-11-20 22:59:02 +00:00
|
|
|
libsane-as6e.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-as6e.la: ../sanei/sanei_constrain_value.lo
|
2000-03-05 13:57:25 +00:00
|
|
|
libsane-avision.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-avision.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-avision.la: ../sanei/sanei_scsi.lo
|
2001-01-20 23:43:34 +00:00
|
|
|
libsane-bh.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-bh.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-bh.la: ../sanei/sanei_scsi.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-canon.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-canon.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-canon.la: ../sanei/sanei_scsi.lo
|
2002-04-07 12:27:54 +00:00
|
|
|
libsane-canon630u.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-canon630u.la: ../sanei/sanei_usb.lo
|
2002-04-01 22:54:25 +00:00
|
|
|
libsane-canon_pp.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-canon_pp.la: $(addsuffix .lo,$(EXTRA_canon_pp))
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-coolscan.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-coolscan.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-coolscan.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-dc25.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-dc210.la: ../sanei/sanei_constrain_value.lo djpeg.lo
|
2001-04-07 18:58:45 +00:00
|
|
|
libsane-dc240.la: ../sanei/sanei_constrain_value.lo djpeg.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-dmc.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-dmc.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-dmc.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-epson.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-epson.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-epson.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-epson.la: ../sanei/sanei_pio.lo
|
2002-04-17 18:55:44 +00:00
|
|
|
libsane-fujitsu.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-fujitsu.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-fujitsu.la: ../sanei/sanei_scsi.lo
|
2001-09-10 23:10:42 +00:00
|
|
|
libsane-gphoto2.la: ../sanei/sanei_constrain_value.lo djpeg.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-hp.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-hp.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-hp.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-hp.la: $(addsuffix .lo,$(EXTRA_hp))
|
|
|
|
libsane-hp.la: ../sanei/sanei_pio.lo
|
2002-03-06 23:54:26 +00:00
|
|
|
libsane-matsushita.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-matsushita.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-matsushita.la: ../sanei/sanei_scsi.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-microtek.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-microtek.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-microtek.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-microtek2.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-microtek2.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-microtek2.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-mustek.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-mustek.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-mustek.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-mustek.la: ../sanei/sanei_ab306.lo
|
2000-08-12 15:11:46 +00:00
|
|
|
libsane-mustek_pp.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-mustek_pp.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-mustek_pp.la: ../sanei/sanei_pa4s2.lo
|
2001-09-09 14:39:11 +00:00
|
|
|
libsane-mustek_usb.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-mustek_usb.la: ../sanei/sanei_usb.lo
|
2000-11-21 01:03:33 +00:00
|
|
|
libsane-nec.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-nec.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-nec.la: ../sanei/sanei_scsi.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-net.la: ../sanei/sanei_codec_bin.lo
|
|
|
|
libsane-net.la: ../sanei/sanei_net.lo
|
|
|
|
libsane-net.la: ../sanei/sanei_wire.lo
|
|
|
|
libsane-pint.la: ../sanei/sanei_constrain_value.lo
|
2000-08-12 15:11:46 +00:00
|
|
|
libsane-plustek.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-plustek.la: ../sanei/sanei_constrain_value.lo
|
2001-12-29 15:34:03 +00:00
|
|
|
libsane-plustek.la: ../sanei/sanei_usb.lo
|
2002-01-10 19:39:32 +00:00
|
|
|
libsane-plustek.la: ../sanei/sanei_lm983x.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-pnm.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-qcam.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-ricoh.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-ricoh.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-ricoh.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-s9036.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-s9036.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-s9036.la: ../sanei/sanei_scsi.lo
|
2000-11-13 10:50:41 +00:00
|
|
|
libsane-pie.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-pie.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-pie.la: ../sanei/sanei_scsi.lo
|
2002-02-21 18:45:37 +00:00
|
|
|
libsane-sceptre.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-sceptre.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-sceptre.la: ../sanei/sanei_scsi.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-sharp.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-sharp.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-sharp.la: ../sanei/sanei_scsi.lo
|
2001-05-16 18:59:55 +00:00
|
|
|
libsane-sm3600.la: ../sanei/sanei_constrain_value.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-snapscan.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-snapscan.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-snapscan.la: ../sanei/sanei_scsi.lo
|
2001-10-27 09:08:17 +00:00
|
|
|
libsane-snapscan.la: ../sanei/sanei_usb.lo
|
2000-03-05 13:57:25 +00:00
|
|
|
libsane-sp15c.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-sp15c.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-sp15c.la: ../sanei/sanei_scsi.lo
|
2001-09-05 19:54:36 +00:00
|
|
|
libsane-st400.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-st400.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-st400.la: ../sanei/sanei_scsi.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-tamarack.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-tamarack.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-tamarack.la: ../sanei/sanei_scsi.lo
|
2002-04-13 19:07:49 +00:00
|
|
|
libsane-test.la: ../sanei/sanei_constrain_value.lo
|
2002-04-08 23:47:03 +00:00
|
|
|
libsane-teco1.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-teco1.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-teco1.la: ../sanei/sanei_scsi.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-umax.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-umax.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-umax.la: ../sanei/sanei_scsi.lo
|
2002-03-08 23:29:37 +00:00
|
|
|
libsane-umax.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-umax.la: ../sanei/sanei_pv8630.lo
|
2000-08-12 15:11:46 +00:00
|
|
|
libsane-v4l.la: ../sanei/sanei_constrain_value.lo
|
2001-05-03 19:34:01 +00:00
|
|
|
libsane-umax_pp.la: $(addsuffix .lo,$(EXTRA_umax_pp))
|
|
|
|
libsane-umax_pp.la: ../sanei/sanei_constrain_value.lo
|
2002-01-06 20:43:10 +00:00
|
|
|
libsane-umax1220u.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-umax1220u.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-umax1220u.la: ../sanei/sanei_pv8630.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
ifneq ($(DLL_PRELOAD),)
|
|
|
|
# need to make dll dependent on all sanei files:
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_config.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_codec_bin.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_net.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_wire.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_ab306.lo
|
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_pio.lo
|
2000-08-12 15:11:46 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_pa4s2.lo
|
2001-08-30 19:04:12 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_usb.lo
|
2002-01-06 20:43:10 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_pv8630.lo
|
2002-01-10 19:39:32 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_lm983x.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
depend:
|
|
|
|
makedepend $(INCLUDES) *.c
|
|
|
|
|
|
|
|
clean:
|
2002-02-13 20:48:29 +00:00
|
|
|
rm -f *.lo *.o *.la libsane.la dll-preload.c
|
1999-08-09 18:06:01 +00:00
|
|
|
find . -type l -name \*-s.c | xargs rm -f
|
|
|
|
rm -rf .libs
|
|
|
|
|
|
|
|
distclean: clean
|
2002-02-13 20:48:29 +00:00
|
|
|
rm -f $(DISTCLEAN_FILES)
|
1999-08-09 18:06:01 +00:00
|
|
|
rm -f Makefile libsane.so
|
|
|
|
|
2002-01-08 19:06:54 +00:00
|
|
|
dist: $(DISTFILES)
|
|
|
|
for file in $(DISTFILES); do \
|
|
|
|
ln $$file $(distdir)/backend 2> /dev/null \
|
|
|
|
|| cp -p $$file $(distdir)/backend ; \
|
|
|
|
done
|