f9d0291478ad973bab550e326e49a213a6f57b1a
[util-vserver.git] / lib_internal / testsuite / Makefile-files
1 ## $Id: Makefile-files,v 1.6 2005/03/24 00:09:18 ensc Exp $     --*- makefile -*--
2
3 ## Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
4 ##  
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.
8 ##  
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.
13 ##  
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.
17
18 check_PROGRAMS +=               lib_internal/testsuite/command
19
20 if ENSC_HAVE_C99_COMPILER
21 check_PROGRAMS +=               lib_internal/testsuite/filecfg-ml \
22                                 lib_internal/testsuite/copy \
23                                 lib_internal/testsuite/sigbus
24 TESTS +=                        lib_internal/testsuite/filecfg-ml \
25                                 lib_internal/testsuite/copy-check \
26                                 lib_internal/testsuite/sigbus
27 endif
28
29 EXTRA_DIST +=                   lib_internal/testsuite/copy-check
30
31 TESTS_ENVIRONMENT +=            libinternaltestsuitedir=$(top_builddir)/lib_internal/testsuite
32
33
34 lib_internal_testsuite_command_SOURCES =        lib_internal/testsuite/command.c
35 lib_internal_testsuite_command_LDADD =          $(LIBINTERNAL_GLIBC) \
36                                                 $(LIBENSCVECTOR_GLIBC)
37
38 lib_internal_testsuite_filecfg_ml_SOURCES =     lib_internal/testsuite/filecfg-ml.c
39 lib_internal_testsuite_filecfg_ml_LDADD =       $(LIBINTERNAL_GLIBC)
40
41 lib_internal_testsuite_copy_SOURCES =           lib_internal/testsuite/copy.c
42 lib_internal_testsuite_copy_LDADD =             $(LIBINTERNAL_GLIBC)
43
44 lib_internal_testsuite_sigbus_SOURCES =         lib_internal/testsuite/sigbus.c