summaryrefslogtreecommitdiff
path: root/src/tests/Makefile.am
blob: 30c817aab84ae06afc78b7ed3b35a321b1e8db0c (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
## Process this file with automake to produce Makefile.in

AM_CFLAGS = -Wall -pedantic

INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/src/ctxdata

REMIX_LIBS = ../ctxdata/libctxdata.la ../libremix/libremix.la -ldl

# Test programs

TESTS_ENVIRONMENT = $(VALGRIND_ENVIRONMENT)

test: check

TESTS = noop sndfiletest

noinst_PROGRAMS = $(TESTS)
noinst_HEADERS = tests.h

noop_SOURCES = noop.c
noop_LDADD = $(REMIX_LIBS)

sndfiletest_SOURCES = sndfiletest.c
sndfiletest_LDADD = $(REMIX_LIBS) @SNDFILE_LIBS@