sane-project-backends/frontend/Makefile.in

103 wiersze
2.2 KiB
Makefile
Czysty Zwykły widok Historia

1999-08-09 18:06:01 +00:00
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
configdir = ${sysconfdir}/sane.d
MKDIR = $(top_srcdir)/mkinstalldirs
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
CC = @CC@
INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include \
@INCLUDES@
1999-08-09 18:06:01 +00:00
DEFS = @DEFS@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS =
1999-08-09 18:06:01 +00:00
LIBTOOL = ../libtool
MINST = --mode=install
MLINK = --mode=link
SANED = @SANED@
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
LINK = $(CC) $(LDFLAGS) -o $@
@SET_MAKE@
BINPROGS = scanimage
1999-08-09 18:06:01 +00:00
SBINPROGS = $(SANED)
PROGRAMS = $(BINPROGS) $(SBINPROGS)
TESTPROGRAMS = test
LIBLIB = ../lib/liblib.a
LIBSANE = ../backend/libsane.la
LIBSANEI = ../sanei/libsanei.a
2000-08-12 15:11:46 +00:00
SCAN_OBJS = scanimage.o stiff.o
1999-08-09 18:06:01 +00:00
.c.o:
$(COMPILE) $<
all: $(PROGRAMS)
install: $(PROGRAMS)
$(MKDIR) $(bindir) $(sbindir) $(datadir)
@for program in $(BINPROGS); do \
$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) $${program} \
$(bindir)/$${program}; \
done
@for program in $(SBINPROGS); do \
$(LIBTOOL) $(MINST) $(INSTALL_PROGRAM) $${program} \
$(sbindir)/$${program}; \
done
uninstall:
@for program in $(BINPROGS); do \
rm -f $(bindir)/$${program}; \
done
@for program in $(SBINPROGS); do \
rm -f $(sbindir)/$${program}; \
done
1999-08-09 18:06:01 +00:00
test: test.o $(LIBSANE) $(LIBLIB)
@$(LIBTOOL) $(MLINK) $(LINK) test.o $(LIBSANE) $(LIBLIB) $(LIBS)
saned: saned.o $(LIBSANEI) $(LIBSANE) $(LIBLIB)
@$(LIBTOOL) $(MLINK) $(LINK) saned.o $(LIBSANEI) $(LIBSANE) $(LIBLIB) \
$(LIBS)
scanimage: $(SCAN_OBJS) $(LIBSANE) $(LIBLIB)
@$(LIBTOOL) $(MLINK) $(LINK) $(SCAN_OBJS) $(LIBSANE) $(LIBLIB) $(LIBS)
clean:
rm -f *.o *~ .*~ *.bak
rm -rf .libs
distclean: clean
rm -f Makefile $(PROGRAMS) $(TESTPROGRAMS)
depend:
makedepend $(INCLUDES) *.c
.PHONY: all install depend clean distclean uninstall