2012-02-21 05:39:21 +08:00
|
|
|
LEVEL = ../../test/make
|
|
|
|
|
|
|
|
CXX_SOURCES := main.cpp
|
2013-06-14 05:27:14 +08:00
|
|
|
EXE := lldb-lookup
|
|
|
|
USE_LIBCPP := 1
|
2012-02-21 05:39:21 +08:00
|
|
|
|
|
|
|
MY_OS = $(shell uname -s)
|
2013-06-14 05:27:14 +08:00
|
|
|
|
2012-02-21 05:39:21 +08:00
|
|
|
ifeq "$(MY_OS)" "Darwin"
|
2013-06-14 05:27:14 +08:00
|
|
|
LLDB_BUILD_DIR ?= /Applications/Xcode.app/Contents/SharedFrameworks
|
|
|
|
LD_EXTRAS ?= -framework LLDB -Wl,-rpath,"$(LLDB_BUILD_DIR)"
|
|
|
|
FRAMEWORK_INCLUDES=-F"$(LLDB_BUILD_DIR)"
|
2012-02-21 05:39:21 +08:00
|
|
|
else
|
|
|
|
LD_EXTRAS ?= $(LLDB_BUILD_DIR)/_lldb.so
|
|
|
|
endif
|
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.rules
|