summaryrefslogtreecommitdiff
path: root/Makefile.in
blob: 93e26a686cac8d93f26ef7bc9363c7d7b2cf8cd4 (plain)
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
SHELL = /bin/sh

VPATH = @srcdir@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
top_builddir = .

prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

sanedatadir = @datadir@/sane

MKDIR = $(top_srcdir)/mkinstalldirs
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@

@SET_MAKE@

SUBDIRS	= lib @INTLSUB@ src @POSUB@ doc

all: all-recursive

install: install-recursive

uninstall: uninstall-recursive

clean: clean-recursive

rpm: all-recursive
	checkinstall -R --strip=no --pkgname=xsane --pkgversion=@VERSION@ \
                     --pkgsource=http://www.xsane.org --pkgaltsource=ftp://ftp.sane-project.org/pub/sane/xsane/ \
                     --pkggroup=Applications/Graphics --spec=xsane.spec --pkglicense=GPL --pkgrelease=1

distclean: clean distclean-recursive
	rm -f *~ include/*~ include/sane/*~ *.log *.bak libtool
	rm -f include/sane/config.h Makefile config.cache config.status
	rm -f intl/Makefile
	rm -rf autom4te.cache

autoconfig: autoconfig-recursive 
	aclocal -I m4
	autoconf configure.in >configure
	rm -rf autom4te.cache

depend: depend-recursive

all-recursive install-recursive uninstall-recursive clean-recursive distclean-recursive \
depend-recursive rpm-recursive:
	for subdir in $(SUBDIRS); do		\
	  target=`echo $@ | sed s/-recursive//`; \
	  echo making $$target in $$subdir;	\
	  (cd $$subdir && $(MAKE) $$target)	\
	   || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
	done && test -z "$$fail"

.PHONY: all clean depend rpm autoconfig \
	all-recursive install-recursive clean-recursive depend-recursive autoconfig-recursive