1 if HAVE_GTK 2 3 AM_CFLAGS = $(OPENMP_CFLAGS) 4 AM_LDFLAGS = $(OPENMP_CFLAGS) 5 6 LDADD = $(top_builddir)/pixman/libpixman-1.la -lm $(GTK_LIBS) $(PNG_LIBS) 7 AM_CPPFLAGS = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman $(GTK_CFLAGS) $(PNG_CFLAGS) 8 9 GTK_UTILS = gtk-utils.c gtk-utils.h ../test/utils.c ../test/utils.h \ 10 ../test/utils-prng.c ../test/utils-prng.h 11 12 DEMOS = \ 13 clip-test \ 14 clip-in \ 15 composite-test \ 16 gradient-test \ 17 radial-test \ 18 linear-gradient \ 19 conical-test \ 20 alpha-test \ 21 screen-test \ 22 convolution-test \ 23 trap-test \ 24 tri-test \ 25 quad2quad \ 26 checkerboard \ 27 srgb-trap-test \ 28 srgb-test \ 29 scale 30 31 EXTRA_DIST = parrot.c parrot.jpg scale.ui 32 33 gradient_test_SOURCES = gradient-test.c $(GTK_UTILS) 34 alpha_test_SOURCES = alpha-test.c $(GTK_UTILS) 35 composite_test_SOURCES = composite-test.c $(GTK_UTILS) 36 clip_test_SOURCES = clip-test.c $(GTK_UTILS) 37 clip_in_SOURCES = clip-in.c $(GTK_UTILS) 38 trap_test_SOURCES = trap-test.c $(GTK_UTILS) 39 screen_test_SOURCES = screen-test.c $(GTK_UTILS) 40 convolution_test_SOURCES = convolution-test.c $(GTK_UTILS) 41 radial_test_SOURCES = radial-test.c $(GTK_UTILS) 42 linear_gradient_SOURCES = linear-gradient.c $(GTK_UTILS) 43 conical_test_SOURCES = conical-test.c $(GTK_UTILS) 44 tri_test_SOURCES = tri-test.c $(GTK_UTILS) 45 checkerboard_SOURCES = checkerboard.c $(GTK_UTILS) 46 srgb_test_SOURCES = srgb-test.c $(GTK_UTILS) 47 srgb_trap_test_SOURCES = srgb-trap-test.c $(GTK_UTILS) 48 scale_SOURCES = scale.c $(GTK_UTILS) 49 50 noinst_PROGRAMS = $(DEMOS) 51 52 endif 53