--- cvs_ltp.orig/testcases/kernel/syscalls/modify_ldt/Makefile	2006-08-21 01:58:41.000000000 -0500
+++ cvs_ltp/testcases/kernel/syscalls/modify_ldt/Makefile	2008-09-27 01:08:25.000000000 -0500
@@ -18,6 +18,7 @@
 
 SRCS    = $(wildcard *.c)
 TARGETS = $(patsubst %.c,%,$(SRCS))
+SYSCALL = modify_ldt
 
 check_header = $(shell \
 	if echo "\#include <$(1)>" | $(CC) -E - > /dev/null 2>&1 ; \
@@ -39,10 +40,16 @@ all: $(TARGETS)
 
 install:
 	@set -e; for i in $(TARGETS); do ln -f $$i ../../../bin/$$i ; done
+	cp run-$(SYSCALL)01.sh ../../../bin/run-$(SYSCALL)01.sh
+	cp run-$(SYSCALL)02.sh ../../../bin/run-$(SYSCALL)02.sh
 
 else ### does not have asm/ldt.h ###
 
-all install:
+all:
+
+install:
+	cp run-$(SYSCALL)01.sh ../../../bin/run-$(SYSCALL)01.sh
+	cp run-$(SYSCALL)02.sh ../../../bin/run-$(SYSCALL)02.sh
 
 endif
 
