2002-01-08 18:58:16 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
|
|
|
|
VPATH = @srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
top_builddir = .
|
|
|
|
|
|
|
|
PACKAGE = @PACKAGE@
|
|
|
|
VERSION = @VERSION@
|
|
|
|
|
2009-01-16 23:39:48 +00:00
|
|
|
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)/include
|
2002-01-08 18:58:16 +00:00
|
|
|
|
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
|
|
sbindir = @sbindir@
|
|
|
|
libexecdir = @libexecdir@
|
2008-02-03 06:59:36 +00:00
|
|
|
datarootdir = @datarootdir@
|
2002-01-08 18:58:16 +00:00
|
|
|
datadir = @datadir@
|
|
|
|
sysconfdir = @sysconfdir@
|
|
|
|
sharedstatedir = @sharedstatedir@
|
|
|
|
localstatedir = @localstatedir@
|
|
|
|
libdir = @libdir@
|
|
|
|
infodir = @infodir@
|
|
|
|
mandir = @mandir@
|
|
|
|
includedir = @includedir@
|
|
|
|
oldincludedir = /usr/include
|
|
|
|
|
|
|
|
MKDIR = $(top_srcdir)/mkinstalldirs
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
|
2002-02-13 20:48:29 +00:00
|
|
|
DISTCLEAN_FILES = @DISTCLEAN_FILES@
|
|
|
|
|
2002-01-08 18:58:16 +00:00
|
|
|
@SET_MAKE@
|
|
|
|
|
2002-03-29 13:27:16 +00:00
|
|
|
INSTALLED_INCLUDES = sane.h saneopts.h
|
2002-01-08 18:58:16 +00:00
|
|
|
|
2002-03-29 13:27:16 +00:00
|
|
|
SANE_INCLUDES = $(addprefix $(top_srcdir)/include/sane/,$(INSTALLED_INCLUDES)) \
|
2008-02-10 23:02:31 +00:00
|
|
|
$(addprefix $(top_srcdir)/include/sane/,config.h.in sanei.h \
|
|
|
|
sanei_ab306.h sanei_access.h sanei_auth.h sanei_backend.h \
|
|
|
|
sanei_cderror.h sanei_codec_ascii.h sanei_codec_bin.h \
|
|
|
|
sanei_config.h sanei_debug.h sanei_jinclude.h sanei_jpeg.h \
|
|
|
|
sanei_lm983x.h sanei_net.h sanei_pa4s2.h \
|
|
|
|
sanei_pio.h sanei_pp.h sanei_pv8630.h sanei_scsi.h sanei_tcp.h \
|
|
|
|
sanei_thread.h sanei_udp.h sanei_usb.h sanei_wire.h )
|
2002-01-08 18:58:16 +00:00
|
|
|
|
2009-02-06 03:10:44 +00:00
|
|
|
OTHER_INCLUDES = $(addprefix $(top_srcdir)/include/,Makefile.in lgetopt.h \
|
2006-06-11 18:24:33 +00:00
|
|
|
lalloca.h lassert.h md5.h font_6x11.h)
|
2002-01-08 18:58:16 +00:00
|
|
|
|
|
|
|
DISTFILES = $(SANE_INCLUDES) $(OTHER_INCLUDES)
|
|
|
|
|
2009-01-16 23:39:48 +00:00
|
|
|
.PHONY: all clean depend dist distdir distclean install uninstall
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
all:
|
|
|
|
|
2002-01-08 18:58:16 +00:00
|
|
|
clean:
|
|
|
|
|
|
|
|
distclean: clean
|
2002-02-13 20:48:29 +00:00
|
|
|
rm -f $(DISTCLEAN_FILES)
|
|
|
|
rm -f $(addprefix sane/,$(DISTCLEAN_FILES))
|
1999-08-09 18:06:01 +00:00
|
|
|
rm -f Makefile
|
2002-01-08 18:58:16 +00:00
|
|
|
|
|
|
|
install:
|
2002-03-29 13:27:16 +00:00
|
|
|
$(MKDIR) $(DESTDIR)$(includedir)/sane
|
2002-01-08 18:58:16 +00:00
|
|
|
@list="$(INSTALLED_INCLUDES)"; for file in $$list; do \
|
2002-03-29 13:27:16 +00:00
|
|
|
echo installing sane/$${file} in $(includedir)/sane/$${file}...; \
|
2002-05-21 22:03:41 +00:00
|
|
|
$(INSTALL_DATA) $(srcdir)/sane/$${file} $(DESTDIR)$(includedir)/sane/$${file} \
|
2002-03-29 13:27:16 +00:00
|
|
|
|| exit 1; \
|
2002-01-08 18:58:16 +00:00
|
|
|
done
|
|
|
|
|
|
|
|
uninstall:
|
2009-01-16 23:39:48 +00:00
|
|
|
rm -rf $(DESTDIR)$(includedir)/sane
|
2002-01-08 18:58:16 +00:00
|
|
|
|
|
|
|
depend:
|
|
|
|
|
2009-01-16 23:39:48 +00:00
|
|
|
dist: distdir
|
|
|
|
distdir: $(DISTFILES)
|
|
|
|
$(MKDIR) $(distdir)/sane
|
2002-01-08 18:58:16 +00:00
|
|
|
for file in $(OTHER_INCLUDES); do \
|
2009-01-16 23:39:48 +00:00
|
|
|
ln $$file $(distdir) 2> /dev/null \
|
|
|
|
|| cp -p $$file $(distdir); \
|
2002-01-08 18:58:16 +00:00
|
|
|
done
|
|
|
|
for file in $(SANE_INCLUDES); do \
|
2009-01-16 23:39:48 +00:00
|
|
|
ln $$file $(distdir)/sane 2> /dev/null \
|
|
|
|
|| cp -p $$file $(distdir)/sane; \
|
2002-01-08 18:58:16 +00:00
|
|
|
done
|
2009-01-16 23:39:48 +00:00
|
|
|
|
|
|
|
# Used by top level distcheck target
|
|
|
|
dvi:
|
|
|
|
check:
|
|
|
|
installcheck:
|
|
|
|
distuninstallcheck:
|