-## $Id: Makefile-files,v 1.1.4.1 2003/11/28 23:10:08 ensc Exp $ -*- makefile -*-
+## $Id: Makefile-files 1657 2004-08-19 14:01:33Z ensc $ -*- makefile -*-
## Copyright (C) 2003 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
##
## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##
-test_PRGS = tests/escaperoot \
- tests/forkbomb \
- tests/testipc \
- tests/testlimit \
- tests/testopenf
-
-tests_escaperoot_SOURCES = tests/escaperoot.cc
-tests_forkbomb_SOURCES = tests/forkbomb.cc
-tests_testipc_SOURCES = tests/testipc.cc
-tests_testlimit_SOURCES = tests/testlimit.cc
-tests_testopenf_SOURCES = tests/testopenf.cc
+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)