Summary: The current Makefile scheme only allows one dylib to be specified in each make invocation, so TestLoadUnload had a custom Makefile that's unrelated to the base Makefile.rules. This change uses recursive make invocations to bypass the single dylib restriction. See D11202 for more context. Reviewers: clayborg Subscribers: chaoren, lldb-commits Differential Revision: http://reviews.llvm.org/D11367 llvm-svn: 242813
22 lines
300 B
Makefile
22 lines
300 B
Makefile
LEVEL := ../../make
|
|
|
|
LIB_PREFIX := loadunload_
|
|
|
|
CFLAGS_EXTRAS := -fPIC
|
|
LD_EXTRAS := -L. -l$(LIB_PREFIX)b
|
|
|
|
DYLIB_NAME := $(LIB_PREFIX)a
|
|
DYLIB_C_SOURCES := a.c
|
|
DYLIB_ONLY := YES
|
|
|
|
include $(LEVEL)/Makefile.rules
|
|
|
|
.PHONY:
|
|
$(DYLIB_FILENAME): lib_b
|
|
|
|
lib_b:
|
|
$(MAKE) -f b.mk
|
|
|
|
clean::
|
|
$(MAKE) -f b.mk clean
|