• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
10LLDB_LEVEL := ../../..
11LIBRARYNAME := lldbHostMacOSX
12BUILD_ARCHIVE = 1
13
14CFCPP_SOURCES = \
15          $(addprefix cfcpp/,$(notdir $(wildcard $(PROJ_SRC_DIR)/cfcpp/*.cpp)))
16SOURCES = $(notdir $(wildcard $(PROJ_SRC_DIR)/*.cpp $(PROJ_SRC_DIR)/*.mm)) \
17          $(CFCPP_SOURCES)
18
19include $(LLDB_LEVEL)/Makefile
20
21CFCPP_BaseNameSources := $(sort $(basename $(CFCPP_SOURCES)))
22CFCPP_OBJECTS := $(CFCPP_BaseNameSources:%=$(ObjDir)/%.o)
23
24# Make sure the cfcpp output directory exists
25$(CFCPP_OBJECTS): $(ObjDir)/cfcpp/.dir
26
27