Johnny Chen | 8ebed65 | 2012-02-20 21:39:21 +0000 | [diff] [blame] | 1 | LEVEL = ../../test/make |
| 2 | |
| 3 | CXX_SOURCES := main.cpp |
Greg Clayton | 5824663 | 2013-06-13 21:27:14 +0000 | [diff] [blame] | 4 | EXE := lldb-lookup |
| 5 | USE_LIBCPP := 1 |
Johnny Chen | 8ebed65 | 2012-02-20 21:39:21 +0000 | [diff] [blame] | 6 | |
| 7 | MY_OS = $(shell uname -s) |
Greg Clayton | 5824663 | 2013-06-13 21:27:14 +0000 | [diff] [blame] | 8 | |
Johnny Chen | 8ebed65 | 2012-02-20 21:39:21 +0000 | [diff] [blame] | 9 | ifeq "$(MY_OS)" "Darwin" |
Greg Clayton | 5824663 | 2013-06-13 21:27:14 +0000 | [diff] [blame] | 10 | LLDB_BUILD_DIR ?= /Applications/Xcode.app/Contents/SharedFrameworks |
| 11 | LD_EXTRAS ?= -framework LLDB -Wl,-rpath,"$(LLDB_BUILD_DIR)" |
| 12 | FRAMEWORK_INCLUDES=-F"$(LLDB_BUILD_DIR)" |
Johnny Chen | 8ebed65 | 2012-02-20 21:39:21 +0000 | [diff] [blame] | 13 | else |
| 14 | LD_EXTRAS ?= $(LLDB_BUILD_DIR)/_lldb.so |
| 15 | endif |
| 16 | |
| 17 | include $(LEVEL)/Makefile.rules |