2001-05-14 09:00:07 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2001-06-06 00:14:47 +08:00
|
|
|
noinst_LIBRARIES = libappbase.a
|
2001-05-14 09:00:07 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
libappbase_a_SOURCES = \
|
2001-05-21 02:37:07 +08:00
|
|
|
base.c \
|
|
|
|
base.h \
|
2001-12-08 00:10:53 +08:00
|
|
|
base-enums.c \
|
|
|
|
base-enums.h \
|
2001-05-15 19:25:25 +08:00
|
|
|
base-types.h \
|
2001-05-14 09:00:07 +08:00
|
|
|
boundary.c \
|
|
|
|
boundary.h \
|
|
|
|
brush-scale.c \
|
|
|
|
brush-scale.h \
|
2002-08-26 19:35:56 +08:00
|
|
|
color-balance.c \
|
|
|
|
color-balance.h \
|
2003-05-19 22:21:03 +08:00
|
|
|
colorize.c \
|
|
|
|
colorize.h \
|
2002-08-26 19:35:56 +08:00
|
|
|
curves.c \
|
|
|
|
curves.h \
|
2003-07-04 08:31:05 +08:00
|
|
|
cpu-accel.c \
|
|
|
|
cpu-accel.h \
|
2001-05-23 07:05:35 +08:00
|
|
|
gimphistogram.c \
|
|
|
|
gimphistogram.h \
|
2001-05-14 09:00:07 +08:00
|
|
|
gimplut.c \
|
|
|
|
gimplut.h \
|
2002-08-26 19:35:56 +08:00
|
|
|
hue-saturation.c \
|
|
|
|
hue-saturation.h \
|
More color correction stuff cleanup:
2002-09-04 Michael Natterer <mitch@gimp.org>
More color correction stuff cleanup:
* app/base/Makefile.am
* app/base/base-types.h
* app/base/levels.[ch]: new files containing levels_lut_func(), a
new "Levels" parameter struct and the "auto levels" stuff.
* app/base/lut-funcs.[ch]: removed the levels stuff here, added
lots of g_return_if_fail().
* app/base/color-balance.[ch]
* app/base/hue-saturation.[ch]: added init() and reset() functions
so we don't need to duplicate this code in the tool and the pdb
wrappers.
* app/base/curves.[ch]: s/gint/GimpHistogramChannel/g, made
curves_channel_reset() initialize the curves array.
* app/tools/gimpcolorbalancetool.[ch]: use the new functions,
moved the "Range" frame to the top, added a per-range "Reset"
button, made the global "Reset" button reset all ranges and
the "Preserve Luminosity" toggle.
* app/tools/gimpcurvestool.[ch]: don't initialize the curves
array manually, as curves_channel_reset() does that,
s/gint/GimpHistogramChannel/g.
* app/tools/gimphuesaturationtool.c: use the new functions, added
a per-channel "Reset" button and made the global "Reset" button
reset all channels, cleaned up the GUI update function.
* app/tools/gimplevelstool.[ch]: changed to use the new Levels
parameter struct and it's utility functions. Removed stuff
which now lives in base/levels.c
* app/tools/gimpimagemaptool.c: align the "Preview" button
bottom-left, not bottom-right.
* tools/pdbgen/pdb/color.pdb: use the new stuff and removed
uglyness because using the "Levels" struct makes the code more
straightforward.
* app/pdb/color_cmds.c: regenerated.
2002-09-04 23:25:15 +08:00
|
|
|
levels.c \
|
|
|
|
levels.h \
|
2001-05-23 07:05:35 +08:00
|
|
|
lut-funcs.c \
|
|
|
|
lut-funcs.h \
|
2001-05-14 09:00:07 +08:00
|
|
|
pixel-processor.c \
|
|
|
|
pixel-processor.h \
|
|
|
|
pixel-region.c \
|
|
|
|
pixel-region.h \
|
|
|
|
pixel-surround.c \
|
|
|
|
pixel-surround.h \
|
|
|
|
temp-buf.c \
|
|
|
|
temp-buf.h \
|
2002-08-26 19:35:56 +08:00
|
|
|
threshold.c \
|
|
|
|
threshold.h \
|
2001-05-14 09:00:07 +08:00
|
|
|
tile.c \
|
|
|
|
tile.h \
|
|
|
|
tile-private.h \
|
|
|
|
tile-cache.c \
|
|
|
|
tile-cache.h \
|
|
|
|
tile-manager.c \
|
|
|
|
tile-manager.h \
|
|
|
|
tile-manager-private.h \
|
2001-06-26 20:09:43 +08:00
|
|
|
tile-manager-crop.c \
|
|
|
|
tile-manager-crop.h \
|
2001-05-14 09:00:07 +08:00
|
|
|
tile-swap.c \
|
2002-06-08 07:00:46 +08:00
|
|
|
tile-swap.h
|
2001-05-14 09:00:07 +08:00
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2001-06-08 01:20:50 +08:00
|
|
|
-DG_LOG_DOMAIN=\"Gimp-Base\" \
|
|
|
|
@GIMP_THREAD_FLAGS@ \
|
2002-06-08 07:00:46 +08:00
|
|
|
@GIMP_MP_FLAGS@
|
2001-05-14 09:00:07 +08:00
|
|
|
|
2002-11-08 01:12:17 +08:00
|
|
|
AM_CCASFLAGS = \
|
|
|
|
-I$(top_builddir) \
|
|
|
|
-I$(top_srcdir) \
|
2002-05-30 10:13:11 +08:00
|
|
|
-I$(top_srcdir)/app
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
INCLUDES = \
|
2002-05-30 10:13:11 +08:00
|
|
|
-I$(top_srcdir) \
|
|
|
|
-I$(top_srcdir)/app \
|
|
|
|
$(GLIB_CFLAGS) \
|
2002-06-08 07:00:46 +08:00
|
|
|
-I$(includedir)
|
2001-12-08 00:10:53 +08:00
|
|
|
|
2003-09-05 05:58:57 +08:00
|
|
|
TESTS = test-cpu-accel
|
|
|
|
|
|
|
|
test_cpu_accel_SOURCES = test-cpu-accel.c
|
|
|
|
|
|
|
|
test_cpu_accel_LDADD = \
|
|
|
|
libappbase.a \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2002-11-08 01:12:17 +08:00
|
|
|
EXTRA_DIST = makefile.msc
|
|
|
|
|
2003-09-05 05:58:57 +08:00
|
|
|
EXTRA_PROGRAMS = test-cpu-accel
|
|
|
|
|
2001-12-08 00:10:53 +08:00
|
|
|
#
|
|
|
|
# rules to generate built sources
|
|
|
|
#
|
2003-02-03 21:39:55 +08:00
|
|
|
# setup autogeneration dependencies
|
2001-12-08 00:10:53 +08:00
|
|
|
gen_sources = xgen-bec
|
2003-09-05 05:58:57 +08:00
|
|
|
CLEANFILES = $(EXTRA_PROGRAMS) $(gen_sources)
|
2001-12-08 00:10:53 +08:00
|
|
|
|
2002-03-17 22:07:54 +08:00
|
|
|
$(srcdir)/base-enums.c: $(srcdir)/base-enums.h $(GIMP_MKENUMS)
|
|
|
|
$(GIMP_MKENUMS) \
|
2003-03-26 01:39:01 +08:00
|
|
|
--fhead "#include \"config.h\"\n#include <glib-object.h>\n#include \"base-enums.h\"\n#include \"gimp-intl.h\"" \
|
2001-12-08 00:10:53 +08:00
|
|
|
--fprod "\n/* enumerations from \"@filename@\" */" \
|
2001-12-30 23:35:27 +08:00
|
|
|
--vhead "\nstatic const GEnumValue @enum_name@_enum_values[] =\n{" \
|
2002-03-17 22:07:54 +08:00
|
|
|
--vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \
|
2001-12-08 00:10:53 +08:00
|
|
|
--vtail " { 0, NULL, NULL }\n};\n\nGType\n@enum_name@_get_type (void)\n{\n static GType enum_type = 0;\n\n if (!enum_type)\n enum_type = g_enum_register_static (\"@EnumName@\", @enum_name@_enum_values);\n\n return enum_type;\n}\n" \
|
|
|
|
$(srcdir)/base-enums.h > xgen-bec \
|
|
|
|
&& cp xgen-bec $(@F) \
|
|
|
|
&& rm -f xgen-bec
|