kopia lustrzana https://gitlab.com/sane-project/frontends
101 wiersze
1.9 KiB
Makefile
101 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@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
|
|
RANLIB = @RANLIB@
|
|
|
|
CC = @CC@
|
|
INCLUDES = -I.
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CFLAGS = @CFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
DEFS = @DEFS@
|
|
|
|
DEFS = @DEFS@
|
|
CPPFLAGS = @CPPFLAGS@
|
|
CFLAGS = @CFLAGS@
|
|
LDFLAGS = @LDFLAGS@
|
|
LIBS = @LIBS@
|
|
GTK_LIBS = @GTK_LIBS@
|
|
GTK_CFLAGS = @GTK_CFLAGS@
|
|
|
|
BINPROGS = @BINPROGS@
|
|
|
|
COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(GTK_CFLAGS)
|
|
|
|
@SET_MAKE@
|
|
|
|
LIBGTKSANE_OBJS = gtk3curve.o gtk3gamma.o gtk3ruler.o utils-gtk.o
|
|
LIBGTKSANE_LTOBJS = gtk3curve.lo gtk3gamma.lo gtk3ruler.lo utils-gtk.lo
|
|
|
|
TARGETS = $(LIBGTKSANE_OBJS) $(GTK_LIBS)
|
|
TARGETS = libgtksane.a
|
|
|
|
DISTFILES = Makefile.in gtk3curve.c gtk3curve.h \
|
|
gtk3gamma.c gtk3gamma.h gtk3ruler.c \
|
|
gtk3ruler.h utils-gtk.c utils-gtk.h
|
|
# gtk3gamma.c gtk3gamma.h gtkpreview.c gtkpreview.h gimpruler.c \
|
|
|
|
|
|
.PHONY: all check clean depend dist distclean install uninstall
|
|
|
|
.SUFFIXES:
|
|
.SUFFIXES: .c .o
|
|
.c.o:
|
|
$(COMPILE) $<
|
|
@test -f $@ || $(COMPILE) $<
|
|
|
|
all: $(TARGETS)
|
|
|
|
libgtksane.a: $(LIBGTKSANE_OBJS)
|
|
ar r $@ $(LIBGTKSANE_OBJS)
|
|
$(RANLIB) $@
|
|
|
|
install: all
|
|
|
|
uninstall:
|
|
|
|
check:
|
|
|
|
depend:
|
|
makedepend -I. *.c
|
|
|
|
clean:
|
|
rm -f *.out *.o *.lo *~ *.a *.bak $(TESTPROGRAMS)
|
|
rm -rf .libs
|
|
|
|
distclean: clean
|
|
rm -f Makefile
|
|
|
|
dist: $(DISTFILES)
|
|
for file in $(DISTFILES); do \
|
|
ln $$file $(distdir)/libgtk 2> /dev/null \
|
|
|| cp -p -r $$file $(distdir)/libgtk ; \
|
|
done
|