X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Ftests%2FMakefile-files;h=ea5399f5ed93019968ca03a59f4cd205fc68f257;hb=ba316793a5fd776e3f9cd87b285a86918e8cbd8a;hp=8fd4ec35c9033cf973748842bd97c6f526742483;hpb=1f4d70802881af2a6f349d4afc6092852f41f7d2;p=util-vserver.git diff --git a/util-vserver/tests/Makefile-files b/util-vserver/tests/Makefile-files index 8fd4ec3..ea5399f 100644 --- a/util-vserver/tests/Makefile-files +++ b/util-vserver/tests/Makefile-files @@ -17,19 +17,19 @@ ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## -tests_DIETPROGS = tests/getctx tests/getinitpid \ - tests/vserver-info +tests_dietprogs = tests/getctx \ + tests/getinitpid \ + tests/vserver-info -test_PRGS = tests/chrootsafe \ - tests/escaperoot \ - tests/forkbomb \ - tests/testipc \ - tests/testlimit \ - tests/testopenf \ - $(tests_DIETPROGS) +noinst_PROGRAMS += tests/escaperoot \ + tests/forkbomb \ + tests/testipc \ + tests/testlimit \ + tests/testopenf \ + $(tests_dietprogs) -tests_chrootsafe_SOURCES = tests/chrootsafe.c -tests_chrootsafe_LDADD = lib/libvserver.a + +DIETPROGS += $(tests_dietprogs) tests_escaperoot_SOURCES = tests/escaperoot.c tests_forkbomb_SOURCES = tests/forkbomb.c @@ -38,10 +38,13 @@ tests_testlimit_SOURCES = tests/testlimit.c tests_testopenf_SOURCES = tests/testopenf.c tests_getctx_SOURCES = tests/getctx.c -tests_getctx_LDADD = lib/libvserver.a +tests_getctx_LDADD = $(VSERVER_LDADDS) +tests_getctx_LDFLAGS = $(VSERVER_LDFLAGS) tests_getinitpid_SOURCES = tests/getinitpid.c -tests_getinitpid_LDADD = lib/libvserver.a +tests_getinitpid_LDADD = $(VSERVER_LDADDS) +tests_getinitpid_LDFLAGS = $(VSERVER_LDFLAGS) tests_vserver_info_SOURCES = tests/vserver-info.c -tests_vserver_info_LDADD = lib/libvserver.a +tests_vserver_info_LDADD = $(VSERVER_LDADDS) +tests_vserver_info_LDFLAGS = $(VSERVER_LDFLAGS)