util-vserver-0.30.208
[util-vserver.git] / lib_internal / testsuite / Makefile-files
diff --git a/lib_internal/testsuite/Makefile-files b/lib_internal/testsuite/Makefile-files
new file mode 100644 (file)
index 0000000..f9d0291
--- /dev/null
@@ -0,0 +1,44 @@
+## $Id: Makefile-files,v 1.6 2005/03/24 00:09:18 ensc Exp $    --*- makefile -*--
+
+## Copyright (C) 2004 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
+##  
+## This program 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; version 2 of the License.
+##  
+## 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 should have received a copy of the GNU General Public License
+## along with this program; if not, write to the Free Software
+## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+check_PROGRAMS +=              lib_internal/testsuite/command
+
+if ENSC_HAVE_C99_COMPILER
+check_PROGRAMS +=              lib_internal/testsuite/filecfg-ml \
+                               lib_internal/testsuite/copy \
+                               lib_internal/testsuite/sigbus
+TESTS +=                       lib_internal/testsuite/filecfg-ml \
+                               lib_internal/testsuite/copy-check \
+                               lib_internal/testsuite/sigbus
+endif
+
+EXTRA_DIST +=                  lib_internal/testsuite/copy-check
+
+TESTS_ENVIRONMENT +=           libinternaltestsuitedir=$(top_builddir)/lib_internal/testsuite
+
+
+lib_internal_testsuite_command_SOURCES =       lib_internal/testsuite/command.c
+lib_internal_testsuite_command_LDADD =         $(LIBINTERNAL_GLIBC) \
+                                               $(LIBENSCVECTOR_GLIBC)
+
+lib_internal_testsuite_filecfg_ml_SOURCES =    lib_internal/testsuite/filecfg-ml.c
+lib_internal_testsuite_filecfg_ml_LDADD =      $(LIBINTERNAL_GLIBC)
+
+lib_internal_testsuite_copy_SOURCES =          lib_internal/testsuite/copy.c
+lib_internal_testsuite_copy_LDADD =            $(LIBINTERNAL_GLIBC)
+
+lib_internal_testsuite_sigbus_SOURCES =                lib_internal/testsuite/sigbus.c