Makefile.am 1.77 KB
Newer Older
andre's avatar
andre committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
## Process this file with automake to produce Makefile.in

AM_CFLAGS = -Wall -pedantic

INCLUDES = -I$(top_srcdir)/include

OGGZDIR = ../liboggz
OGGZ_LIBS = $(OGGZDIR)/liboggz.la @OGG_LIBS@

# Test programs

test: check

if OGGZ_CONFIG_WRITE
write_tests = write-bad-guard write-unmarked-guard write-recursive \
	write-bad-bytes write-bad-bos write-dup-bos write-bad-eos \
	write-bad-granulepos write-bad-packetno
endif

20
21
22
23
24
25
26
27
if OGGZ_CONFIG_READ
if OGGZ_CONFIG_WRITE
rw_tests = read-generated read-stop-ok read-stop-err \
	io-read io-seek io-write
endif
endif

TESTS = $(write_tests) $(rw_tests)
andre's avatar
andre committed
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

noinst_PROGRAMS = $(TESTS)
noinst_HEADERS = oggz_tests.h

write_bad_guard_SOURCES = write-bad-guard.c
write_bad_guard_LDADD = $(OGGZ_LIBS)

write_unmarked_guard_SOURCES = write-unmarked-guard.c
write_unmarked_guard_LDADD = $(OGGZ_LIBS)

write_recursive_SOURCES = write-recursive.c
write_recursive_LDADD = $(OGGZ_LIBS)

write_bad_bytes_SOURCES = write-bad-bytes.c
write_bad_bytes_LDADD = $(OGGZ_LIBS)

write_bad_bos_SOURCES = write-bad-bos.c
write_bad_bos_LDADD = $(OGGZ_LIBS)

write_dup_bos_SOURCES = write-dup-bos.c
write_dup_bos_LDADD = $(OGGZ_LIBS)

write_bad_eos_SOURCES = write-bad-eos.c
write_bad_eos_LDADD = $(OGGZ_LIBS)

write_bad_granulepos_SOURCES = write-bad-granulepos.c
write_bad_granulepos_LDADD = $(OGGZ_LIBS)

write_bad_packetno_SOURCES = write-bad-packetno.c
write_bad_packetno_LDADD = $(OGGZ_LIBS)
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75

read_generated_SOURCES = read-generated.c
read_generated_LDADD = $(OGGZ_LIBS)

read_stop_ok_SOURCES = read-stop-ok.c
read_stop_ok_LDADD = $(OGGZ_LIBS)

read_stop_err_SOURCES = read-stop-err.c
read_stop_err_LDADD = $(OGGZ_LIBS)

io_read_SOURCES = io-read.c
io_read_LDADD = $(OGGZ_LIBS)

io_seek_SOURCES = io-seek.c
io_seek_LDADD = $(OGGZ_LIBS)

io_write_SOURCES = io-write.c
io_write_LDADD = $(OGGZ_LIBS)