diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
commit | 5c1676dfe6d2f3c837a5e074117b45613fd29a72 (patch) | |
tree | cbffb45144febf451e54061db2b21395faf94bfe /app/operations/tests/Makefile.am | |
parent | Initial commit. (diff) | |
download | gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.tar.xz gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.zip |
Adding upstream version 2.10.34.upstream/2.10.34upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'app/operations/tests/Makefile.am')
-rw-r--r-- | app/operations/tests/Makefile.am | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/app/operations/tests/Makefile.am b/app/operations/tests/Makefile.am new file mode 100644 index 0000000..fdf0a9a --- /dev/null +++ b/app/operations/tests/Makefile.am @@ -0,0 +1,71 @@ +#TESTS = test-operations + +EXTRA_PROGRAMS = $(TESTS) +CLEANFILES = $(EXTRA_PROGRAMS) + +$(TESTS): output-dir + +libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la +libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la +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 + +if OS_WIN32 +else +libm = -lm +endif + +AM_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/app \ + $(GEGL_CFLAGS) \ + -I$(includedir) + +# We need this due to circular dependencies, see more detailed +# comments about it in app/Makefile.am +AM_LDFLAGS = \ + -Wl,-u,$(SYMPREFIX)xcf_init \ + -Wl,-u,$(SYMPREFIX)internal_procs_init \ + -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ + -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_param_spec \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ + -Wl,-u,$(SYMPREFIX)gimp_vectors_prop_undo_get_type + +# Note that we have some duplicate entries here too to work around +# circular dependencies and systems on the same architectural layer as +# an alternative to LDFLAGS above +LDADD = \ + $(top_builddir)/app/xcf/libappxcf.a \ + $(top_builddir)/app/pdb/libappinternal-procs.a \ + $(top_builddir)/app/pdb/libapppdb.a \ + $(top_builddir)/app/plug-in/libappplug-in.a \ + $(top_builddir)/app/vectors/libappvectors.a \ + $(top_builddir)/app/core/libappcore.a \ + $(top_builddir)/app/file/libappfile.a \ + $(top_builddir)/app/text/libapptext.a \ + $(top_builddir)/app/paint/libapppaint.a \ + $(top_builddir)/app/config/libappconfig.a \ + $(top_builddir)/app/libapp.a \ + $(top_builddir)/app/gegl/libappgegl.a \ + $(top_builddir)/app/operations/libappoperations.a \ + $(libgimpconfig) \ + $(libgimpmath) \ + $(libgimpthumb) \ + $(libgimpcolor) \ + $(libgimpmodule) \ + $(libgimpbase) \ + $(GDK_PIXBUF_LIBS) \ + $(PANGOCAIRO_LIBS) \ + $(GEGL_LIBS) \ + $(GLIB_LIBS) \ + $(libm) + +output-dir: + mkdir -p output + +clean-local: + rm -rf output |