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@
|
2006-01-05 16:27:10 +00:00
|
|
|
package_version = @PACKAGE_STRING@
|
2002-01-08 19:06:54 +00:00
|
|
|
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@
|
2006-06-07 07:28:31 +00:00
|
|
|
locksanedir = @locksanedir@
|
1999-08-09 18:06:01 +00:00
|
|
|
libdir = @libdir@
|
|
|
|
libsanedir = $(libdir)/sane
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
configdir = ${sysconfdir}/sane.d
|
2005-07-15 21:59:25 +00:00
|
|
|
BEOS_ADDONDIR = @BEOS_ADDONDIR@
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
V_MAJOR = @V_MAJOR@
|
|
|
|
V_MINOR = @V_MINOR@
|
|
|
|
V_REV = @V_REV@
|
|
|
|
DLL_PRELOAD = @DLL_PRELOAD@
|
2003-07-26 17:07:36 +00:00
|
|
|
DLL_PRELOAD_EXTRAS = $(foreach be,$(DLL_PRELOAD),$($(addprefix EXTRA_,$(be))))
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
MKDIR = $(top_srcdir)/mkinstalldirs
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
2005-04-01 13:57:47 +00:00
|
|
|
INSTALL_LOCKPATH = @INSTALL_LOCKPATH@
|
|
|
|
LOCKPATH_GROUP = @LOCKPATH_GROUP@
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
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@
|
2002-12-01 15:30:18 +00:00
|
|
|
DYNAMIC_FLAG=@DYNAMIC_FLAG@
|
2005-10-29 20:01:54 +00:00
|
|
|
USE_LINKS=@USE_LINKS@
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
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@
|
|
|
|
|
2005-11-23 20:20:11 +00:00
|
|
|
FIRMWARE_DIRS = artec_eplus48u gt68xx snapscan
|
2003-05-03 11:23:08 +00:00
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
@SET_MAKE@
|
|
|
|
|
2003-06-06 17:07:02 +00:00
|
|
|
PRELOADABLE_BACKENDS = @BACKENDS@
|
2002-06-02 18:56:56 +00:00
|
|
|
|
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-05-26 14:52:01 +00:00
|
|
|
ifneq (@LIBOBJS@ @ALLOCA@,)
|
2002-02-24 13:10:33 +00:00
|
|
|
LIBLIB_FUNCS = $(basename @LIBOBJS@ @ALLOCA@)
|
2002-05-26 14:52:01 +00:00
|
|
|
else
|
|
|
|
LIBLIB_FUNCS =
|
|
|
|
endif
|
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
LIBOBJS = $(addprefix ../lib/,$(addsuffix .lo,$(LIBLIB_FUNCS)))
|
|
|
|
|
2006-01-05 16:27:10 +00:00
|
|
|
DISTFILES = abaton.c abaton.conf.in abaton.h agfafocus.c agfafocus.conf.in \
|
|
|
|
agfafocus.h apple.c apple.conf.in apple.h artec.c artec.conf.in artec.h \
|
|
|
|
artec_eplus48u.c artec_eplus48u.h artec_eplus48u.conf.in as6e.c \
|
|
|
|
as6e.h avision.c avision.conf.in avision.h bh.c bh.conf.in bh.h canon.c \
|
|
|
|
canon.conf.in canon.h canon-sane.c canon-scsi.c canon630u.c canon630u-common.c \
|
|
|
|
canon630u.conf.in canon_pp.conf.in canon_pp.h canon_pp.c canon_pp-dev.c \
|
2003-07-26 17:07:36 +00:00
|
|
|
canon_pp-dev.h canon_pp-io.c canon_pp-io.h coolscan.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
coolscan.conf.in coolscan.h coolscan-scsidef.h coolscan2.c coolscan2.conf.in \
|
|
|
|
dc210.c dc210.conf.in dc210.h \
|
2006-05-24 20:56:15 +00:00
|
|
|
dc240.c dc240.conf.in dc240.h dc25.c dc25.conf.in dc25.h dell1600n_net.c\
|
2006-01-05 16:27:10 +00:00
|
|
|
dll.aliases dll.c dll.conf.in dmc.c dmc.conf.in dmc.h \
|
|
|
|
epson.c epson_scsi.c epson_usb.c epson.conf.in epson.h epson_scsi.h \
|
2002-10-25 12:16:15 +00:00
|
|
|
epson_usb.h \
|
2006-01-05 16:27:10 +00:00
|
|
|
fujitsu.c fujitsu.conf.in fujitsu.h fujitsu-scsi.h \
|
|
|
|
gphoto2.c gphoto2.conf.in gphoto2.h \
|
2002-10-25 12:16:15 +00:00
|
|
|
gt68xx.c gt68xx.h gt68xx_high.c gt68xx_high.h gt68xx_mid.c gt68xx_mid.h \
|
|
|
|
gt68xx_gt6801.c gt68xx_gt6801.h gt68xx_gt6816.c gt68xx_gt6816.h \
|
|
|
|
gt68xx_low.c gt68xx_low.h gt68xx_devices.c gt68xx_generic.c \
|
2005-10-16 19:06:14 +00:00
|
|
|
gt68xx_generic.h gt68xx_shm_channel.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
gt68xx_shm_channel.h gt68xx.conf.in \
|
2005-06-27 20:07:45 +00:00
|
|
|
genesys.c genesys.h genesys_gl646.c genesys_low.h \
|
2006-01-05 16:27:10 +00:00
|
|
|
genesys.conf.in genesys_devices.c genesys_gl841.c \
|
2005-12-18 13:51:51 +00:00
|
|
|
genesys_conv.c genesys_conv_hlp.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
hp-accessor.c hp-accessor.h hp.c hp.conf.in \
|
2002-03-20 23:01:02 +00:00
|
|
|
hp-device.c hp-device.h hp.h hp-handle.c hp-handle.h hp-hpmem.c hp-option.c \
|
2002-05-29 19:10:12 +00:00
|
|
|
hp-option.h hp.README hp-scl.c hp-scl.h hp-scsi.h hp.TODO \
|
2006-01-05 16:27:10 +00:00
|
|
|
hpsj5s.c hpsj5s.conf.in hpsj5s.h \
|
|
|
|
hp4200.c hp4200.conf.in hp4200.h hp4200_lm9830.c hp4200_lm9830.h \
|
2005-12-20 17:55:45 +00:00
|
|
|
hp3500.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
hp5400.c hp5400.h hp5400.conf.in hp5400_debug.c hp5400_debug.h \
|
2003-06-05 07:05:59 +00:00
|
|
|
hp5400_internal.c hp5400_internal.h hp5400_xfer.h \
|
|
|
|
hp5400_sane.c hp5400_sanei.c hp5400_sanei.h \
|
2006-01-05 16:27:10 +00:00
|
|
|
ibm.c ibm.conf.in ibm.h ibm-scsi.c \
|
|
|
|
leo.c leo.h leo.conf.in \
|
|
|
|
lexmark.c lexmark-x1100.c lexmark.h lexmark.conf.in \
|
2002-04-07 12:55:28 +00:00
|
|
|
lm9830.h \
|
2006-01-05 16:27:10 +00:00
|
|
|
ma1509.c ma1509.conf.in ma1509.h \
|
2002-04-17 18:55:44 +00:00
|
|
|
Makefile.in matsushita.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
matsushita.conf.in matsushita.h microtek2.c microtek2.conf.in microtek2.h \
|
|
|
|
microtek.c microtek.conf.in microtek.h mustek.c mustek.conf.in mustek.h \
|
|
|
|
mustek_pp.c mustek_pp.conf.in mustek_pp.h mustek_pp_cis.c mustek_pp_cis.h \
|
2003-01-12 19:44:26 +00:00
|
|
|
mustek_pp_decl.h mustek_pp_drivers.h mustek_pp_null.c mustek_pp_ccd300.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
mustek_pp_ccd300.h mustek_scsi_pp.c mustek_scsi_pp.h mustek_usb.c mustek_usb.conf.in \
|
2002-01-08 19:06:54 +00:00
|
|
|
mustek_usb.h mustek_usb_high.c mustek_usb_high.h mustek_usb_low.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
mustek_usb_low.h mustek_usb_mid.c mustek_usb_mid.h nec.c nec.conf.in nec.h \
|
2005-10-03 13:27:03 +00:00
|
|
|
mustek_usb2.c mustek_usb2.h mustek_usb2_asic.c \
|
|
|
|
mustek_usb2_asic.h mustek_usb2_high.c mustek_usb2_high.h \
|
|
|
|
mustek_usb2_reflective.c mustek_usb2_transparent.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
net.c net.conf.in net.h niash.c niash_core.c niash_core.h \
|
|
|
|
niash_xfer.c niash_xfer.h pie.c pie.conf.in pie-scsidef.h pint.c pint.h \
|
2006-05-26 07:49:24 +00:00
|
|
|
pixma.c pixma.h pixma_common.c pixma_common.h \
|
|
|
|
pixma_mp150.c pixma_mp730.c pixma_mp750.c \
|
|
|
|
pixma_sane_options.c pixma_sane_options.h pixma_io.h pixma_io_sanei.c \
|
|
|
|
pixma_rename.h \
|
2006-01-05 16:27:10 +00:00
|
|
|
plustek.c plustek.conf.in plustek-usbdevs.c plustek.h \
|
2002-03-20 23:01:02 +00:00
|
|
|
plustek-usb.c plustek-usb.h plustek-usbhw.c plustek-usbimg.c \
|
|
|
|
plustek-usbio.c plustek-usbmap.c plustek-usbscan.c plustek-usbshading.c \
|
2003-09-23 07:10:53 +00:00
|
|
|
plustek-usbcalfile.c plustek-usbcal.c \
|
|
|
|
plustek-pp_dac.c plustek-pp_dbg.h plustek-pp_detect.c plustek-pp_genericio.c \
|
|
|
|
plustek-pp_hwdefs.h plustek-pp_image.c plustek-pp_io.c plustek-pp_map.c \
|
|
|
|
plustek-pp_misc.c plustek-pp_models.c plustek-pp_motor.c plustek-pp_p12.c \
|
|
|
|
plustek-pp_p12ccd.c plustek-pp_p48xx.c plustek-pp_p9636.c plustek-pp_procfs.c \
|
|
|
|
plustek-pp_procs.h plustek-pp_ptdrv.c plustek-pp_scale.c plustek-pp_scan.h \
|
|
|
|
plustek-pp_scandata.h plustek-pp_sysdep.h plustek-pp_tpa.c plustek-pp_types.h \
|
2006-01-05 16:27:10 +00:00
|
|
|
plustek_pp.c plustek-pp_wrapper.c plustek_pp.conf.in plustek-pp.h \
|
|
|
|
pnm.c qcam.c qcam.conf.in qcam.h ricoh.c ricoh.conf.in ricoh.h \
|
|
|
|
ricoh-scsi.c s9036.c s9036.conf.in s9036.h saned.conf.in sane_strstatus.c \
|
|
|
|
sceptre.c sceptre.conf.in sceptre.h sharp.c sharp.conf.in sharp.h sm3600.c \
|
2002-03-20 23:01:02 +00:00
|
|
|
sm3600-color.c sm3600-gray.c sm3600.h sm3600-homerun.c sm3600-scanmtek.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
sm3600-scantool.h sm3600-scanusb.c sm3600-scanutil.c snapscan.c snapscan-data.c \
|
|
|
|
snapscan.conf.in snapscan.h snapscan-scsi.c snapscan-sources.c snapscan-mutex.c \
|
|
|
|
snapscan-sources.h snapscan-usb.c snapscan-usb.h snapscan-options.c sp15c.c \
|
|
|
|
sp15c.conf.in sp15c.h sp15c-scsi.h st400.c st400.conf.in st400.h stubs.c \
|
2006-06-05 18:55:44 +00:00
|
|
|
stv680.c stv680.conf.in stv680.h \
|
2006-01-05 16:27:10 +00:00
|
|
|
tamarack.c tamarack.conf.in tamarack.h teco1.c teco1.h teco1.conf.in \
|
|
|
|
teco2.c teco2.conf.in teco2.h \
|
|
|
|
teco3.c teco3.conf.in teco3.h \
|
|
|
|
test.c test.conf.in test.h test-picture.c umax1220u.c \
|
|
|
|
u12.c u12.h u12-scanner.h u12-hwdef.h u12.conf.in u12-shading.c u12-tpa.c \
|
2004-01-05 20:30:40 +00:00
|
|
|
u12-ccd.c u12-hw.c u12-if.c u12-image.c u12-io.c u12-map.c u12-motor.c \
|
2002-04-13 19:07:49 +00:00
|
|
|
umax1220u-common.c \
|
2006-01-05 16:27:10 +00:00
|
|
|
umax1220u.conf.in umax.c umax.conf.in umax.h umax_pp.c umax_pp.conf.in umax_pp.h \
|
2002-03-20 23:01:02 +00:00
|
|
|
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 \
|
2006-01-05 16:27:10 +00:00
|
|
|
v4l.conf.in v4l-frequencies.h v4l.h \
|
|
|
|
sm3840.conf.in sm3840.c sm3840_lib.c sm3840_params.h sm3840_scan.c sm3840.h \
|
2005-07-17 12:27:59 +00:00
|
|
|
sm3840_lib.h
|
2005-02-20 20:08:04 +00:00
|
|
|
|
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) \
|
2003-09-24 03:41:48 +00:00
|
|
|
$(LDFLAGS) $(BACKENDLIBS) $^ @LIBTOOL_LINK_EXTRA@ -rpath $(libsanedir) \
|
2002-12-01 15:30:18 +00:00
|
|
|
-version-info $(V_MAJOR):$(V_REV):$(V_MINOR) $(DYNAMIC_FLAG)
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
%-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
|
|
|
|
|
2006-01-05 16:27:10 +00:00
|
|
|
all: $(LIBS) libsane.la becfg
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2005-07-30 14:15:50 +00:00
|
|
|
install: $(INSTALL_LOCKPATH) install-be@BE_INSTALL_FLAVOR@ install-libsane install-becfg
|
2005-04-01 13:57:47 +00:00
|
|
|
|
2005-07-30 14:15:50 +00:00
|
|
|
install-be:
|
2002-03-29 13:27:16 +00:00
|
|
|
$(MKDIR) $(DESTDIR)$(libdir) $(DESTDIR)$(libsanedir) $(DESTDIR)$(configdir)
|
2005-10-29 20:01:54 +00:00
|
|
|
@# Install all backends in $(prefix)/lib/sane/
|
1999-08-09 18:06:01 +00:00
|
|
|
@list="$(LIBS)"; for be in $$list; do \
|
2005-10-29 20:01:54 +00:00
|
|
|
echo installing $${be} in $(DESTDIR)$(libsanedir)/$${be}...; \
|
2002-03-29 13:27:16 +00:00
|
|
|
$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) $${be} \
|
2005-10-29 20:01:54 +00:00
|
|
|
$(DESTDIR)$(libsanedir)/$${be} >/dev/null || exit 1; \
|
1999-08-09 18:06:01 +00:00
|
|
|
done
|
2005-10-29 20:01:54 +00:00
|
|
|
@$(LIBTOOL) $(MINST) --finish $(DESTDIR)$(libsanedir) >/dev/null
|
|
|
|
@# Remove libsane.* links in lib/sane/ as these links to libsane-v4l.so
|
|
|
|
@# cause misdetection of scanners.
|
|
|
|
rm -f $(DESTDIR)$(libsanedir)/libsane.*
|
|
|
|
@# Create library links manually. Actually this is libtool's job but it doesn't
|
|
|
|
@# seem to work on some platforms.
|
|
|
|
@# Assume the dll name without any versions is last
|
|
|
|
@if test "$(USE_LINKS)" = "yes" ; then \
|
|
|
|
dllend=`../tools/libtool-get-dll-ext libsane-dll.la`; \
|
|
|
|
list="$(ALL_BACKENDS)"; cd $(DESTDIR)$(libsanedir) && for be in $$list; do \
|
|
|
|
file=libsane-$${be}.$$dllend.$(V_MAJOR); \
|
|
|
|
lib=`grep dlname= libsane-$${be}.la | cut -f2 -d"'"`; \
|
|
|
|
if test ! -f $${file} -a -n "$${lib}"; then \
|
|
|
|
$(LN_S) $${lib} $${file}; \
|
|
|
|
fi; \
|
|
|
|
done; \
|
|
|
|
fi
|
|
|
|
|
2005-07-30 14:15:50 +00:00
|
|
|
install-be-beos:
|
|
|
|
$(MKDIR) $(DESTDIR)$(libdir) $(DESTDIR)$(libsanedir) $(DESTDIR)$(configdir) $(DESTDIR)$(BEOS_ADDONDIR)
|
|
|
|
@list="$(ALL_BACKENDS)"; for be in $$list; do \
|
|
|
|
echo installing $${be} in $(BEOS_ADDONDIR)/$${be}...; \
|
|
|
|
cp -p .libs/libsane-$${be}.so $(DESTDIR)$(BEOS_ADDONDIR)/$${be} || exit 1; \
|
|
|
|
done
|
|
|
|
|
2005-07-15 21:59:25 +00:00
|
|
|
install-libsane:
|
2005-10-29 20:01:54 +00:00
|
|
|
@echo installing libsane.la in $(DESTDIR)$(libdir)/libsane.la...
|
|
|
|
@$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) libsane.la \
|
|
|
|
$(DESTDIR)$(libdir)/libsane.la >/dev/null
|
|
|
|
@$(LIBTOOL) $(MINST) --finish $(DESTDIR)$(libdir)
|
2005-07-15 21:59:25 +00:00
|
|
|
|
|
|
|
install-becfg:
|
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
|
2003-05-03 11:23:08 +00:00
|
|
|
for dir in $(FIRMWARE_DIRS) ; do \
|
2003-05-13 19:06:41 +00:00
|
|
|
$(MKDIR) $(DESTDIR)$(datadir)/sane/$${dir} ; \
|
2003-05-03 11:23:08 +00:00
|
|
|
done
|
1999-08-09 18:06:01 +00:00
|
|
|
|
2005-07-30 14:15:50 +00:00
|
|
|
install-lockpath:
|
2006-06-07 07:28:31 +00:00
|
|
|
$(MKDIR) -m 775 -g $(LOCKPATH_GROUP) $(DESTDIR)$(locksanedir)
|
2005-07-30 14:15:50 +00:00
|
|
|
|
2001-05-21 20:20:54 +00:00
|
|
|
uninstall:
|
2006-06-07 07:28:31 +00:00
|
|
|
rm -rf $(libsanedir) $(configdir) $(locksanedir)
|
2001-05-21 20:20:54 +00:00
|
|
|
rm -f $(libdir)/libsane.*
|
2003-05-03 11:23:08 +00:00
|
|
|
-for dir in $(FIRMWARE_DIRS) ; do \
|
|
|
|
rmdir $(datadir)/sane/$${dir} ; \
|
|
|
|
done
|
2001-05-21 20:20:54 +00:00
|
|
|
|
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 \
|
2003-04-13 13:21:11 +00:00
|
|
|
echo { 0, 0, 0, 0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }} >> $@; \
|
1999-08-09 18:06:01 +00:00
|
|
|
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) $^ \
|
2003-09-24 03:41:48 +00:00
|
|
|
$(addsuffix .lo,$(DLL_PRELOAD_EXTRAS)) @LIBTOOL_LINK_EXTRA@ \
|
1999-08-09 18:06:01 +00:00
|
|
|
-rpath $(libdir) -version-info $(V_MAJOR):$(V_REV):$(V_MINOR)
|
|
|
|
|
2006-01-05 21:53:01 +00:00
|
|
|
# Generate .conf files for all existing .conf.in files
|
|
|
|
becfg: $(patsubst %.conf.in,%.conf,$(wildcard *.conf.in))
|
|
|
|
%.conf: %.conf.in
|
|
|
|
@echo Generating $@ from $^
|
|
|
|
@sed -e 's|@DATADIR@|$(datadir)|g' \
|
|
|
|
-e 's|@CONFIGDIR@|$(configdir)|g' \
|
|
|
|
-e 's|@DOCDIR@|$(docdir)|g' \
|
|
|
|
-e 's|@LIBDIR@|$(libdir)/sane|g' \
|
|
|
|
-e 's|@BINDIR@|$(bindir)|g' \
|
|
|
|
-e 's|@SBINDIR@|$(sbindir)|g' \
|
|
|
|
-e 's|@PACKAGEVERSION@|$(package_version)|g' $? > $@
|
|
|
|
|
|
|
|
|
2006-01-05 16:27:10 +00:00
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
# additional dependencies
|
|
|
|
|
2002-04-01 22:54:25 +00:00
|
|
|
EXTRA_canon_pp = canon_pp-io canon_pp-dev
|
2005-06-27 20:07:45 +00:00
|
|
|
EXTRA_genesys = genesys_gl646 genesys_gl841
|
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
|
2002-09-01 11:48:06 +00:00
|
|
|
EXTRA_epson = epson_scsi epson_usb
|
2005-10-16 17:15:37 +00:00
|
|
|
EXTRA_lexmark = lexmark-x1100
|
2006-05-26 07:49:24 +00:00
|
|
|
EXTRA_pixma = pixma_io_sanei pixma_common pixma_mp150 pixma_mp730 pixma_mp750
|
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
|
2004-05-23 17:28:56 +00:00
|
|
|
libsane-agfafocus.la: ../sanei/sanei_thread.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
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
|
2002-11-20 12:23:07 +00:00
|
|
|
libsane-artec_eplus48u.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-artec_eplus48u.la: ../sanei/sanei_usb.lo
|
2004-05-18 07:59:09 +00:00
|
|
|
libsane-artec_eplus48u.la: ../sanei/sanei_thread.lo
|
2000-11-20 22:59:02 +00:00
|
|
|
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
|
2003-03-25 01:43:35 +00:00
|
|
|
libsane-avision.la: ../sanei/sanei_usb.lo
|
2004-06-20 01:22:44 +00:00
|
|
|
libsane-avision.la: ../sanei/sanei_thread.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: $(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
|
2003-11-04 16:08:03 +00:00
|
|
|
libsane-coolscan.la: ../sanei/sanei_thread.lo
|
2002-04-22 22:12:31 +00:00
|
|
|
libsane-coolscan2.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-coolscan2.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-coolscan2.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-coolscan2.la: ../sanei/sanei_usb.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-dc25.la: ../sanei/sanei_constrain_value.lo
|
2003-07-26 17:07:36 +00:00
|
|
|
libsane-dc210.la: ../sanei/sanei_constrain_value.lo ../sanei/sanei_jpeg.lo
|
|
|
|
libsane-dc240.la: ../sanei/sanei_constrain_value.lo ../sanei/sanei_jpeg.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
|
2002-09-01 11:48:06 +00:00
|
|
|
libsane-epson.la: $(addsuffix .lo,$(EXTRA_epson))
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-epson.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-epson.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-epson.la: ../sanei/sanei_scsi.lo
|
2002-09-01 11:48:06 +00:00
|
|
|
libsane-epson.la: ../sanei/sanei_usb.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
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
|
2003-02-20 13:33:07 +00:00
|
|
|
libsane-fujitsu.la: ../sanei/sanei_usb.lo
|
2004-05-24 16:10:36 +00:00
|
|
|
libsane-fujitsu.la: ../sanei/sanei_thread.lo
|
2003-07-26 17:07:36 +00:00
|
|
|
libsane-gphoto2.la: ../sanei/sanei_constrain_value.lo ../sanei/sanei_jpeg.lo
|
2005-06-27 20:07:45 +00:00
|
|
|
libsane-genesys.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-genesys.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-genesys.la: $(addsuffix .lo,$(EXTRA_genesys))
|
2002-10-25 12:16:15 +00:00
|
|
|
libsane-gt68xx.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-gt68xx.la: ../sanei/sanei_usb.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
|
2002-11-25 20:38:20 +00:00
|
|
|
libsane-hp.la: ../sanei/sanei_usb.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-hp.la: $(addsuffix .lo,$(EXTRA_hp))
|
|
|
|
libsane-hp.la: ../sanei/sanei_pio.lo
|
2003-10-22 20:18:25 +00:00
|
|
|
libsane-hp.la: ../sanei/sanei_thread.lo
|
2005-12-20 17:55:45 +00:00
|
|
|
libsane-hp3500.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-hp3500.la: ../sanei/sanei_thread.lo
|
|
|
|
libsane-hp3500.la: ../sanei/sanei_constrain_value.lo
|
2005-08-13 15:30:02 +00:00
|
|
|
libsane-hp4200.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-hp4200.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-hp4200.la: ../sanei/sanei_pv8630.lo
|
2003-04-17 09:19:25 +00:00
|
|
|
libsane-hp5400.la: ../sanei/sanei_usb.lo
|
2003-04-15 09:54:00 +00:00
|
|
|
libsane-ibm.la: ../sanei/sanei_scsi.lo
|
|
|
|
libsane-ibm.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-ibm.la: ../sanei/sanei_constrain_value.lo
|
2002-04-21 23:12:02 +00:00
|
|
|
libsane-leo.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-leo.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-leo.la: ../sanei/sanei_scsi.lo
|
2005-10-16 17:15:37 +00:00
|
|
|
libsane-lexmark.la: $(addsuffix .lo,$(EXTRA_lexmark))
|
|
|
|
libsane-lexmark.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-lexmark.la: ../sanei/sanei_usb.lo
|
2003-02-24 21:04:08 +00:00
|
|
|
libsane-ma1509.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-ma1509.la: ../sanei/sanei_usb.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
|
2004-05-23 17:28:56 +00:00
|
|
|
libsane-microtek2.la: ../sanei/sanei_thread.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
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
|
2003-10-29 10:45:33 +00:00
|
|
|
libsane-mustek.la: ../sanei/sanei_thread.lo
|
2003-12-25 20:27:49 +00:00
|
|
|
libsane-mustek.la: ../sanei/sanei_pa4s2.lo
|
2000-08-12 15:11:46 +00:00
|
|
|
libsane-mustek_pp.la: ../sanei/sanei_constrain_value.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
|
2005-10-03 13:27:03 +00:00
|
|
|
libsane-mustek_usb2.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-mustek_usb2.la: ../sanei/sanei_constrain_value.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
|
2004-08-03 07:40:00 +00:00
|
|
|
libsane-niash.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-niash.la: ../sanei/sanei_usb.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
libsane-pint.la: ../sanei/sanei_constrain_value.lo
|
2006-05-26 07:49:24 +00:00
|
|
|
libsane-pixma.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-pixma.la: ../sanei/sanei_thread.lo
|
|
|
|
libsane-pixma.la: $(addsuffix .lo,$(EXTRA_pixma))
|
2000-08-12 15:11:46 +00:00
|
|
|
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
|
2003-10-05 16:00:30 +00:00
|
|
|
libsane-plustek.la: ../sanei/sanei_thread.lo
|
2005-04-01 13:57:47 +00:00
|
|
|
libsane-plustek.la: ../sanei/sanei_access.lo
|
2003-09-30 16:20:25 +00:00
|
|
|
libsane-plustek_pp.la: ../sanei/sanei_constrain_value.lo
|
2003-10-08 20:34:46 +00:00
|
|
|
libsane-plustek_pp.la: ../sanei/sanei_thread.lo
|
2003-10-22 19:20:31 +00:00
|
|
|
libsane-plustek_pp.la: ../sanei/sanei_pp.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
|
2003-11-10 07:11:48 +00:00
|
|
|
libsane-pie.la: ../sanei/sanei_thread.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
|
2005-08-16 19:50:34 +00:00
|
|
|
libsane-sm3600.la: ../sanei/sanei_usb.lo
|
2005-02-20 20:08:04 +00:00
|
|
|
libsane-sm3840.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-sm3840.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-sm3840.la: ../sanei/sanei_usb.lo
|
2005-03-16 08:09:19 +00:00
|
|
|
libsane-sm3840.la: ../sanei/sanei_scsi.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
|
2004-04-08 21:53:10 +00:00
|
|
|
libsane-snapscan.la: ../sanei/sanei_thread.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
|
2004-05-23 17:28:56 +00:00
|
|
|
libsane-sp15c.la: ../sanei/sanei_thread.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
|
2006-06-05 18:55:44 +00:00
|
|
|
libsane-stv680.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-stv680.la: ../sanei/sanei_usb.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
|
2004-05-23 17:28:56 +00:00
|
|
|
libsane-tamarack.la: ../sanei/sanei_thread.lo
|
2002-04-13 19:07:49 +00:00
|
|
|
libsane-test.la: ../sanei/sanei_constrain_value.lo
|
2003-10-08 20:34:46 +00:00
|
|
|
libsane-test.la: ../sanei/sanei_thread.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
|
2002-08-31 15:53:59 +00:00
|
|
|
libsane-teco2.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-teco2.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-teco2.la: ../sanei/sanei_scsi.lo
|
2002-07-26 04:08:48 +00:00
|
|
|
libsane-teco3.la: ../sanei/sanei_config2.lo
|
|
|
|
libsane-teco3.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-teco3.la: ../sanei/sanei_scsi.lo
|
2004-01-05 20:30:40 +00:00
|
|
|
libsane-u12.la: ../sanei/sanei_constrain_value.lo
|
|
|
|
libsane-u12.la: ../sanei/sanei_usb.lo
|
|
|
|
libsane-u12.la: ../sanei/sanei_thread.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
|
2004-01-12 19:54:31 +00:00
|
|
|
libsane-umax.la: ../sanei/sanei_thread.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
|
2003-11-02 13:23:30 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_pp.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
|
2005-04-01 13:57:47 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_access.lo
|
2003-10-07 11:30:09 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_thread.lo
|
2003-07-26 21:40:06 +00:00
|
|
|
ifneq (@SANEI_JPEG@,)
|
2003-07-26 17:07:36 +00:00
|
|
|
libsane-dll.la libsane.la: ../sanei/sanei_jpeg.lo
|
|
|
|
endif
|
2003-07-26 21:40:06 +00:00
|
|
|
endif
|
|
|
|
|
2003-07-26 17:07:36 +00:00
|
|
|
|
1999-08-09 18:06:01 +00:00
|
|
|
depend:
|
2005-10-29 20:01:54 +00:00
|
|
|
makedepend $(INCLUDES) *.c 2>/dev/null
|
|
|
|
makedepend -a -o.lo $(INCLUDES) *.c 2>/dev/null
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
clean:
|
2006-01-05 16:27:10 +00:00
|
|
|
rm -f *.lo *.o *.la libsane.la dll-preload.c *.conf
|
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
|