8
8
THEORA_LIBS = $(THEORADIR)/libtheora.la $(OGG_LIBS)
9
THEORADEC_LIBS = $(THEORADIR)/libtheoradec.la $(OGG_LIBS)
10
THEORAENC_LIBS = $(THEORADIR)/libtheoraenc.la \
11
$(THEORADIR)/libtheoradec.la $(OGG_LIBS)
12
14
TESTS_ENVIRONMENT = $(VALGRIND_ENVIRONMENT)
14
TESTS = noop comment-test granulepos
16
TESTS = noop noop_theoraenc noop_theora \
17
comment comment_theoradec comment_theora \
18
granulepos granulepos_theoraenc granulepos_theora
16
20
noinst_PROGRAMS = $(TESTS)
22
# dummy call tests for the current api
18
23
noop_SOURCES = noop.c
19
noop_LDADD = $(THEORA_LIBS)
24
noop_LDADD = $(THEORAENC_LIBS)
20
25
noop_CFLAGS = $(OGG_CFLAGS)
22
comment_test_SOURCES = comment-test.c
23
comment_test_LDADD = $(THEORA_LIBS)
24
comment_test_CFLAGS = $(OGG_CFLAGS)
27
# dummy call tests for the pre-1.0 legacy api with current link line
28
noop_theoraenc_SOURCES = noop_theora.c
29
noop_theoraenc_LDADD = $(THEORAENC_LIBS)
30
noop_theoraenc_CFLAGS = $(OGG_CFLAGS)
32
# dummy call tests for the pre-1.0 legacy api with legacy link line
33
noop_theora_SOURCES = noop_theora.c
34
noop_theora_LDADD = $(THEORA_LIBS)
35
noop_theora_CFLAGS = $(OGG_CFLAGS)
37
# comment utilities for the current api
38
comment_SOURCES = comment.c
39
comment_LDADD = $(THEORADEC_LIBS)
40
comment_CFLAGS = $(OGG_CFLAGS)
42
# comment utilities for the legacy api and current lib
43
comment_theoradec_SOURCES = comment.c
44
comment_theoradec_LDADD = $(THEORADEC_LIBS)
45
comment_theoradec_CFLAGS = $(OGG_CFLAGS)
47
# comment utilities for the legacy api and legacy lib
48
comment_theora_SOURCES = comment_theora.c
49
comment_theora_LDADD = $(THEORA_LIBS)
50
comment_theora_CFLAGS = $(OGG_CFLAGS)
26
52
granulepos_SOURCES = granulepos.c
27
granulepos_LDADD = $(THEORA_LIBS)
53
granulepos_LDADD = $(THEORAENC_LIBS)
28
54
granulepos_CFLAGS = $(OGG_CFLAGS)
56
granulepos_theoraenc_SOURCES = granulepos_theora.c
57
granulepos_theoraenc_LDADD = $(THEORAENC_LIBS)
58
granulepos_theoraenc_CFLAGS = $(OGG_CFLAGS)
60
granulepos_theora_SOURCES = granulepos_theora.c
61
granulepos_theora_LDADD = $(THEORA_LIBS)
62
granulepos_theora_CFLAGS = $(OGG_CFLAGS)