blob: 50a7170dc8b72c86587987a75cd059df85604c56 (
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
35
36
37
38
39
40
41
42
|
if WITH_TESTS
INCLUDES = \
-I$(top_srcdir)/libqcdm/src \
-I$(top_srcdir)/src
noinst_PROGRAMS = test-qcdm modepref
test_qcdm_SOURCES = \
test-qcdm-crc.c \
test-qcdm-crc.h \
test-qcdm-escaping.c \
test-qcdm-escaping.h \
test-qcdm-utils.c \
test-qcdm-utils.h \
test-qcdm-com.c \
test-qcdm-com.h \
test-qcdm-result.c \
test-qcdm-result.h \
test-qcdm.c
test_qcdm_CPPFLAGS = $(MM_CFLAGS)
test_qcdm_LDADD = $(MM_LIBS)
modepref_SOURCES = modepref.c
modepref_CPPFLAGS = $(MM_CFLAGS)
modepref_LDADD = $(MM_LIBS)
if QCDM_STANDALONE
test_qcdm_LDADD += $(top_builddir)/src/libqcdm.la
modepref_LDADD += $(top_builddir)/src/libqcdm.la
else
test_qcdm_LDADD += $(top_builddir)/libqcdm/src/libqcdm.la
modepref_LDADD += $(top_builddir)/libqcdm/src/libqcdm.la
endif
check-local: test-qcdm
$(abs_builddir)/test-qcdm
endif
|