X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=util-vserver%2Ftests%2FMakefile-files;h=bfc7aba546e8eeaed38caabc9d20906c5cf02b4d;hb=75de7ac21731b972fb4a423325642066a2ee03f5;hp=c2f9601374a5f4ecef71355c86b6a83da93588ff;hpb=3200d449106d1c6d12130b93b15792dc57e25c08;p=util-vserver.git diff --git a/util-vserver/tests/Makefile-files b/util-vserver/tests/Makefile-files index c2f9601..bfc7aba 100644 --- a/util-vserver/tests/Makefile-files +++ b/util-vserver/tests/Makefile-files @@ -17,28 +17,34 @@ ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ## -tests_DIETPROGS = tests/getctx tests/getinitpid +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.cc -tests_chrootsafe_LDADD = lib/libvserver.a -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 +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 = lib/libvserver.a +tests_getctx_LDADD = $(VSERVER_LDADDS) +tests_getctx_LDFLAGS = $(VSERVER_LDFLGS) tests_getinitpid_SOURCES = tests/getinitpid.c -tests_getinitpid_LDADD = lib/libvserver.a +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)