~ubuntu-branches/ubuntu/trusty/libtheora/trusty-proposed

« back to all changes in this revision

Viewing changes to tests/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Clint Adams
  • Date: 2008-04-23 14:08:37 UTC
  • mfrom: (1.1.6 upstream) (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080423140837-t981xtgv43carzk8
Tags: 1.0~beta3-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
THEORADIR = ../lib
8
8
THEORA_LIBS = $(THEORADIR)/libtheora.la $(OGG_LIBS)
9
 
 
 
9
THEORADEC_LIBS = $(THEORADIR)/libtheoradec.la $(OGG_LIBS)
 
10
THEORAENC_LIBS = $(THEORADIR)/libtheoraenc.la \
 
11
                 $(THEORADIR)/libtheoradec.la $(OGG_LIBS)
10
12
test: check
11
13
 
12
14
TESTS_ENVIRONMENT = $(VALGRIND_ENVIRONMENT)
13
15
 
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
15
19
 
16
20
noinst_PROGRAMS = $(TESTS)
17
21
 
 
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)
21
26
 
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)
 
31
 
 
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)
 
36
 
 
37
# comment utilities for the current api
 
38
comment_SOURCES = comment.c
 
39
comment_LDADD = $(THEORADEC_LIBS)
 
40
comment_CFLAGS = $(OGG_CFLAGS)
 
41
 
 
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)
 
46
 
 
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)
25
51
 
26
52
granulepos_SOURCES = granulepos.c
27
 
granulepos_LDADD = $(THEORA_LIBS)
 
53
granulepos_LDADD = $(THEORAENC_LIBS)
28
54
granulepos_CFLAGS = $(OGG_CFLAGS)
 
55
 
 
56
granulepos_theoraenc_SOURCES = granulepos_theora.c
 
57
granulepos_theoraenc_LDADD = $(THEORAENC_LIBS)
 
58
granulepos_theoraenc_CFLAGS = $(OGG_CFLAGS)
 
59
 
 
60
granulepos_theora_SOURCES = granulepos_theora.c
 
61
granulepos_theora_LDADD = $(THEORA_LIBS)
 
62
granulepos_theora_CFLAGS = $(OGG_CFLAGS)