1 ##===- source/Host/macosx/Makefile -------------------------*- Makefile -*-===## 2 # 3 # The LLVM Compiler Infrastructure 4 # 5 # This file is distributed under the University of Illinois Open Source 6 # License. See LICENSE.TXT for details. 7 # 8 ##===----------------------------------------------------------------------===## 9 10 LLDB_LEVEL := ../../.. 11 LIBRARYNAME := lldbHostMacOSX 12 BUILD_ARCHIVE = 1 13 14 CFCPP_SOURCES = \ 15 $(addprefix cfcpp/,$(notdir $(wildcard $(PROJ_SRC_DIR)/cfcpp/*.cpp))) 16 SOURCES = $(notdir $(wildcard $(PROJ_SRC_DIR)/*.cpp $(PROJ_SRC_DIR)/*.mm)) \ 17 $(CFCPP_SOURCES) 18 19 include $(LLDB_LEVEL)/Makefile 20 21 CFCPP_BaseNameSources := $(sort $(basename $(CFCPP_SOURCES))) 22 CFCPP_OBJECTS := $(CFCPP_BaseNameSources:%=$(ObjDir)/%.o) 23 24 # Make sure the cfcpp output directory exists 25 $(CFCPP_OBJECTS): $(ObjDir)/cfcpp/.dir 26 27