pulled new sources from gle (containing a fix for kelly's justify==FILL

Mon Feb  7 05:04:28 2000  Tim Janik  <timj@gtk.org>

        * app/gtkhwrapbox.c:
        * app/gtkvwrapbox.c: pulled new sources from gle (containing
        a fix for kelly's justify==FILL bug).
This commit is contained in:
Tim Janik 2000-02-07 04:10:09 +00:00 committed by Tim Janik
parent 74e4ed42e0
commit 827e9ddad7
6 changed files with 510 additions and 112 deletions

View File

@ -1,3 +1,9 @@
Mon Feb 7 05:04:28 2000 Tim Janik <timj@gtk.org>
* app/gtkhwrapbox.c:
* app/gtkvwrapbox.c: pulled new sources from gle (containing
a fix for kelly's justify==FILL bug).
2000-02-05 Garry R. Osgood <gosgood@idt.net>
* gimp/plug-ins/sample_colorize.c

View File

@ -345,8 +345,7 @@ layout_row (GtkWrapBox *wbox,
GtkAllocation *area,
GSList *children,
guint children_per_line,
gboolean vexpand,
gint *shortfall)
gboolean vexpand)
{
GSList *slist;
guint n_children = 0, n_expand_children = 0, have_expand_children = 0, total_width = 0;
@ -359,7 +358,7 @@ layout_row (GtkWrapBox *wbox,
GtkRequisition child_requisition;
n_children++;
if (child->hexpand || wbox->justify == GTK_JUSTIFY_FILL)
if (child->hexpand)
n_expand_children++;
get_child_requisition (wbox, child->widget, &child_requisition);
@ -367,14 +366,10 @@ layout_row (GtkWrapBox *wbox,
}
width = MAX (1, area->width - (n_children - 1) * wbox->hspacing);
extra = width - total_width;
if (extra < 0)
{
g_warning("gtkhwrapbox: not enough space!\n");
if (shortfall && *shortfall < -extra)
*shortfall = -extra;
extra = 0;
}
if (width > total_width)
extra = width - total_width;
else
extra = 0;
have_expand_children = n_expand_children && extra;
x = area->x;
@ -384,7 +379,7 @@ layout_row (GtkWrapBox *wbox,
width /= ((gdouble) children_per_line);
extra = 0;
}
else if (have_expand_children)
else if (have_expand_children && wbox->justify != GTK_JUSTIFY_FILL)
{
width = extra;
extra /= ((gdouble) n_expand_children);
@ -415,12 +410,6 @@ layout_row (GtkWrapBox *wbox,
width = 0;
extra = 0;
}
else
{
g_warning("gtkhwrapbox: unhandled wbox justification");
width = 0;
extra = 0;
}
}
n_children = 0;
@ -458,7 +447,6 @@ layout_row (GtkWrapBox *wbox,
if (have_expand_children)
{
child_allocation.width = child_requisition.width;
if (child->hexpand || wbox->justify == GTK_JUSTIFY_FILL)
{
guint space;
@ -480,7 +468,7 @@ layout_row (GtkWrapBox *wbox,
{
/* g_print ("child_allocation.x %d += %d * %f ",
child_allocation.x, n_children, extra); */
child_allocation.x += (n_children * extra) / 2;
child_allocation.x += n_children * extra;
/* g_print ("= %d\n",
child_allocation.x); */
child_allocation.width = MIN (child_requisition.width,
@ -515,7 +503,6 @@ layout_rows (GtkWrapBox *wbox,
guint total_height = 0, n_expand_lines = 0, n_lines = 0;
gfloat shrink_height;
guint children_per_line;
gint shortfall = 0;
next_child = wbox->children;
slist = GTK_WRAP_BOX_GET_CLASS (wbox)->rlist_line_children (wbox,
@ -632,18 +619,13 @@ layout_rows (GtkWrapBox *wbox,
&row_allocation,
line->children,
children_per_line,
line->expand,
&shortfall);
line->expand);
g_slist_free (line->children);
g_free (line);
line = next_line;
}
}
if (shortfall > 0)
{
g_warning("hwrapbox too small, shortfall is %d\n", shortfall);
}
}
static void

View File

@ -345,8 +345,7 @@ layout_col (GtkWrapBox *wbox,
GtkAllocation *area,
GSList *children,
guint children_per_line,
gboolean hexpand,
gint *shortfall)
gboolean hexpand)
{
GSList *slist;
guint n_children = 0, n_expand_children = 0, have_expand_children = 0, total_height = 0;
@ -359,7 +358,7 @@ layout_col (GtkWrapBox *wbox,
GtkRequisition child_requisition;
n_children++;
if (child->vexpand || wbox->justify == GTK_JUSTIFY_FILL)
if (child->vexpand)
n_expand_children++;
get_child_requisition (wbox, child->widget, &child_requisition);
@ -367,15 +366,10 @@ layout_col (GtkWrapBox *wbox,
}
height = MAX (1, area->height - (n_children - 1) * wbox->vspacing);
extra = height - total_height;
if (extra < 0)
{
g_warning("gtkvwrapbox: not enough space!\n");
if (shortfall && *shortfall < -extra)
*shortfall = -extra;
extra = 0;
}
if (height > total_height)
extra = height - total_height;
else
extra = 0;
have_expand_children = n_expand_children && extra;
y = area->y;
@ -385,7 +379,7 @@ layout_col (GtkWrapBox *wbox,
height /= ((gdouble) children_per_line);
extra = 0;
}
else if (have_expand_children)
else if (have_expand_children && wbox->justify != GTK_JUSTIFY_FILL)
{
height = extra;
extra /= ((gdouble) n_expand_children);
@ -415,15 +409,9 @@ layout_col (GtkWrapBox *wbox,
y += extra;
height = 0;
extra = 0;
}
else
{
g_warning ("gtkvwrapbox: unhandled wbox justification");
height = 0;
extra = 0;
}
}
n_children = 0;
for (slist = children; slist; slist = slist->next)
{
@ -459,7 +447,6 @@ layout_col (GtkWrapBox *wbox,
if (have_expand_children)
{
child_allocation.height = child_requisition.height;
if (child->vexpand || wbox->justify == GTK_JUSTIFY_FILL)
{
guint space;
@ -516,7 +503,6 @@ layout_cols (GtkWrapBox *wbox,
guint total_width = 0, n_expand_lines = 0, n_lines = 0;
gfloat shrink_width;
guint children_per_line;
gint shortfall = 0;
next_child = wbox->children;
slist = GTK_WRAP_BOX_GET_CLASS (wbox)->rlist_line_children (wbox,
@ -633,18 +619,13 @@ layout_cols (GtkWrapBox *wbox,
&col_allocation,
line->children,
children_per_line,
line->expand,
&shortfall);
line->expand);
g_slist_free (line->children);
g_free (line);
line = next_line;
}
}
if (shortfall > 0)
{
g_warning("vwrapbox too small, shortfall is %d\n", shortfall);
}
}
static void

View File

@ -345,8 +345,7 @@ layout_row (GtkWrapBox *wbox,
GtkAllocation *area,
GSList *children,
guint children_per_line,
gboolean vexpand,
gint *shortfall)
gboolean vexpand)
{
GSList *slist;
guint n_children = 0, n_expand_children = 0, have_expand_children = 0, total_width = 0;
@ -359,7 +358,7 @@ layout_row (GtkWrapBox *wbox,
GtkRequisition child_requisition;
n_children++;
if (child->hexpand || wbox->justify == GTK_JUSTIFY_FILL)
if (child->hexpand)
n_expand_children++;
get_child_requisition (wbox, child->widget, &child_requisition);
@ -367,14 +366,10 @@ layout_row (GtkWrapBox *wbox,
}
width = MAX (1, area->width - (n_children - 1) * wbox->hspacing);
extra = width - total_width;
if (extra < 0)
{
g_warning("gtkhwrapbox: not enough space!\n");
if (shortfall && *shortfall < -extra)
*shortfall = -extra;
extra = 0;
}
if (width > total_width)
extra = width - total_width;
else
extra = 0;
have_expand_children = n_expand_children && extra;
x = area->x;
@ -384,7 +379,7 @@ layout_row (GtkWrapBox *wbox,
width /= ((gdouble) children_per_line);
extra = 0;
}
else if (have_expand_children)
else if (have_expand_children && wbox->justify != GTK_JUSTIFY_FILL)
{
width = extra;
extra /= ((gdouble) n_expand_children);
@ -415,12 +410,6 @@ layout_row (GtkWrapBox *wbox,
width = 0;
extra = 0;
}
else
{
g_warning("gtkhwrapbox: unhandled wbox justification");
width = 0;
extra = 0;
}
}
n_children = 0;
@ -458,7 +447,6 @@ layout_row (GtkWrapBox *wbox,
if (have_expand_children)
{
child_allocation.width = child_requisition.width;
if (child->hexpand || wbox->justify == GTK_JUSTIFY_FILL)
{
guint space;
@ -480,7 +468,7 @@ layout_row (GtkWrapBox *wbox,
{
/* g_print ("child_allocation.x %d += %d * %f ",
child_allocation.x, n_children, extra); */
child_allocation.x += (n_children * extra) / 2;
child_allocation.x += n_children * extra;
/* g_print ("= %d\n",
child_allocation.x); */
child_allocation.width = MIN (child_requisition.width,
@ -515,7 +503,6 @@ layout_rows (GtkWrapBox *wbox,
guint total_height = 0, n_expand_lines = 0, n_lines = 0;
gfloat shrink_height;
guint children_per_line;
gint shortfall = 0;
next_child = wbox->children;
slist = GTK_WRAP_BOX_GET_CLASS (wbox)->rlist_line_children (wbox,
@ -632,18 +619,13 @@ layout_rows (GtkWrapBox *wbox,
&row_allocation,
line->children,
children_per_line,
line->expand,
&shortfall);
line->expand);
g_slist_free (line->children);
g_free (line);
line = next_line;
}
}
if (shortfall > 0)
{
g_warning("hwrapbox too small, shortfall is %d\n", shortfall);
}
}
static void

View File

@ -345,8 +345,7 @@ layout_col (GtkWrapBox *wbox,
GtkAllocation *area,
GSList *children,
guint children_per_line,
gboolean hexpand,
gint *shortfall)
gboolean hexpand)
{
GSList *slist;
guint n_children = 0, n_expand_children = 0, have_expand_children = 0, total_height = 0;
@ -359,7 +358,7 @@ layout_col (GtkWrapBox *wbox,
GtkRequisition child_requisition;
n_children++;
if (child->vexpand || wbox->justify == GTK_JUSTIFY_FILL)
if (child->vexpand)
n_expand_children++;
get_child_requisition (wbox, child->widget, &child_requisition);
@ -367,15 +366,10 @@ layout_col (GtkWrapBox *wbox,
}
height = MAX (1, area->height - (n_children - 1) * wbox->vspacing);
extra = height - total_height;
if (extra < 0)
{
g_warning("gtkvwrapbox: not enough space!\n");
if (shortfall && *shortfall < -extra)
*shortfall = -extra;
extra = 0;
}
if (height > total_height)
extra = height - total_height;
else
extra = 0;
have_expand_children = n_expand_children && extra;
y = area->y;
@ -385,7 +379,7 @@ layout_col (GtkWrapBox *wbox,
height /= ((gdouble) children_per_line);
extra = 0;
}
else if (have_expand_children)
else if (have_expand_children && wbox->justify != GTK_JUSTIFY_FILL)
{
height = extra;
extra /= ((gdouble) n_expand_children);
@ -415,15 +409,9 @@ layout_col (GtkWrapBox *wbox,
y += extra;
height = 0;
extra = 0;
}
else
{
g_warning ("gtkvwrapbox: unhandled wbox justification");
height = 0;
extra = 0;
}
}
n_children = 0;
for (slist = children; slist; slist = slist->next)
{
@ -459,7 +447,6 @@ layout_col (GtkWrapBox *wbox,
if (have_expand_children)
{
child_allocation.height = child_requisition.height;
if (child->vexpand || wbox->justify == GTK_JUSTIFY_FILL)
{
guint space;
@ -516,7 +503,6 @@ layout_cols (GtkWrapBox *wbox,
guint total_width = 0, n_expand_lines = 0, n_lines = 0;
gfloat shrink_width;
guint children_per_line;
gint shortfall = 0;
next_child = wbox->children;
slist = GTK_WRAP_BOX_GET_CLASS (wbox)->rlist_line_children (wbox,
@ -633,18 +619,13 @@ layout_cols (GtkWrapBox *wbox,
&col_allocation,
line->children,
children_per_line,
line->expand,
&shortfall);
line->expand);
g_slist_free (line->children);
g_free (line);
line = next_line;
}
}
if (shortfall > 0)
{
g_warning("vwrapbox too small, shortfall is %d\n", shortfall);
}
}
static void

View File

@ -0,0 +1,466 @@
# Makefile.in generated automatically by automake 1.4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
SHELL = @SHELL@
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
sbindir = @sbindir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include
DESTDIR =
pkgdatadir = $(datadir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
top_builddir = ../..
ACLOCAL = @ACLOCAL@
AUTOCONF = @AUTOCONF@
AUTOMAKE = @AUTOMAKE@
AUTOHEADER = @AUTOHEADER@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
transform = @program_transform_name@
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
AA = @AA@
AS = @AS@
CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@
CC = @CC@
CFLAGS = @CFLAGS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
DATADIRNAME = @DATADIRNAME@
DLLTOOL = @DLLTOOL@
EMACS = @EMACS@
EXTENSIVE_TESTS = @EXTENSIVE_TESTS@
GAP_DECODE_MPEG = @GAP_DECODE_MPEG@
GENCAT = @GENCAT@
GIMP = @GIMP@
GIMPDOCS = @GIMPDOCS@
GIMPINSTALL = @GIMPINSTALL@
GIMPTOOL = @GIMPTOOL@
GIMP_CFLAGS = @GIMP_CFLAGS@
GIMP_CFLAGS_NOUI = @GIMP_CFLAGS_NOUI@
GIMP_LIBS = @GIMP_LIBS@
GIMP_LIBS_NOUI = @GIMP_LIBS_NOUI@
GIMP_MAJOR_VERSION = @GIMP_MAJOR_VERSION@
GIMP_MICRO_VERSION = @GIMP_MICRO_VERSION@
GIMP_MINOR_VERSION = @GIMP_MINOR_VERSION@
GIMP_MODULES = @GIMP_MODULES@
GIMP_MP_FLAGS = @GIMP_MP_FLAGS@
GIMP_MP_LIBS = @GIMP_MP_LIBS@
GIMP_PERL = @GIMP_PERL@
GIMP_PLUGINS = @GIMP_PLUGINS@
GIMP_THREAD_FLAGS = @GIMP_THREAD_FLAGS@
GIMP_THREAD_LIBS = @GIMP_THREAD_LIBS@
GIMP_VERSION = @GIMP_VERSION@
GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_LIBS = @GLIB_LIBS@
GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@
GNOME_CONFIG = @GNOME_CONFIG@
GTKXMHTML_CFLAGS = @GTKXMHTML_CFLAGS@
GTKXMHTML_LIBS = @GTKXMHTML_LIBS@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_CONFIG = @GTK_CONFIG@
GTK_LIBS = @GTK_LIBS@
GT_NO = @GT_NO@
GT_YES = @GT_YES@
HELPBROWSER = @HELPBROWSER@
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
INSTOBJEXT = @INSTOBJEXT@
INTLDEPS = @INTLDEPS@
INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@
IN_GIMP = @IN_GIMP@
JPEG = @JPEG@
LD = @LD@
LDFLAGS = @LDFLAGS@
LIBAA = @LIBAA@
LIBJPEG = @LIBJPEG@
LIBMPEG = @LIBMPEG@
LIBPNG = @LIBPNG@
LIBTIFF = @LIBTIFF@
LIBTOOL = @LIBTOOL@
LIBUCB = @LIBUCB@
LIBXMU = @LIBXMU@
LIBXPM = @LIBXPM@
LIBZ = @LIBZ@
LN_S = @LN_S@
LPC_COMMAND = @LPC_COMMAND@
LPC_DEF = @LPC_DEF@
LPR_COMMAND = @LPR_COMMAND@
LPR_DEF = @LPR_DEF@
LPSTAT_COMMAND = @LPSTAT_COMMAND@
LPSTAT_DEF = @LPSTAT_DEF@
LP_COMMAND = @LP_COMMAND@
LP_DEF = @LP_DEF@
LT_AGE = @LT_AGE@
LT_CURRENT = @LT_CURRENT@
LT_RELEASE = @LT_RELEASE@
LT_REVISION = @LT_REVISION@
MAILER = @MAILER@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
MKINSTALLDIRS = @MKINSTALLDIRS@
MPEG = @MPEG@
MSGFMT = @MSGFMT@
NM = @NM@
OBJDUMP = @OBJDUMP@
PACKAGE = @PACKAGE@
PERL = @PERL@
PNG = @PNG@
POFILES = @POFILES@
POSUB = @POSUB@
PSP = @PSP@
PYGIMP_CFLAGS_NOUI = @PYGIMP_CFLAGS_NOUI@
PYGIMP_LIBS_NOUI = @PYGIMP_LIBS_NOUI@
PYTHON = @PYTHON@
PYTHON_CFLAGS = @PYTHON_CFLAGS@
PYTHON_INCLUDES = @PYTHON_INCLUDES@
PYTHON_LINK = @PYTHON_LINK@
RANLIB = @RANLIB@
SENDMAIL = @SENDMAIL@
SO = @SO@
TIFF = @TIFF@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
WEBBROWSER = @WEBBROWSER@
XJT = @XJT@
XPM = @XPM@
brushdata = @brushdata@
gimpdatadir = @gimpdatadir@
gimpdir = @gimpdir@
gimpplugindir = @gimpplugindir@
gradientdata = @gradientdata@
l = @l@
localedir = @localedir@
palettedata = @palettedata@
patterndata = @patterndata@
prefix = @prefix@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
libexecdir = $(gimpplugindir)/plug-ins
libexec_PROGRAMS = gimp_ace
gimp_ace_SOURCES = gimp_ace.c gimp_ace.h glace.c glace.h glaceG.c glaceInt.h dialog.c color.h acconfig.h
AM_CPPFLAGS = -DGLACE_GIMP -DVERSION=\"0.5.0\"
INCLUDES = -I$(top_srcdir) $(GTK_CFLAGS) -I$(includedir)
LDADD = $(top_builddir)/libgimp/libgimp.la $(GTK_LIBS) $(INTLLIBS)
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
CONFIG_HEADER = ../../config.h
CONFIG_CLEAN_FILES =
PROGRAMS = $(libexec_PROGRAMS)
DEFS = @DEFS@ -I. -I$(srcdir) -I../..
LIBS = @LIBS@
gimp_ace_OBJECTS = gimp_ace.o glace.o glaceG.o dialog.o
gimp_ace_LDADD = $(LDADD)
gimp_ace_DEPENDENCIES = $(top_builddir)/libgimp/libgimp.la
gimp_ace_LDFLAGS =
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
DIST_COMMON = README AUTHORS ChangeLog Makefile.am Makefile.in NEWS \
TODO
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
TAR = tar
GZIP_ENV = --best
DEP_FILES = .deps/dialog.P .deps/gimp_ace.P .deps/glace.P \
.deps/glaceG.P
SOURCES = $(gimp_ace_SOURCES)
OBJECTS = $(gimp_ace_OBJECTS)
all: all-redirect
.SUFFIXES:
.SUFFIXES: .S .c .lo .o .s
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
cd $(top_srcdir) && $(AUTOMAKE) --gnu plug-ins/gimp_ace/Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
cd $(top_builddir) \
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
mostlyclean-libexecPROGRAMS:
clean-libexecPROGRAMS:
-test -z "$(libexec_PROGRAMS)" || rm -f $(libexec_PROGRAMS)
distclean-libexecPROGRAMS:
maintainer-clean-libexecPROGRAMS:
install-libexecPROGRAMS: $(libexec_PROGRAMS)
@$(NORMAL_INSTALL)
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
@list='$(libexec_PROGRAMS)'; for p in $$list; do \
if test -f $$p; then \
echo " $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`"; \
$(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
else :; fi; \
done
uninstall-libexecPROGRAMS:
@$(NORMAL_UNINSTALL)
list='$(libexec_PROGRAMS)'; for p in $$list; do \
rm -f $(DESTDIR)$(libexecdir)/`echo $$p|sed 's/$(EXEEXT)$$//'|sed '$(transform)'|sed 's/$$/$(EXEEXT)/'`; \
done
.s.o:
$(COMPILE) -c $<
.S.o:
$(COMPILE) -c $<
mostlyclean-compile:
-rm -f *.o core *.core
clean-compile:
distclean-compile:
-rm -f *.tab.c
maintainer-clean-compile:
.s.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
.S.lo:
$(LIBTOOL) --mode=compile $(COMPILE) -c $<
mostlyclean-libtool:
-rm -f *.lo
clean-libtool:
-rm -rf .libs _libs
distclean-libtool:
maintainer-clean-libtool:
gimp_ace: $(gimp_ace_OBJECTS) $(gimp_ace_DEPENDENCIES)
@rm -f gimp_ace
$(LINK) $(gimp_ace_LDFLAGS) $(gimp_ace_OBJECTS) $(gimp_ace_LDADD) $(LIBS)
tags: TAGS
ID: $(HEADERS) $(SOURCES) $(LISP)
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
here=`pwd` && cd $(srcdir) \
&& mkid -f$$here/ID $$unique $(LISP)
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
tags=; \
here=`pwd`; \
list='$(SOURCES) $(HEADERS)'; \
unique=`for i in $$list; do echo $$i; done | \
awk ' { files[$$0] = 1; } \
END { for (i in files) print i; }'`; \
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
mostlyclean-tags:
clean-tags:
distclean-tags:
-rm -f TAGS ID
maintainer-clean-tags:
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
subdir = plug-ins/gimp_ace
distdir: $(DISTFILES)
here=`cd $(top_builddir) && pwd`; \
top_distdir=`cd $(top_distdir) && pwd`; \
distdir=`cd $(distdir) && pwd`; \
cd $(top_srcdir) \
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu plug-ins/gimp_ace/Makefile
@for file in $(DISTFILES); do \
d=$(srcdir); \
if test -d $$d/$$file; then \
cp -pr $$d/$$file $(distdir)/$$file; \
else \
test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|| cp -p $$d/$$file $(distdir)/$$file || :; \
fi; \
done
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
-include $(DEP_FILES)
mostlyclean-depend:
clean-depend:
distclean-depend:
-rm -rf .deps
maintainer-clean-depend:
%.o: %.c
@echo '$(COMPILE) -c $<'; \
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-cp .deps/$(*F).pp .deps/$(*F).P; \
tr ' ' '\012' < .deps/$(*F).pp \
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm .deps/$(*F).pp
%.lo: %.c
@echo '$(LTCOMPILE) -c $<'; \
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
< .deps/$(*F).pp > .deps/$(*F).P; \
tr ' ' '\012' < .deps/$(*F).pp \
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
>> .deps/$(*F).P; \
rm -f .deps/$(*F).pp
info-am:
info: info-am
dvi-am:
dvi: dvi-am
check-am: all-am
check: check-am
installcheck-am:
installcheck: installcheck-am
install-exec-am: install-libexecPROGRAMS
install-exec: install-exec-am
install-data-am:
install-data: install-data-am
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
install: install-am
uninstall-am: uninstall-libexecPROGRAMS
uninstall: uninstall-am
all-am: Makefile $(PROGRAMS)
all-redirect: all-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
installdirs:
$(mkinstalldirs) $(DESTDIR)$(libexecdir)
mostlyclean-generic:
clean-generic:
distclean-generic:
-rm -f Makefile $(CONFIG_CLEAN_FILES)
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
maintainer-clean-generic:
mostlyclean-am: mostlyclean-libexecPROGRAMS mostlyclean-compile \
mostlyclean-libtool mostlyclean-tags mostlyclean-depend \
mostlyclean-generic
mostlyclean: mostlyclean-am
clean-am: clean-libexecPROGRAMS clean-compile clean-libtool clean-tags \
clean-depend clean-generic mostlyclean-am
clean: clean-am
distclean-am: distclean-libexecPROGRAMS distclean-compile \
distclean-libtool distclean-tags distclean-depend \
distclean-generic clean-am
-rm -f libtool
distclean: distclean-am
maintainer-clean-am: maintainer-clean-libexecPROGRAMS \
maintainer-clean-compile maintainer-clean-libtool \
maintainer-clean-tags maintainer-clean-depend \
maintainer-clean-generic distclean-am
@echo "This command is intended for maintainers to use;"
@echo "it deletes files that may require special tools to rebuild."
maintainer-clean: maintainer-clean-am
.PHONY: mostlyclean-libexecPROGRAMS distclean-libexecPROGRAMS \
clean-libexecPROGRAMS maintainer-clean-libexecPROGRAMS \
uninstall-libexecPROGRAMS install-libexecPROGRAMS mostlyclean-compile \
distclean-compile clean-compile maintainer-clean-compile \
mostlyclean-libtool distclean-libtool clean-libtool \
maintainer-clean-libtool tags mostlyclean-tags distclean-tags \
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
distclean-depend clean-depend maintainer-clean-depend info-am info \
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
install-exec install-data-am install-data install-am install \
uninstall-am uninstall all-redirect all-am all installdirs \
mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
.PHONY: files
files:
@files=`ls $(DISTFILES) 2> /dev/null`; for p in $$files; do \
echo $$p; \
done
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: