source: trunk/third/libgnomeprintui/examples/Makefile.am @ 20964

Revision 20964, 1.8 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20963, which included commits to RCS files with non-trunk default branches.
Line 
1if WITH_LIBGLADE
2libglade_cflags=$(LIBGLADE_CFLAGS)
3libglade_libs=$(LIBGLADE_LIBS)
4glade_programs=example_10
5CLEANFILES=*.bak *~ *.ps
6else
7CLEANFILES=example_10 *.bak *~ *.ps
8glade_programs=
9libglade_cflags=
10libglade_libs=
11endif
12
13noinst_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
25INCLUDES = \
26        -I$(top_srcdir) \
27        $(LIBGNOMEPRINTUI_CFLAGS) $(libglade_cflags)
28
29
30if EXAMPLES_USE_LOCAL_LIBGNOMEPRINT
31libgnomeprint_local=$(top_builddir)/../libgnomeprint/libgnomeprint/libgnomeprint-2-2.la
32else
33libgnomeprint_local=
34endif
35
36EXTRA_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
40print_libs = \
41        $(top_builddir)/libgnomeprintui/libgnomeprintui-2-2.la \
42        $(libgnomeprint_local) \
43        $(LIBGNOMEPRINTUI_LIBS) $(libglade_libs)
44
45example_01_SOURCES = example_01.c
46example_02_SOURCES = example_02.c
47example_03_SOURCES = example_03.c
48example_04_SOURCES = example_04.c
49example_05_SOURCES = example_05.c
50example_06_SOURCES = example_06.c
51example_08_SOURCES = example_08.c
52example_09_SOURCES = example_09.c
53example_11_SOURCES = example_11.c
54example_12_SOURCES = example_12.c
55if WITH_LIBGLADE
56example_10_SOURCES = example_10.c
57endif
58
59example_01_LDADD = $(print_libs)
60example_02_LDADD = $(print_libs)
61example_03_LDADD = $(print_libs)
62example_04_LDADD = $(print_libs)
63example_05_LDADD = $(print_libs)
64example_06_LDADD = $(print_libs)
65example_08_LDADD = $(print_libs)
66example_09_LDADD = $(print_libs)
67example_11_LDADD = $(print_libs)
68example_12_LDADD = $(print_libs)
69
70if WITH_LIBGLADE
71example_10_LDADD = $(print_libs)
72endif
Note: See TracBrowser for help on using the repository browser.