kopia lustrzana https://gitlab.com/sane-project/frontends
96 wiersze
1.9 KiB
Makefile
96 wiersze
1.9 KiB
Makefile
SHELL = /bin/sh
|
|
|
|
VPATH = @srcdir@
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
top_builddir = ..
|
|
|
|
PACKAGE = @PACKAGE@
|
|
VERSION = @VERSION@
|
|
distdir = $(top_srcdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
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
|
|
sanedatadir = ${datadir}/sane
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
CC = @CC@
|
|
INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/include -I$(top_srcdir)/include
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CFLAGS = @CFLAGS@ @SANE_CFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
DEFS = @DEFS@
|
|
|
|
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS)
|
|
MCOMP = --mode=compile
|
|
MLINK = --mode=link
|
|
|
|
@SET_MAKE@
|
|
|
|
LIBSANEI_OBJS = sanei_init_debug.o \
|
|
sanei_wire.o sanei_codec_ascii.o sanei_codec_bin.o \
|
|
sanei_save_values.o sanei_load_values.o
|
|
|
|
LIBSANEI_LTOBJS = sanei_init_debug.lo \
|
|
sanei_wire.lo sanei_codec_ascii.lo sanei_codec_bin.lo \
|
|
sanei_save_values.lo sanei_load_values.lo
|
|
|
|
TARGETS = libsanei.a
|
|
|
|
DISTFILES = Makefile.in sanei_codec_ascii.c sanei_codec_bin.c \
|
|
sanei_init_debug.c sanei_load_values.c sanei_save_values.c \
|
|
sanei_thread.c sanei_wire.c
|
|
|
|
.PHONY: all install check depend clean distclean uninstall dist
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .o
|
|
.c.o:
|
|
$(COMPILE) $<
|
|
@test -f $@ || $(COMPILE) $<
|
|
|
|
all: $(TARGETS)
|
|
|
|
libsanei.a: $(LIBSANEI_OBJS)
|
|
ar r $@ $(LIBSANEI_OBJS)
|
|
$(RANLIB) $@
|
|
|
|
install:
|
|
|
|
uninstall:
|
|
|
|
depend:
|
|
makedepend -I. -I../include *.c
|
|
|
|
clean:
|
|
rm -f *.out *.o *.lo *~ *.a *.bak $(OBJS)
|
|
rm -rf .libs
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|
|
|
|
dist: $(DISTFILES)
|
|
for file in $(DISTFILES); do \
|
|
ln $$file $(distdir)/sanei 2> /dev/null \
|
|
|| cp -p $$file $(distdir)/sanei ; \
|
|
done
|