1997-11-25 06:05:25 +08:00
|
|
|
## Process this file with automake to produce Makefile.in
|
|
|
|
|
2018-11-24 06:15:25 +08:00
|
|
|
if PLATFORM_OSX
|
|
|
|
xobjective_c = "-xobjective-c"
|
|
|
|
xobjective_cxx = "-xobjective-c++"
|
|
|
|
xnone = "-xnone"
|
|
|
|
endif
|
|
|
|
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la
|
2005-01-26 03:11:26 +08:00
|
|
|
libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la
|
2004-01-22 11:51:46 +08:00
|
|
|
libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la
|
|
|
|
libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la
|
|
|
|
libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la
|
|
|
|
libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la
|
|
|
|
libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la
|
|
|
|
|
2009-10-15 03:42:14 +08:00
|
|
|
# Sort this by architectural dependencies, lowest level at the top,
|
2009-09-05 22:08:23 +08:00
|
|
|
# so that when e.g. changing a header-file the subdirs are built in
|
|
|
|
# the right order
|
2001-11-27 11:52:11 +08:00
|
|
|
SUBDIRS = \
|
2009-09-05 22:08:23 +08:00
|
|
|
config \
|
|
|
|
core \
|
2012-05-11 03:22:44 +08:00
|
|
|
operations \
|
2009-09-07 17:06:12 +08:00
|
|
|
gegl \
|
|
|
|
text \
|
2009-09-06 01:11:39 +08:00
|
|
|
vectors \
|
|
|
|
paint \
|
2009-09-05 22:08:23 +08:00
|
|
|
plug-in \
|
2009-09-07 17:06:12 +08:00
|
|
|
xcf \
|
2009-09-05 22:08:23 +08:00
|
|
|
file \
|
2019-02-11 19:45:06 +08:00
|
|
|
file-data \
|
2009-09-05 22:08:23 +08:00
|
|
|
pdb \
|
|
|
|
widgets \
|
2017-07-03 18:29:41 +08:00
|
|
|
propgui \
|
2009-09-05 22:08:23 +08:00
|
|
|
display \
|
|
|
|
tools \
|
|
|
|
dialogs \
|
|
|
|
actions \
|
|
|
|
menus \
|
|
|
|
gui \
|
2009-09-16 03:03:37 +08:00
|
|
|
. \
|
2009-09-05 22:08:23 +08:00
|
|
|
tests
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2009-09-08 04:51:41 +08:00
|
|
|
# Put the GIMP core in a lib so we can conveniently link against that
|
|
|
|
# in test cases
|
|
|
|
noinst_LIBRARIES = libapp.a
|
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
2012-05-02 23:43:43 +08:00
|
|
|
bin_PROGRAMS = gimp-@GIMP_APP_VERSION@ gimp-console-@GIMP_APP_VERSION@
|
2003-09-10 10:56:01 +08:00
|
|
|
else
|
2012-05-02 23:43:43 +08:00
|
|
|
bin_PROGRAMS = gimp-@GIMP_APP_VERSION@
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2009-09-08 04:51:41 +08:00
|
|
|
libapp_sources = \
|
2014-07-02 10:47:24 +08:00
|
|
|
about.h \
|
|
|
|
app.c \
|
|
|
|
app.h \
|
|
|
|
errors.c \
|
|
|
|
errors.h \
|
2022-02-07 18:02:19 +08:00
|
|
|
gimpcoreapp.c \
|
|
|
|
gimpcoreapp.h \
|
|
|
|
gimpconsoleapp.c \
|
|
|
|
gimpconsoleapp.h \
|
2014-07-02 10:47:24 +08:00
|
|
|
language.c \
|
|
|
|
language.h \
|
|
|
|
sanity.c \
|
|
|
|
sanity.h \
|
|
|
|
signals.c \
|
|
|
|
signals.h \
|
|
|
|
unique.c \
|
|
|
|
unique.h \
|
|
|
|
gimp-debug.c \
|
|
|
|
gimp-debug.h \
|
2018-01-29 07:58:01 +08:00
|
|
|
gimp-intl.h \
|
2014-07-02 10:47:24 +08:00
|
|
|
gimp-log.c \
|
|
|
|
gimp-log.h \
|
|
|
|
gimp-priorities.h \
|
2019-12-09 02:08:49 +08:00
|
|
|
gimp-update.c \
|
|
|
|
gimp-update.h \
|
2018-01-29 07:58:01 +08:00
|
|
|
gimp-version.c \
|
|
|
|
gimp-version.h
|
2001-11-12 02:35:25 +08:00
|
|
|
|
2018-01-30 03:08:13 +08:00
|
|
|
libapp_a_SOURCES = $(libapp_sources)
|
2009-09-08 04:51:41 +08:00
|
|
|
|
2012-05-02 23:43:43 +08:00
|
|
|
gimp_@GIMP_APP_VERSION@_SOURCES = $(libapp_sources) main.c
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2004-07-12 22:32:31 +08:00
|
|
|
|
app: add GimpBacktrace
GimpBacktrace provides an interface for creating and traversing
multi-threaded backtraces, as well as querying symbol information.
While we already have some backtrace functionality, it relies on
external tools for the most part, and as such is rather expensive,
and is only meant for producing opaque backtraces. GimpBacktrace,
on the other hand, is meant to be relatively cheap (we're going to
use it for profiling,) and allow inspection of the backtrace data.
In the future, it might make sense to replace some, or all, of the
other backtrace functions with GimpBacktrace.
GimpBacktrace currently only supports Linux. By default, it uses
dladdr() to query symbol information, which is somewhat limited (in
particular, it doesn't work for static functions.) When libunwind
is installed, GimpBacktrace uses it to get more complete symbol
information. libunwind is currently an optional dependency, but it
might make sense to promote it to a mandatory, or opt-out,
dependency, as it's lightweight and widely available.
On other platforms, the GimpBacktrace interface can still be used,
but it always returns NULL backtraces.
2018-09-02 13:15:35 +08:00
|
|
|
if PLATFORM_LINUX
|
|
|
|
libdl = -ldl
|
|
|
|
endif
|
|
|
|
|
2012-09-10 02:08:18 +08:00
|
|
|
if PLATFORM_OSX
|
2013-11-10 04:00:55 +08:00
|
|
|
framework_cocoa = -framework Cocoa
|
2012-09-10 02:08:18 +08:00
|
|
|
endif
|
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
if OS_WIN32
|
2013-01-22 04:17:45 +08:00
|
|
|
win32_ldflags = -mwindows -Wl,--tsaware $(WIN32_LARGE_ADDRESS_AWARE)
|
2015-08-31 21:26:51 +08:00
|
|
|
|
2018-09-04 03:52:36 +08:00
|
|
|
# for GimpDashboard and GimpBacktrace
|
2018-06-28 22:48:11 +08:00
|
|
|
psapi_cflags = -DPSAPI_VERSION=1
|
|
|
|
libpsapi = -lpsapi
|
|
|
|
|
2018-09-04 03:52:36 +08:00
|
|
|
# for GimpBacktrace
|
|
|
|
libdbghelp = -ldbghelp
|
|
|
|
|
2019-05-28 17:55:59 +08:00
|
|
|
# for I_RpcExceptionFilter()
|
|
|
|
librpcrt4 = -lrpcrt4
|
|
|
|
|
2015-08-31 21:26:51 +08:00
|
|
|
if HAVE_EXCHNDL
|
|
|
|
exchndl = -lexchndl
|
|
|
|
endif
|
|
|
|
|
2015-02-17 02:35:00 +08:00
|
|
|
else
|
|
|
|
libm = -lm
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
2006-08-06 05:21:01 +08:00
|
|
|
|
2019-02-05 21:21:23 +08:00
|
|
|
if ENABLE_RELOCATABLE_RESOURCES
|
2005-11-06 09:06:41 +08:00
|
|
|
munix = -Wl,-rpath '-Wl,$$ORIGIN/../lib'
|
|
|
|
endif
|
1999-05-05 06:59:54 +08:00
|
|
|
|
2004-08-01 23:28:32 +08:00
|
|
|
if HAVE_WINDRES
|
2010-08-28 03:13:03 +08:00
|
|
|
include $(top_srcdir)/build/windows/gimprc.rule
|
2010-08-28 05:09:20 +08:00
|
|
|
GIMPRC = gimp-$(GIMP_APP_VERSION).rc.o
|
|
|
|
GIMPCONSOLERC = gimp-console-$(GIMP_APP_VERSION).rc.o
|
2004-08-01 23:28:32 +08:00
|
|
|
endif
|
|
|
|
|
2002-06-08 07:00:46 +08:00
|
|
|
AM_CPPFLAGS = \
|
2018-02-04 21:09:22 +08:00
|
|
|
-DGIMPDIR=\""$(gimpdir)"\" \
|
|
|
|
-DLIBEXECDIR=\""$(libexecdir)"\" \
|
|
|
|
-DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\" \
|
|
|
|
-DGIMP_TOOL_VERSION=\"$(GIMP_TOOL_VERSION)\" \
|
|
|
|
-DG_LOG_DOMAIN=\"Gimp\" \
|
|
|
|
-DGIMP_APP_GLUE_COMPILATION \
|
|
|
|
-DCC_VERSION=\""$(CC_VERSION)"\" \
|
|
|
|
-I$(top_srcdir) \
|
|
|
|
$(GTK_CFLAGS) \
|
|
|
|
$(PANGOCAIRO_CFLAGS) \
|
|
|
|
$(GEGL_CFLAGS) \
|
|
|
|
$(LCMS_CFLAGS) \
|
|
|
|
$(GEXIV2_CFLAGS) \
|
2018-06-28 22:48:11 +08:00
|
|
|
$(psapi_cflags) \
|
2018-11-24 06:15:25 +08:00
|
|
|
$(xobjective_c) \
|
2018-02-04 21:09:22 +08:00
|
|
|
-I$(includedir) \
|
2013-05-29 17:22:27 +08:00
|
|
|
-I$(builddir)/gui
|
1997-11-25 06:05:25 +08:00
|
|
|
|
2015-08-28 03:44:15 +08:00
|
|
|
# We need this due to circular dependencies
|
|
|
|
AM_LDFLAGS = \
|
|
|
|
$(munix) \
|
2012-05-21 01:29:44 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \
|
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \
|
2020-01-17 18:15:53 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_config_param_spec_duplicate \
|
2015-08-28 03:44:15 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_operations_init \
|
|
|
|
-Wl,-u,$(SYMPREFIX)xcf_init \
|
|
|
|
-Wl,-u,$(SYMPREFIX)internal_procs_init \
|
2019-08-30 17:42:14 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_pdb_compat_procs_register \
|
2015-08-28 03:44:15 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \
|
app: add gimp-parallel
Add gimp-parallel.[cc,h], which provides a set of parallel
algorithms.
These currently include:
- gimp_parallel_distribute(): Calls a callback function in
parallel on multiple threads, passing it the current thread
index, and the total number of threads. Allows specifying the
maximal number of threads used.
- gimp_parallel_distribute_range(): Splits a range of integers
between multiple threads, passing the sub-range to a callback
function. Allows specifying the minimal sub-range size.
- gimp_parallel_distribute_area(): Splits a rectangular area
between multiple threads, passing the sub-area to a callback
function. Allows specifying the minimal sub-area.
The callback function is passed using an appropriately-typed
function pointer, and a user-data pointer. Additionally, when used
in a C++ file, each of the above functions has an overloaded
template version, taking the callback through a generic parameter,
without a user-data pointer, which allows using function objects.
2018-04-05 03:16:42 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_layer_mode_is_legacy \
|
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_parallel_init \
|
2018-05-29 21:16:48 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_async_set_new \
|
2019-01-06 20:06:49 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_uncancelable_waitable_new
|
2009-09-05 20:32:32 +08:00
|
|
|
|
|
|
|
gimpconsoleldadd = \
|
2017-01-10 04:57:15 +08:00
|
|
|
xcf/libappxcf.a \
|
|
|
|
pdb/libappinternal-procs.a \
|
|
|
|
pdb/libapppdb.a \
|
|
|
|
plug-in/libappplug-in.a \
|
|
|
|
vectors/libappvectors.a \
|
|
|
|
core/libappcore.a \
|
|
|
|
file/libappfile.a \
|
2019-02-11 19:45:06 +08:00
|
|
|
file-data/libappfile-data.a \
|
2017-01-10 04:57:15 +08:00
|
|
|
text/libapptext.a \
|
|
|
|
paint/libapppaint.a \
|
app: layer mode code shuffling
Commit 3635cf04ab69bafb76d7583da804f580f2d5fbf3 moved the special
handling of bottom-layer compositing to GimpOperationLayerMode.
This required giving the op more control over the process()
function of its subclasses. As a temporary workaround, the commit
bypassed the subclasses entirely, using "gimp:layer-mode" for all
modes. This is the reckoning :)
Add a process() virtual function to GimpOperationLayerMode, which
its subclasses should override instead of
GeglOperationPointComposer3's process() functions. Reinstate the
subclasses (by returning the correct op in
gimp_layer_mode_get_oepration()), and have them override this
function.
Improve the way gimp_operation_layer_mode_process() dispatches to
the actual process function, to slightly lower its overhead and
fix some thread-safety issues.
Remove the "function" field of the layer-mode info array, and have
gimp_layer_mode_get_function() return the
GimpOperationLayerMode::process() function of the corresponding
op's class (caching the result, to keep it cheap.) This reduces
redundancy, allows us to make the ops' process() functions private,
and simplifies SSE dispatching (only used by NORMAL mode,
currently.)
Move the blend and composite functions of the non-specialized
layer modes to gimpoperationlayermode-{blend,composite}.[hc],
respectively, to improve code organization.
Move the SSE2 composite functions to a separate file, so that they
can be built as part of libapplayermodes_sse2, allowing
libapplayermodes to be built without SSE2 compiler flags. This
allows building GIMP with SSE acceleration enabled, while running
the resulting binary on a target with no SSE accelration.
Add a "blend_function" field to the layer-mode info array, and use
it to specify the blend function for the non-specialized modes.
This replaces the separate switch() statement that we used
previously.
Remove the "affected_region" field of the layer-mode info array.
We don't need it anymore, since we can go back to using
GimpOperationLayerMode's virtual get_affected_region() function.
Last but not least, a bunch of code cleanups and consistency
adjustments.
2017-08-17 22:26:49 +08:00
|
|
|
operations/libappoperations.a \
|
2017-01-10 04:57:15 +08:00
|
|
|
operations/layer-modes/libapplayermodes.a \
|
|
|
|
operations/layer-modes-legacy/libapplayermodeslegacy.a \
|
|
|
|
gegl/libappgegl.a \
|
|
|
|
config/libappconfig.a \
|
|
|
|
$(libgimpconfig) \
|
|
|
|
$(libgimpmath) \
|
|
|
|
$(libgimpthumb) \
|
|
|
|
$(libgimpcolor) \
|
|
|
|
$(libgimpmodule) \
|
|
|
|
$(libgimpbase) \
|
2018-07-01 15:10:54 +08:00
|
|
|
$(APPSTREAM_GLIB_LIBS) \
|
2017-01-10 04:57:15 +08:00
|
|
|
$(GDK_PIXBUF_LIBS) \
|
|
|
|
$(FREETYPE_LIBS) \
|
|
|
|
$(FONTCONFIG_LIBS) \
|
|
|
|
$(PANGOCAIRO_LIBS) \
|
|
|
|
$(HARFBUZZ_LIBS) \
|
|
|
|
$(CAIRO_LIBS) \
|
|
|
|
$(GIO_UNIX_LIBS) \
|
|
|
|
$(GIO_WINDOWS_LIBS) \
|
|
|
|
$(GEGL_LIBS) \
|
|
|
|
$(GLIB_LIBS) \
|
|
|
|
$(LCMS_LIBS) \
|
|
|
|
$(GEXIV2_LIBS) \
|
|
|
|
$(Z_LIBS) \
|
|
|
|
$(JSON_C_LIBS) \
|
2019-04-13 00:27:38 +08:00
|
|
|
$(LIBARCHIVE_LIBS) \
|
2017-01-10 04:57:15 +08:00
|
|
|
$(LIBMYPAINT_LIBS) \
|
2018-09-23 10:33:44 +08:00
|
|
|
$(LIBBACKTRACE_LIBS) \
|
app: add GimpBacktrace
GimpBacktrace provides an interface for creating and traversing
multi-threaded backtraces, as well as querying symbol information.
While we already have some backtrace functionality, it relies on
external tools for the most part, and as such is rather expensive,
and is only meant for producing opaque backtraces. GimpBacktrace,
on the other hand, is meant to be relatively cheap (we're going to
use it for profiling,) and allow inspection of the backtrace data.
In the future, it might make sense to replace some, or all, of the
other backtrace functions with GimpBacktrace.
GimpBacktrace currently only supports Linux. By default, it uses
dladdr() to query symbol information, which is somewhat limited (in
particular, it doesn't work for static functions.) When libunwind
is installed, GimpBacktrace uses it to get more complete symbol
information. libunwind is currently an optional dependency, but it
might make sense to promote it to a mandatory, or opt-out,
dependency, as it's lightweight and widely available.
On other platforms, the GimpBacktrace interface can still be used,
but it always returns NULL backtraces.
2018-09-02 13:15:35 +08:00
|
|
|
$(LIBUNWIND_LIBS) \
|
2017-01-10 04:57:15 +08:00
|
|
|
$(INTLLIBS) \
|
|
|
|
$(RT_LIBS) \
|
app: add GimpBacktrace
GimpBacktrace provides an interface for creating and traversing
multi-threaded backtraces, as well as querying symbol information.
While we already have some backtrace functionality, it relies on
external tools for the most part, and as such is rather expensive,
and is only meant for producing opaque backtraces. GimpBacktrace,
on the other hand, is meant to be relatively cheap (we're going to
use it for profiling,) and allow inspection of the backtrace data.
In the future, it might make sense to replace some, or all, of the
other backtrace functions with GimpBacktrace.
GimpBacktrace currently only supports Linux. By default, it uses
dladdr() to query symbol information, which is somewhat limited (in
particular, it doesn't work for static functions.) When libunwind
is installed, GimpBacktrace uses it to get more complete symbol
information. libunwind is currently an optional dependency, but it
might make sense to promote it to a mandatory, or opt-out,
dependency, as it's lightweight and widely available.
On other platforms, the GimpBacktrace interface can still be used,
but it always returns NULL backtraces.
2018-09-02 13:15:35 +08:00
|
|
|
$(libm) \
|
2018-09-04 03:52:36 +08:00
|
|
|
$(libdl) \
|
|
|
|
$(libpsapi) \
|
2019-05-28 17:55:59 +08:00
|
|
|
$(libdbghelp) \
|
|
|
|
$(librpcrt4)
|
2009-09-05 20:32:32 +08:00
|
|
|
|
2012-05-08 05:04:59 +08:00
|
|
|
gimp_@GIMP_APP_VERSION@_LDFLAGS = \
|
2018-06-14 02:02:05 +08:00
|
|
|
$(AM_LDFLAGS) \
|
|
|
|
$(win32_ldflags) \
|
|
|
|
$(framework_cocoa) \
|
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_lebl_dialog \
|
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_core_pixbufs_get_resource \
|
2018-06-14 01:36:17 +08:00
|
|
|
-Wl,-u,$(SYMPREFIX)gimp_tool_cursors_get_resource
|
|
|
|
|
2009-09-05 20:32:32 +08:00
|
|
|
|
2012-05-02 23:43:43 +08:00
|
|
|
gimp_@GIMP_APP_VERSION@_LDADD = \
|
2013-11-10 04:00:55 +08:00
|
|
|
gui/libappgui.a \
|
|
|
|
menus/libappmenus.a \
|
|
|
|
actions/libappactions.a \
|
|
|
|
dialogs/libappdialogs.a \
|
|
|
|
tools/libapptools.a \
|
|
|
|
display/libappdisplay.a \
|
2017-07-03 18:29:41 +08:00
|
|
|
propgui/libapppropgui.a \
|
2013-11-10 04:00:55 +08:00
|
|
|
widgets/libappwidgets.a \
|
|
|
|
$(libgimpwidgets) \
|
|
|
|
$(GTK_LIBS) \
|
|
|
|
$(GTK_MAC_INTEGRATION_LIBS) \
|
|
|
|
$(gimpconsoleldadd) \
|
2015-08-31 21:26:51 +08:00
|
|
|
$(exchndl) \
|
2009-10-15 03:30:59 +08:00
|
|
|
$(GIMPRC)
|
2002-02-03 16:03:21 +08:00
|
|
|
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
2004-07-12 22:32:31 +08:00
|
|
|
|
2012-05-02 23:43:43 +08:00
|
|
|
gimp_console_@GIMP_APP_VERSION@_SOURCES = $(libapp_sources) main.c
|
2004-07-12 22:32:31 +08:00
|
|
|
|
2012-05-02 23:43:43 +08:00
|
|
|
gimp_console_@GIMP_APP_VERSION@_CPPFLAGS = \
|
2004-07-12 22:32:31 +08:00
|
|
|
$(AM_CPPFLAGS) \
|
|
|
|
-DGIMP_CONSOLE_COMPILATION
|
|
|
|
|
2012-05-02 23:43:43 +08:00
|
|
|
gimp_console_@GIMP_APP_VERSION@_LDADD = \
|
2009-10-15 03:30:59 +08:00
|
|
|
$(gimpconsoleldadd) \
|
|
|
|
$(GIMPCONSOLERC)
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
|
|
|
|
2004-07-13 06:34:37 +08:00
|
|
|
|
2002-02-03 16:03:21 +08:00
|
|
|
install-exec-hook:
|
|
|
|
if DEFAULT_BINARY
|
|
|
|
cd $(DESTDIR)$(bindir) \
|
2002-12-26 10:08:28 +08:00
|
|
|
&& rm -f gimp$(EXEEXT) \
|
2004-01-22 11:51:46 +08:00
|
|
|
&& $(LN_S) gimp-$(GIMP_APP_VERSION)$(EXEEXT) gimp$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
|
|
|
cd $(DESTDIR)$(bindir) \
|
|
|
|
&& rm -f gimp-console$(EXEEXT) \
|
2004-01-22 11:51:46 +08:00
|
|
|
&& $(LN_S) gimp-console-$(GIMP_APP_VERSION)$(EXEEXT) gimp-console$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
2002-02-03 16:03:21 +08:00
|
|
|
endif
|
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
if DEFAULT_BINARY
|
2002-12-26 10:08:28 +08:00
|
|
|
rm -f $(DESTDIR)$(bindir)/gimp$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
if ENABLE_GIMP_CONSOLE
|
2004-01-14 19:10:35 +08:00
|
|
|
rm -f $(DESTDIR)$(bindir)/gimp-console$(EXEEXT)
|
2003-09-10 10:56:01 +08:00
|
|
|
endif
|
2002-02-03 16:03:21 +08:00
|
|
|
endif
|
2003-10-14 06:55:25 +08:00
|
|
|
|
|
|
|
|
2004-07-13 01:14:02 +08:00
|
|
|
# require gimp-console when making dist
|
|
|
|
#
|
|
|
|
if ENABLE_GIMP_CONSOLE
|
|
|
|
dist-check-gimp-console:
|
|
|
|
else
|
|
|
|
dist-check-gimp-console:
|
|
|
|
@echo "*** gimp-console must be enabled in order to make dist"
|
|
|
|
@false
|
|
|
|
endif
|
2003-10-14 06:55:25 +08:00
|
|
|
|
2004-07-13 01:14:02 +08:00
|
|
|
|
|
|
|
# hook to assure that the system gimprc and the gimprc manpage are
|
|
|
|
# uptodate when a release is made
|
|
|
|
#
|
|
|
|
dist-dump-gimprc: gimp-console-$(GIMP_APP_VERSION)$(EXEEXT)
|
2005-07-02 01:22:14 +08:00
|
|
|
./$< --dump-gimprc-system > gimprc.tmp \
|
2018-03-30 18:45:27 +08:00
|
|
|
&& (cmp -s gimprc.tmp $(top_srcdir)/etc/gimprc.in || \
|
|
|
|
cp gimprc.tmp $(top_srcdir)/etc/gimprc.in) \
|
|
|
|
&& rm gimprc.tmp
|
2005-07-02 01:22:14 +08:00
|
|
|
./$< --dump-gimprc-manpage > gimprc.tmp \
|
2018-03-30 18:45:27 +08:00
|
|
|
&& (cmp -s gimprc.tmp $(top_srcdir)/docs/gimprc.5.in ||\
|
|
|
|
cp gimprc.tmp $(top_srcdir)/docs/gimprc.5.in) \
|
|
|
|
&& rm gimprc.tmp
|
2004-07-13 01:14:02 +08:00
|
|
|
|
|
|
|
dist-hook: dist-check-gimp-console dist-dump-gimprc
|