blob: ef275d142b428a6b4f54ffd13f8970eb9644b58a (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
## Makefile.am -- an -*- automake -*- template for Makefile.in
## Copyright (C) 2008 SEIKO EPSON CORPORATION
##
## License: GPLv2+
## Authors: AVASYS CORPORATION
##
## This file is part of the "Image Scan!" build infra-structure.
##
## The "Image Scan!" build infra-structure is free software.
## You can redistribute it and/or modify it under the terms of the GNU
## General Public License as published by the Free Software Foundation;
## either version 2 of the License or at your option any later version.
##
## This program is distributed in the hope that it will be useful,
## but WITHOUT ANY WARRANTY; without even the implied warranty of
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
## GNU General Public License for more details.
##
## You ought to have received a copy of the GNU General Public License
## along with this package. If not, see <http://www.gnu.org/licenses/>.
AM_CPPFLAGS = $(XML_CFLAGS)
check_PROGRAMS = \
xmltest
TESTS =
xmltest_LDADD = ../libepkowa.la
xmltest_SOURCES = xmltest.c xmltest.h
EXTRA_DIST = \
47542d58393730.xml \
45532d48333030.xml \
50657266656374696f6e363130.xml \
xmltest-runner.sh
if HAVE_CXXTESTGEN
check_PROGRAMS += \
cfg-obj \
net-obj \
network \
model-info
TESTS += \
cfg-obj \
net-obj \
model-info
cfg_obj_LDADD = ../libepkowa.la
cfg_obj_SOURCES = \
test-cfg-obj.cc \
test-cfg-obj.hh
net_obj_LDADD = ../libepkowa.la
net_obj_SOURCES = \
test-net-obj.cc \
test-net-obj.hh
model_info_LDADD = ../libepkowa.la
model_info_SOURCES = \
test-model-info.cc \
test-model-info.hh
# Use the CxxTest code generator on all files matching test-*.hh to
# create the corresponding test-*.cc file. This convention is used
# so that we can still use regular source code without this getting
# clobbered as soon as we change the header file.
.hh.cc:
@if test xtest- = "x`echo $^ | sed -n 's|^\(test-\).*|\1|p'`"; \
then \
echo "$(CXXTESTGEN) $(CXXTESTGEN_OPTS) -o $@ $^"; \
$(CXXTESTGEN) $(CXXTESTGEN_OPTS) -o $@ $^; \
fi
endif ## HAVE_CXXTESTGEN
|