[lldb] Update hardcoded Makefile.rules inclusions.

This replaces `include $(LEVEL)/Makefile.rules` with `include Makefile.rules`.
The lldb test driver already passes the include path when running make, and specifically looking for "../../Makefile.rules" forces the test to be in a specific location.
Removing this hardcoded relative path will make it possible to move this test as-is.
This commit is contained in:
Jordan Rupprecht 2019-12-05 15:48:34 -08:00
parent fdf80e86a5
commit 0d236d8b4f
4 changed files with 3 additions and 9 deletions

View File

@ -1,3 +1,2 @@
LEVEL = ../../make
C_SOURCES := main.c
include $(LEVEL)/Makefile.rules
include Makefile.rules

View File

@ -1,5 +1,3 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
CXXFLAGS_EXTRAS := -O2 -glldb -Xclang -femit-debug-entry-values
include Makefile.rules

View File

@ -1,3 +1,2 @@
LEVEL = ../../../make
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
include Makefile.rules

View File

@ -1,5 +1,3 @@
LEVEL = ../../make
C_SOURCES := main.c
LD_EXTRAS := -L. -lfoo
@ -12,4 +10,4 @@ libfoo.dylib: foo.c
$(MAKE) -f $(MAKEFILE_RULES) \
DYLIB_ONLY=YES DYLIB_NAME=foo DYLIB_C_SOURCES=foo.c
include $(LEVEL)/Makefile.rules
include Makefile.rules