generalized building with dietlibc
authorEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 16 Oct 2003 15:07:10 +0000 (15:07 +0000)
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
Thu, 16 Oct 2003 15:07:10 +0000 (15:07 +0000)
added getinitpid

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@180 94cd875c-1c1d-0410-91d2-eb244daf1a30

util-vserver/tests/Makefile-files

index 8d1d11f..c2f9601 100644 (file)
 ## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 ##  
 
-test_PRGS              =  tests/chrootsafe \
-                          tests/escaperoot \
-                          tests/forkbomb \
-                          tests/testipc \
-                          tests/testlimit \
-                          tests/testopenf \
-                          tests/getctx
+tests_DIETPROGS                        =  tests/getctx tests/getinitpid
+
+test_PRGS                      =  tests/chrootsafe \
+                                  tests/escaperoot \
+                                  tests/forkbomb \
+                                  tests/testipc \
+                                  tests/testlimit \
+                                  tests/testopenf \
+                                  $(tests_DIETPROGS)
 
 tests_chrootsafe_SOURCES       =  tests/chrootsafe.cc
 tests_chrootsafe_LDADD         =  lib/libvserver.a
@@ -37,7 +39,6 @@ tests_testopenf_SOURCES               =  tests/testopenf.cc
 tests_getctx_SOURCES           =  tests/getctx.c
 tests_getctx_LDADD             =  lib/libvserver.a
 
-if USE_DIETLIBC
-tests/getctx$(EXEEXT) tests/getctx$(OBJEXT) \
-                       :       CC=$(DIET_CC)
-endif
+tests_getinitpid_SOURCES       =  tests/getinitpid.c
+tests_getinitpid_LDADD         =  lib/libvserver.a
+