kopia lustrzana https://gitlab.com/sane-project/backends
95 wiersze
2.3 KiB
Makefile
95 wiersze
2.3 KiB
Makefile
SHELL = /bin/sh
|
|
|
|
VPATH = @srcdir@
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
top_builddir = .
|
|
|
|
PACKAGE = @PACKAGE@
|
|
VERSION = @VERSION@
|
|
|
|
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)/include
|
|
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datarootdir = @datarootdir@
|
|
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@
|
|
|
|
DISTCLEAN_FILES = @DISTCLEAN_FILES@
|
|
|
|
@SET_MAKE@
|
|
|
|
INSTALLED_INCLUDES = sane.h saneopts.h
|
|
|
|
SANE_INCLUDES = $(addprefix $(top_srcdir)/include/sane/,$(INSTALLED_INCLUDES)) \
|
|
$(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 )
|
|
|
|
OTHER_INCLUDES = $(addprefix $(top_srcdir)/include/,Makefile.in getopt.h \
|
|
lalloca.h lassert.h md5.h font_6x11.h)
|
|
|
|
DISTFILES = $(SANE_INCLUDES) $(OTHER_INCLUDES)
|
|
|
|
.PHONY: all clean depend dist distdir distclean install uninstall
|
|
|
|
all:
|
|
|
|
clean:
|
|
|
|
distclean: clean
|
|
rm -f $(DISTCLEAN_FILES)
|
|
rm -f $(addprefix sane/,$(DISTCLEAN_FILES))
|
|
rm -f Makefile
|
|
|
|
install:
|
|
$(MKDIR) $(DESTDIR)$(includedir)/sane
|
|
@list="$(INSTALLED_INCLUDES)"; for file in $$list; do \
|
|
echo installing sane/$${file} in $(includedir)/sane/$${file}...; \
|
|
$(INSTALL_DATA) $(srcdir)/sane/$${file} $(DESTDIR)$(includedir)/sane/$${file} \
|
|
|| exit 1; \
|
|
done
|
|
|
|
uninstall:
|
|
rm -rf $(DESTDIR)$(includedir)/sane
|
|
|
|
depend:
|
|
|
|
dist: distdir
|
|
distdir: $(DISTFILES)
|
|
$(MKDIR) $(distdir)/sane
|
|
for file in $(OTHER_INCLUDES); do \
|
|
ln $$file $(distdir) 2> /dev/null \
|
|
|| cp -p $$file $(distdir); \
|
|
done
|
|
for file in $(SANE_INCLUDES); do \
|
|
ln $$file $(distdir)/sane 2> /dev/null \
|
|
|| cp -p $$file $(distdir)/sane; \
|
|
done
|
|
|
|
# Used by top level distcheck target
|
|
dvi:
|
|
check:
|
|
installcheck:
|
|
distuninstallcheck:
|