summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: b735c3c898abc49b999eaba625c9366b1800bc15 (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
TESTS = amrwb opus init rtp srtp raw asc2bin

check_PROGRAMS = $(TESTS)

amrwb_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"amrwb\" -I../src
amrwb_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp
amrwb_SOURCES = test.cc test_amrwb.cc

opus_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"opus\" -I../src $(OPUS_CFLAGS)
opus_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp $(OPUS_LIBS)
opus_SOURCES = test.cc test_opus.cc

init_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"init\" -I../src
init_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp
init_SOURCES = test.cc test_init.cc

rtp_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"rtp\" -I../src
rtp_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp
rtp_SOURCES = test.cc test_rtp.cc

srtp_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"srtp\" -I../src
srtp_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp
srtp_SOURCES = test.cc test_srtp.cc

raw_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"raw\" -I../src
raw_LDFLAGS = $(CPPUNIT_LIBS) -L../src/.libs/ -llrtp
raw_SOURCES = test.cc test_raw.cc

asc2bin_CXXFLAGS = $(CPPUNIT_CFLAGS) -DOUTPUT=\"asc2bin\" -I../src
asc2bin_LDFLAGS = $(CPPUNIT_LIBS)
asc2bin_SOURCES = test.cc test_asc2bin.cc

clean-local:
	-rm -f result_*.xml