1#TESTS = test-operations 2 3EXTRA_PROGRAMS = $(TESTS) 4CLEANFILES = $(EXTRA_PROGRAMS) 5 6$(TESTS): output-dir 7 8libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la 9libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la 10libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la 11libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la 12libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la 13libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la 14libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la 15 16if OS_WIN32 17else 18libm = -lm 19endif 20 21AM_CPPFLAGS = \ 22 -I$(top_srcdir) \ 23 -I$(top_srcdir)/app \ 24 $(GEGL_CFLAGS) \ 25 -I$(includedir) 26 27# We need this due to circular dependencies, see more detailed 28# comments about it in app/Makefile.am 29AM_LDFLAGS = \ 30 -Wl,-u,$(SYMPREFIX)xcf_init \ 31 -Wl,-u,$(SYMPREFIX)internal_procs_init \ 32 -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ 33 -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_param_spec \ 34 -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ 35 -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ 36 -Wl,-u,$(SYMPREFIX)gimp_vectors_prop_undo_get_type 37 38# Note that we have some duplicate entries here too to work around 39# circular dependencies and systems on the same architectural layer as 40# an alternative to LDFLAGS above 41LDADD = \ 42 $(top_builddir)/app/xcf/libappxcf.a \ 43 $(top_builddir)/app/pdb/libappinternal-procs.a \ 44 $(top_builddir)/app/pdb/libapppdb.a \ 45 $(top_builddir)/app/plug-in/libappplug-in.a \ 46 $(top_builddir)/app/vectors/libappvectors.a \ 47 $(top_builddir)/app/core/libappcore.a \ 48 $(top_builddir)/app/file/libappfile.a \ 49 $(top_builddir)/app/text/libapptext.a \ 50 $(top_builddir)/app/paint/libapppaint.a \ 51 $(top_builddir)/app/config/libappconfig.a \ 52 $(top_builddir)/app/libapp.a \ 53 $(top_builddir)/app/gegl/libappgegl.a \ 54 $(top_builddir)/app/operations/libappoperations.a \ 55 $(libgimpconfig) \ 56 $(libgimpmath) \ 57 $(libgimpthumb) \ 58 $(libgimpcolor) \ 59 $(libgimpmodule) \ 60 $(libgimpbase) \ 61 $(GDK_PIXBUF_LIBS) \ 62 $(PANGOCAIRO_LIBS) \ 63 $(GEGL_LIBS) \ 64 $(GLIB_LIBS) \ 65 $(libm) 66 67output-dir: 68 mkdir -p output 69 70clean-local: 71 rm -rf output 72