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
|
|
|
|
|
|
|
|
INSTALL = @INSTALL@
|
|
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
|
|
|
|
CC = @CC@
|
|
|
|
INCLUDES = -I. -I$(srcdir) \
|
|
|
|
-I$(top_builddir)/include/sane -I$(top_srcdir)/include
|
|
|
|
CPPFLAGS = @CPPFLAGS@
|
|
|
|
CFLAGS = @CFLAGS@
|
|
|
|
LDFLAGS = @LDFLAGS@
|
|
|
|
LIBS = @LIBS@
|
|
|
|
DEFS = @DEFS@
|
|
|
|
|
|
|
|
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
|
|
LIBTOOL = ../libtool
|
|
|
|
MCOMP = --mode=compile
|
|
|
|
MLINK = --mode=link
|
|
|
|
|
|
|
|
@SET_MAKE@
|
|
|
|
|
2000-08-12 15:11:46 +00:00
|
|
|
LIBLIB_OBJS = alloca.o getopt.o getopt1.o sigprocmask.o strndup.o \
|
|
|
|
strdup.o strsep.o snprintf.o usleep.o getenv.o \
|
2000-11-20 18:49:26 +00:00
|
|
|
isfdtype.o vsyslog.o md5.o
|
2000-08-12 15:11:46 +00:00
|
|
|
LIBLIB_LTOBJS = alloca.lo getopt.lo getopt1.lo sigprocmask.lo strndup.lo \
|
|
|
|
strdup.lo strsep.lo snprintf.lo usleep.lo getenv.lo \
|
2000-11-20 18:49:26 +00:00
|
|
|
isfdtype.lo vsyslog.lo md5.lo
|
1999-08-09 18:06:01 +00:00
|
|
|
|
|
|
|
TARGETS = $(LIBLIB_OBJS)
|
|
|
|
TARGETS = liblib.a
|
|
|
|
|
|
|
|
.SUFFIXES:
|
|
|
|
.SUFFIXES: .c .o
|
|
|
|
.c.o:
|
|
|
|
@$(LIBTOOL) $(MCOMP) $(COMPILE) $<
|
|
|
|
@test -f $@ || $(COMPILE) $<
|
|
|
|
|
|
|
|
all: $(TARGETS)
|
|
|
|
|
|
|
|
liblib.a: $(LIBLIB_OBJS)
|
|
|
|
ar r $@ $(LIBLIB_OBJS)
|
|
|
|
$(RANLIB) $@
|
|
|
|
|
|
|
|
install:
|
|
|
|
|
|
|
|
check:
|
|
|
|
|
|
|
|
depend:
|
|
|
|
makedepend -I. -I../include *.c
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.out *.o *.lo *~ *.a *.bak $(TESTPROGRAMS)
|
|
|
|
rm -rf .libs
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
rm -f Makefile
|
|
|
|
|
|
|
|
.PHONY: all install check depend clean distclean
|