diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:13:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 03:13:10 +0000 |
commit | 3c57dd931145d43f2b0aef96c4d178135956bf91 (patch) | |
tree | 3de698981e9f0cc2c4f9569b19a5f3595e741f6b /app/operations/tests/Makefile.am | |
parent | Initial commit. (diff) | |
download | gimp-3c57dd931145d43f2b0aef96c4d178135956bf91.tar.xz gimp-3c57dd931145d43f2b0aef96c4d178135956bf91.zip |
Adding upstream version 2.10.36.upstream/2.10.36
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 |