Index: lldb/trunk/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile =================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile +++ lldb/trunk/packages/Python/lldbsuite/test/linux/sepdebugsymlink/Makefile @@ -0,0 +1,20 @@ +LEVEL = ../../make +C_SOURCES := main.c + +all: dirsymlink + +dirreal: a.out + $(RM) -r $@ + mkdir $@ + $(OBJCOPY) --only-keep-debug $< $@/stripped.debug + $(OBJCOPY) --strip-all --add-gnu-debuglink=$@/stripped.debug $< $@/stripped.out + +dirsymlink: dirreal + $(RM) -r $@ + mkdir $@ + ln -s ../$