Debian Codegraph @

tests/Makefile.am

raw
1 # Makefile for Assuan regression tests
2 # Copyright (C) 2006 Free Software Foundation, Inc.
3 #
4 # This file is part of Assuan.
5 #
6 # Assuan is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU Lesser General Public License as
8 # published by the Free Software Foundation; either version 3 of
9 # the License, or (at your option) any later version.
10 #
11 # Assuan is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Lesser General Public License for more details.
15 #
16 # You should have received a copy of the GNU Lesser General Public
17 # License along with this program; if not, see <http://www.gnu.org/licenses/>.
18
19 ## Process this file with automake to produce Makefile.in
20
21 TESTS_ENVIRONMENT = EXEEXT=$(EXEEXT); export EXEEXT;
22
23 EXTRA_DIST = motd fdpassing-socket.sh
24
25 BUILT_SOURCES =
26 CLEANFILES =
27
28 test_programs = version
29 test_programs += pipeconnect
30
31 if HAVE_W32_SYSTEM
32 test_programs += fdpassing
33 check_SCRIPTS = fdpassing-socket.sh
34 testtools =
35 else
36 testtools = socks5
37 endif
38
39 if USE_DESCRIPTOR_PASSING
40 test_programs += fdpassing
41 check_SCRIPTS = fdpassing-socket.sh
42 endif
43
44 TESTS = $(test_programs) $(check_SCRIPTS)
45
46 AM_CFLAGS = $(GPG_ERROR_CFLAGS)
47 if HAVE_W32_SYSTEM
48 AM_LDFLAGS = -no-fast-install
49 else
50 AM_LDFLAGS = -no-install
51 endif
52
53 noinst_HEADERS = common.h
54 noinst_PROGRAMS = $(test_programs) $(testtools)
55 LDADD = ../src/libassuan.la $(GPG_ERROR_LIBS) @LDADD_FOR_TESTS_KLUDGE@