skip duplicate util-vserver dir
[util-vserver.git] / tests / Makefile-files
diff --git a/tests/Makefile-files b/tests/Makefile-files
new file mode 100644 (file)
index 0000000..bfc7aba
--- /dev/null
@@ -0,0 +1,50 @@
+## $Id$  -*- makefile -*-
+
+## Copyright (C) 2003 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; either version 2, 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 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.
+##  
+
+tests_dietprogs =              tests/getctx \
+                               tests/getinitpid \
+                               tests/vserver-info
+
+noinst_PROGRAMS +=             tests/escaperoot \
+                               tests/forkbomb \
+                               tests/testipc \
+                               tests/testlimit \
+                               tests/testopenf \
+                               $(tests_dietprogs)
+
+
+DIETPROGS +=                   $(tests_dietprogs)
+
+tests_escaperoot_SOURCES       =  tests/escaperoot.c
+tests_forkbomb_SOURCES         =  tests/forkbomb.c
+tests_testipc_SOURCES          =  tests/testipc.c
+tests_testlimit_SOURCES                =  tests/testlimit.c
+tests_testopenf_SOURCES                =  tests/testopenf.c
+
+tests_getctx_SOURCES           =  tests/getctx.c
+tests_getctx_LDADD             =  $(VSERVER_LDADDS)
+tests_getctx_LDFLAGS           =  $(VSERVER_LDFLGS)
+
+tests_getinitpid_SOURCES       =  tests/getinitpid.c
+tests_getinitpid_LDADD         =  $(VSERVER_LDADDS)
+tests_getinitpid_LDFLAGS       =  $(VSERVER_LDFLGS)
+
+tests_vserver_info_SOURCES     =  tests/vserver-info.c
+tests_vserver_info_LDADD       =  $(VSERVER_LDADDS)
+tests_vserver_info_LDFLAGS     =  $(VSERVER_LDFLGS)