summaryrefslogtreecommitdiff
path: root/examples/Makefile.am
blob: 30f4029253c46885fea930f2e0376ad4c34b1b55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72

NULL =

AM_CPPFLAGS = \
	-I$(top_builddir) \
	-I$(top_srcdir) \
	$(CCSS_EXAMPLES_CFLAGS) \
	-DCCSS_CAIRO_APPEARANCE_MODULE_INTERFACE_VERSION=\"$(CCSS_CAIRO_APPEARANCE_MODULE_INTERFACE_VERSION)\" \
	$(NULL)

AM_LDFLAGS = \
	../ccss/libccss-1.la \
	../ccss-cairo/libccss-cairo-1.la \
	$(CCSS_EXAMPLES_LIBS) \
	$(NULL)

noinst_PROGRAMS = \
	example-1 \
	example-2 \
	example-3 \
	example-4 \
	example-4-1 \
	example-4-2 \
	example-6 \
	example-7 \
	example-8 \
	example-9 \
	$(NULL)

noinst_LTLIBRARIES = libexample-8-noinst.la

pkglibdir = $(CCSS_CAIRO_APPEARANCE_MODULE_PATH)
pkglib_LTLIBRARIES = libexample-8.la

if CCSS_WITH_SOUP
noinst_PROGRAMS += example-5
endif

example_1_SOURCES = example-1.c

example_2_SOURCES = example-2.c

example_3_SOURCES = example-3.c

example_4_SOURCES = example-4.c

example_4_1_SOURCES = example-4-1.c

example_4_2_SOURCES = example-4-2.c

example_5_SOURCES = example-5.c

example_6_SOURCES = example-6.c

example_7_SOURCES = example-7.c

libexample_8_noinst_la_LDFLAGS = -module -no-undefined
libexample_8_noinst_la_SOURCES = example-8.c

example_8_SOURCES = 
example_8_LDADD = libexample-8-noinst.la

libexample_8_la_LDFLAGS = -avoid-version -export-dynamic -module -no-undefined
libexample_8_la_SOURCES = example-8.c

example_9_SOURCES = example-9.c

EXTRA_DIST = \
	example-3.png \
	example-5.svg \
	$(NULL)