1 | if WITH_LIBGLADE |
---|
2 | libglade_cflags=$(LIBGLADE_CFLAGS) |
---|
3 | libglade_libs=$(LIBGLADE_LIBS) |
---|
4 | glade_programs=example_10 |
---|
5 | CLEANFILES=*.bak *~ *.ps |
---|
6 | else |
---|
7 | CLEANFILES=example_10 *.bak *~ *.ps |
---|
8 | glade_programs= |
---|
9 | libglade_cflags= |
---|
10 | libglade_libs= |
---|
11 | endif |
---|
12 | |
---|
13 | noinst_PROGRAMS= \ |
---|
14 | example_01 \ |
---|
15 | example_02 \ |
---|
16 | example_03 \ |
---|
17 | example_04 \ |
---|
18 | example_05 \ |
---|
19 | example_06 \ |
---|
20 | example_08 \ |
---|
21 | example_09 $(glade_programs) \ |
---|
22 | example_11 \ |
---|
23 | example_12 |
---|
24 | |
---|
25 | INCLUDES = \ |
---|
26 | -I$(top_srcdir) \ |
---|
27 | $(LIBGNOMEPRINTUI_CFLAGS) $(libglade_cflags) |
---|
28 | |
---|
29 | |
---|
30 | if EXAMPLES_USE_LOCAL_LIBGNOMEPRINT |
---|
31 | libgnomeprint_local=$(top_builddir)/../libgnomeprint/libgnomeprint/libgnomeprint-2-2.la |
---|
32 | else |
---|
33 | libgnomeprint_local= |
---|
34 | endif |
---|
35 | |
---|
36 | EXTRA_DIST = sample-image.png example_10.glade example_10.gladep README |
---|
37 | |
---|
38 | ## including ../../libngomeprint/libgnomeprint/libgnomeprint-2.la is not very robust |
---|
39 | ## but it allows us to not have to make install in libgnomeprint to test new stuff |
---|
40 | print_libs = \ |
---|
41 | $(top_builddir)/libgnomeprintui/libgnomeprintui-2-2.la \ |
---|
42 | $(libgnomeprint_local) \ |
---|
43 | $(LIBGNOMEPRINTUI_LIBS) $(libglade_libs) |
---|
44 | |
---|
45 | example_01_SOURCES = example_01.c |
---|
46 | example_02_SOURCES = example_02.c |
---|
47 | example_03_SOURCES = example_03.c |
---|
48 | example_04_SOURCES = example_04.c |
---|
49 | example_05_SOURCES = example_05.c |
---|
50 | example_06_SOURCES = example_06.c |
---|
51 | example_08_SOURCES = example_08.c |
---|
52 | example_09_SOURCES = example_09.c |
---|
53 | example_11_SOURCES = example_11.c |
---|
54 | example_12_SOURCES = example_12.c |
---|
55 | if WITH_LIBGLADE |
---|
56 | example_10_SOURCES = example_10.c |
---|
57 | endif |
---|
58 | |
---|
59 | example_01_LDADD = $(print_libs) |
---|
60 | example_02_LDADD = $(print_libs) |
---|
61 | example_03_LDADD = $(print_libs) |
---|
62 | example_04_LDADD = $(print_libs) |
---|
63 | example_05_LDADD = $(print_libs) |
---|
64 | example_06_LDADD = $(print_libs) |
---|
65 | example_08_LDADD = $(print_libs) |
---|
66 | example_09_LDADD = $(print_libs) |
---|
67 | example_11_LDADD = $(print_libs) |
---|
68 | example_12_LDADD = $(print_libs) |
---|
69 | |
---|
70 | if WITH_LIBGLADE |
---|
71 | example_10_LDADD = $(print_libs) |
---|
72 | endif |
---|