1 ## $Id$ --*- makefile -*--
3 ## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
5 ## This program is free software; you can redistribute it and/or modify
6 ## it under the terms of the GNU General Public License as published by
7 ## the Free Software Foundation; version 2 of the License.
9 ## This program is distributed in the hope that it will be useful,
10 ## but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ## GNU General Public License for more details.
14 ## You should have received a copy of the GNU General Public License
15 ## along with this program; if not, write to the Free Software
16 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18 src_testsuite_check_active_PRGS = src/testsuite/vunify-functest \
19 src/testsuite/chcontext-test
20 src_testsuite_check_passive_PRGS = src/testsuite/rpm-fake-test
23 src_testsuite_check_PRGS = $(src_testsuite_check_passive_PRGS) \
24 $(src_testsuite_check_active_PRGS)
26 if ENSC_HAVE_C99_COMPILER
27 src_testsuite_check_src_C99_SCRPTS = src/testsuite/vunify-test.sh
29 src_testsuite_check_src_C99_SCRPTS =
32 src_testsuite_check_src_SCRPTS = $(src_testsuite_check_src_C99_SCRPTS)
33 src_testsuite_check_gen_SCRPTS =
35 src_testsuite_check_SCRPTS = $(src_testsuite_check_src_SCRPTS) \
36 $(src_testsuite_check_gen_SCRPTS)
38 src_testsuite_TSTS = $(src_testsuite_check_active_PRGS) \
39 $(src_testsuite_check_SCRPTS)
41 src_testsuite_XTRAS = $(src_testsuite_check_src_SCRPTS)
44 src_testsuite_rpm_fake_test_SOURCES = src/testsuite/rpm-fake-test.c
46 src_testsuite_vunify_functest_SOURCES = src/testsuite/vunify-functest.c \
47 src/vunify-matchlist.c
48 src_testsuite_vunify_functest_CPPFLAGS= $(AM_CPPFLAGS) $(src_testsuite_CPPFLAGS)
51 src_testsuite_chcontext_test_SOURCES = src/testsuite/chcontext-test.c \
52 src/util-exitlikeprocess.c
53 src_testsuite_chcontext_test_LDADD = lib/libvserver.la
55 src_testsuite_CPPFLAGS = -I $(top_srcdir)/src -D ENSC_TESTSUITE
58 clean-local: clean-testsuite
61 rm -rf src/testsuite/.libs src/testsuite/_libs