forked from OSchip/llvm-project
[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:
parent
fdf80e86a5
commit
0d236d8b4f
|
@ -1,3 +1,2 @@
|
||||||
LEVEL = ../../make
|
|
||||||
C_SOURCES := main.c
|
C_SOURCES := main.c
|
||||||
include $(LEVEL)/Makefile.rules
|
include Makefile.rules
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
LEVEL = ../../../make
|
|
||||||
CXX_SOURCES := main.cpp
|
CXX_SOURCES := main.cpp
|
||||||
include $(LEVEL)/Makefile.rules
|
|
||||||
CXXFLAGS_EXTRAS := -O2 -glldb -Xclang -femit-debug-entry-values
|
CXXFLAGS_EXTRAS := -O2 -glldb -Xclang -femit-debug-entry-values
|
||||||
include Makefile.rules
|
include Makefile.rules
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
LEVEL = ../../../make
|
|
||||||
CXX_SOURCES := main.cpp
|
CXX_SOURCES := main.cpp
|
||||||
include $(LEVEL)/Makefile.rules
|
include Makefile.rules
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
LEVEL = ../../make
|
|
||||||
|
|
||||||
C_SOURCES := main.c
|
C_SOURCES := main.c
|
||||||
LD_EXTRAS := -L. -lfoo
|
LD_EXTRAS := -L. -lfoo
|
||||||
|
|
||||||
|
@ -12,4 +10,4 @@ libfoo.dylib: foo.c
|
||||||
$(MAKE) -f $(MAKEFILE_RULES) \
|
$(MAKE) -f $(MAKEFILE_RULES) \
|
||||||
DYLIB_ONLY=YES DYLIB_NAME=foo DYLIB_C_SOURCES=foo.c
|
DYLIB_ONLY=YES DYLIB_NAME=foo DYLIB_C_SOURCES=foo.c
|
||||||
|
|
||||||
include $(LEVEL)/Makefile.rules
|
include Makefile.rules
|
||||||
|
|
Loading…
Reference in New Issue