Remove autoconf support from source directories.

Differential revision: http://reviews.llvm.org/D16662

llvm-svn: 259098
This commit is contained in:
Eugene Zelenko 2016-01-28 22:05:24 +00:00
parent 6f9d6b6ef8
commit c33088f41e
104 changed files with 0 additions and 2252 deletions

View File

@ -1,120 +0,0 @@
##===- Makefile --------------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
# If LLDB_LEVEL is not set, then we are the top-level Makefile. Otherwise, we
# are being included from a subdirectory makefile.
ifndef LLDB_LEVEL
IS_TOP_LEVEL := 1
LLDB_LEVEL := .
DIRS := include scripts source lib tools
PARALLEL_DIRS :=
endif
###
# Common Makefile code, shared by all LLDB Makefiles.
# Set LLVM source root level.
LEVEL := $(LLDB_LEVEL)/../..
# Include LLVM common makefile.
include $(LEVEL)/Makefile.common
# Set common LLDB build flags.
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/include
CPP.Flags += -I$(PROJ_OBJ_DIR)/$(LLDB_LEVEL)/include
CPP.Flags += -I$(LLVM_SRC_ROOT)/tools/clang/include
CPP.Flags += -I$(LLVM_OBJ_ROOT)/tools/clang/include
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Utility
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/Utility
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/POSIX
# Disable python and curses on mingw build
ifeq ($(HOST_OS),MingW)
CXXFLAGS += -DLLDB_DISABLE_PYTHON -DLLDB_DISABLE_CURSES
endif
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
# Set Python include directory
PYTHON_CONFIG?= python-config
PYTHON_INC_DIR = $(shell $(PYTHON_CONFIG) --includes)
CPP.Flags += $(PYTHON_INC_DIR)
endif
ifeq ($(HOST_OS),Darwin)
CPP.Flags += $(subst -I,-I$(SDKROOT),$(PYTHON_INC_DIR))
CPP.Flags += -F$(SDKROOT)/System/Library/Frameworks
CPP.Flags += -F$(SDKROOT)/System/Library/PrivateFrameworks
CPP.Flags += -I$(SDKROOT)/usr/include/libxml2
endif
ifdef LLDB_VENDOR
CPP.Flags += -DLLDB_VENDOR='"$(LLDB_VENDOR) "'
endif
# If building on a 32-bit system, make sure off_t can store offsets > 2GB
ifneq "$(HOST_ARCH)" "x86_64"
CPP.Flags += -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
endif
# Disable -fstrict-aliasing. Darwin disables it by default (and LLVM doesn't
# work with it enabled with GCC), Clang/llvm-gc don't support it yet, and newer
# GCC's have false positive warnings with it on Linux (which prove a pain to
# fix). For example:
# http://gcc.gnu.org/PR41874
# http://gcc.gnu.org/PR41838
#
# We can revisit this when LLVM/Clang support it.
CXX.Flags += -fno-strict-aliasing
# Do not warn about pragmas. In particular, we are looking to ignore the
# "#pragma mark" construct which GCC warns about on platforms other than Darwin.
EXTRA_OPTIONS += -Wno-unknown-pragmas
# Drop -Wsign-compare, which we are not currently clean with.
EXTRA_OPTIONS += -Wno-sign-compare
###
# LLDB Top Level specific stuff.
ifeq ($(IS_TOP_LEVEL),1)
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
$(RecursiveTargets)::
$(Verb) if [ ! -f test/Makefile ]; then \
$(MKDIR) test; \
$(CP) $(PROJ_SRC_DIR)/test/Makefile test/Makefile; \
fi
endif
test::
@ $(MAKE) -C test
#report::
# @ $(MAKE) -C test report
#clean::
# @ $(MAKE) -C test clean
tags::
$(Verb) etags `find . -type f -name '*.h' -or -name '*.cpp' | \
grep -v /lib/Headers | grep -v /test/`
cscope.files:
find tools lib include -name '*.cpp' \
-or -name '*.def' \
-or -name '*.td' \
-or -name '*.h' > cscope.files
.PHONY: test report clean cscope.files
endif

View File

@ -1,13 +0,0 @@
##===- include/Makefile ------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ..
DIRS := lldb
include $(LLDB_LEVEL)/Makefile

View File

@ -1,31 +0,0 @@
LEVEL = ../../../..
DIRS :=
include $(LEVEL)/Makefile.common
install-local::
$(Echo) Installing LLDB include files
$(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
$(Verb) if test -d "$(PROJ_SRC_ROOT)/tools/lldb/include/lldb" ; then \
cd $(PROJ_SRC_ROOT)/tools/lldb/include && \
for hdr in `find lldb -type f '!' '(' -name '*~' \
-o -name '.#*' -o -name '*.in' -o -name '*.txt' \
-o -name 'Makefile' -o -name '*.td' -o -name '*.orig' ')' -print \
| grep -v CVS | grep -v .svn | grep -v .dir` ; do \
instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
if test \! -d "$$instdir" ; then \
$(EchoCmd) Making install directory $$instdir ; \
$(MKDIR) $$instdir ;\
fi ; \
$(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
done ; \
fi
ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
$(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/lldb/include/lldb" ; then \
cd $(PROJ_OBJ_ROOT)/tools/lldb/include && \
for hdr in `find lldb -type f '!' '(' -name 'Makefile' ')' -print \
| grep -v CVS | grep -v .tmp | grep -v .dir` ; do \
$(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
done ; \
fi
endif

View File

@ -1,217 +0,0 @@
##===- source/Makefile -------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL := ../../..
LLDB_LEVEL := ..
LIBRARYNAME = lldb
#EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/$(LLDB_LEVEL)/resources/lldb-framework-exports
NO_BUILD_ARCHIVE = 1
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
PYTHON_CONFIG?= python-config
PYTHON_BUILD_FLAGS = $(shell $(PYTHON_CONFIG) --ldflags)
endif
# Include all archives in liblldb.so file
USEDLIBS = lldbAPI.a \
lldbBreakpoint.a \
lldbCommands.a \
lldbCore.a \
lldbDataFormatters.a \
lldbExpression.a \
lldbInitialization.a \
lldbHost.a \
lldbBase.a \
lldbInterpreter.a \
lldbPluginABIMacOSX_arm.a \
lldbPluginABIMacOSX_arm64.a \
lldbPluginABIMacOSX_i386.a \
lldbPluginABISysV_arm.a \
lldbPluginABISysV_arm64.a \
lldbPluginABISysV_ppc.a \
lldbPluginABISysV_ppc64.a \
lldbPluginABISysV_mips.a \
lldbPluginABISysV_mips64.a \
lldbPluginABISysV_i386.a \
lldbPluginABISysV_x86_64.a \
lldbPluginABISysV_hexagon.a \
lldbPluginDisassemblerLLVM.a \
lldbPluginDynamicLoaderStatic.a \
lldbPluginDynamicLoaderPosixDYLD.a \
lldbPluginDynamicLoaderHexagon.a \
lldbPluginDynamicLoaderMacOSXDYLD.a \
lldbPluginDynamicLoaderWindowsDYLD.a \
lldbPluginExpressionParserClang.a \
lldbPluginExpressionParserGo.a \
lldbPluginInstructionARM.a \
lldbPluginInstructionARM64.a \
lldbPluginInstructionMIPS.a \
lldbPluginInstructionMIPS64.a \
lldbPluginInstrumentationRuntimeAddressSanitizer.a \
lldbPluginCXXItaniumABI.a \
lldbPluginAppleObjCRuntime.a \
lldbPluginRenderScriptRuntime.a \
lldbPluginMemoryHistoryASan.a \
lldbPluginCPlusPlusLanguage.a \
lldbPluginLanguageRuntimeGo.a \
lldbPluginObjCLanguage.a \
lldbPluginObjCPlusPlusLanguage.a \
lldbPluginGoLanguage.a \
lldbPluginObjectContainerBSDArchive.a \
lldbPluginObjectContainerMachOArchive.a \
lldbPluginObjectFileELF.a \
lldbPluginObjectFileJIT.a \
lldbPluginSymbolVendorELF.a \
lldbPluginObjectFilePECOFF.a \
lldbPluginOSGo.a \
lldbPluginOSPython.a \
lldbPluginPlatformGDB.a \
lldbPluginProcessElfCore.a \
lldbPluginProcessGDBRemote.a \
lldbPluginSymbolFileDWARF.a \
lldbPluginSymbolFileSymtab.a \
lldbPluginSystemRuntimeMacOSX.a \
lldbPluginUnwindAssemblyInstEmulation.a \
lldbPluginUnwindAssemblyX86.a \
lldbPluginProcessUtility.a \
lldbSymbol.a \
lldbTarget.a \
lldbUtility.a \
clangAnalysis.a \
clangAST.a \
clangBasic.a \
clangCodeGen.a \
clangFrontend.a \
clangDriver.a \
clangEdit.a \
clangLex.a \
clangParse.a \
clangSema.a \
clangSerialization.a \
LLVMMCDisassembler.a \
LLVMProfileData.a \
LLVMObjCARCOpts.a \
lldbPluginPlatformMacOSX.a \
lldbPluginPlatformLinux.a \
lldbPluginPlatformWindows.a \
lldbPluginPlatformFreeBSD.a \
lldbPluginPlatformNetBSD.a \
lldbPluginPlatformPOSIX.a \
lldbPluginPlatformKalimba.a \
lldbPluginPlatformAndroid.a \
lldbPluginJITLoaderGDB.a \
lldbPluginScriptInterpreterNone.a \
lldbPluginScriptInterpreterPython.a
# Because GCC requires RTTI enabled for lldbCore (see source/Core/Makefile) it is
# necessary to also link the clang rewriter libraries so vtable references can
# be resolved correctly, if we are building with GCC.
ifeq (g++,$(shell basename $(CXX) | cut -c 1-4))
USEDLIBS += clangRewrite.a \
clangRewriteFrontend.a
endif
include $(LLDB_LEVEL)/../../Makefile.config
LINK_COMPONENTS := $(TARGETS_TO_BUILD) asmparser bitreader bitwriter codegen \
instrumentation ipo irreader selectiondag mc mcjit \
linker option
ifeq ($(HOST_OS),Darwin)
USEDLIBS += lldbPluginDynamicLoaderDarwinKernel.a \
lldbPluginObjectFileMachO.a \
lldbPluginSymbolVendorMacOSX.a \
lldbPluginProcessDarwin.a \
lldbPluginProcessMachCore.a
endif
ifeq ($(HOST_OS),Linux)
USEDLIBS += lldbPluginProcessLinux.a \
lldbPluginProcessPOSIX.a
endif
ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
USEDLIBS += lldbPluginProcessPOSIX.a \
lldbPluginProcessFreeBSD.a
endif
ifeq ($(HOST_OS),NetBSD)
USEDLIBS += lldbPluginProcessPOSIX.a
endif
include $(LEVEL)/Makefile.common
ifeq ($(HOST_OS),MingW)
LLVMLibsOptions += -lws2_32
# Include everything from the .a's into the shared library.
ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \
-Wl,--no-whole-archive
endif
ifeq ($(HOST_OS),Darwin)
LLVMLibsOptions += -Wl,-all_load
# set dylib internal version number to llvmCore submission number
ifdef LLDB_SUBMIT_VERSION
LLVMLibsOptions += -Wl,-current_version \
-Wl,$(LLDB_SUBMIT_VERSION).$(LLDB_SUBMIT_SUBVERSION) \
-Wl,-compatibility_version -Wl,1
endif
# extra options to override libtool defaults
LLVMLibsOptions += -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks
LLVMLibsOptions += -framework Foundation -framework CoreFoundation
LLVMLibsOptions += -framework CoreServices -framework Carbon -framework Security
LLVMLibsOptions += -framework DebugSymbols $(PYTHON_BUILD_FLAGS) -lobjc
LLVMLibsOptions += -lxml2 -ledit -lpanel -lcurses
ifneq ($(EXPORTED_SYMBOL_FILE),)
LLVMLibsOptions += -Wl,-exported_symbols_list -Wl,"$(EXPORTED_SYMBOL_FILE)"
endif
# Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions += -Wl,-install_name \
-Wl,"@executable_path/../lib/lib$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
# Include everything from the .a's into the shared library.
ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \
-Wl,--no-whole-archive
# Don't allow unresolved symbols.
LLVMLibsOptions += -Wl,--no-undefined
# Link in python
LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -ledit -lncurses -lpanel -lpthread
LLVMLibsOptions += -Wl,--soname,lib$(LIBRARYNAME)$(SHLIBEXT)
endif
ifeq ($(HOST_OS),FreeBSD)
# Include everything from the .a's into the shared library.
ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \
-Wl,--no-whole-archive
# Allow unresolved symbols.
LLVMLibsOptions += -Wl,--allow-shlib-undefined
# Link in python
LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -L/usr/local/lib -lexecinfo \
-ledit -lncurses -lpanel -lpthread
endif
ifeq ($(HOST_OS),NetBSD)
# Include everything from the .a's into the shared library.
ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \
-Wl,--no-whole-archive
# Allow unresolved symbols.
LLVMLibsOptions += -Wl,--allow-shlib-undefined
# Link in python
LLVMLibsOptions += $(PYTHON_BUILD_FLAGS) -lrt -L/usr/pkg/lib -lexecinfo \
-ledit -lcurses -lpthread -lkvm -Wl,-rpath,/usr/pkg/lib
endif

View File

@ -1,17 +0,0 @@
##===- scripts/Makefile ------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ..
include $(LLDB_LEVEL)/../../Makefile.config
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
DIRS := Python
endif
include $(LLDB_LEVEL)/Makefile

View File

@ -1,15 +0,0 @@
##===- scripts/Python/Makefile------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
include $(LLDB_LEVEL)/../../Makefile.config
DIRS := modules
include $(LLDB_LEVEL)/Makefile

View File

@ -1,20 +0,0 @@
##===- scripts/Python/modules/Makefile ---------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../..
include $(LLDB_LEVEL)/../../Makefile.config
DIRS:=
# only build the readline suppression module on Linux, Kfreebsd & Hurd
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
DIRS += readline
endif
include $(LLDB_LEVEL)/Makefile

View File

@ -1,100 +0,0 @@
##===- scripts/Python/modules/readline/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
# Skip this entire Makefile if python is disabled.
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
LEVEL := ../../../../../..
LLDB_LEVEL := ../../../..
LIBRARYNAME = readline
NO_BUILD_ARCHIVE = 1
LINK_LIBS_IN_SHARED = 1
SHARED_LIBRARY = 1
LOADABLE_MODULE = 1
PYTHON_CONFIG?= python-config
PYTHON_INC_DIR = $(shell $(PYTHON_CONFIG) --includes)
# Include all archives in the shared lib
USEDLIBS :=
include $(LLDB_LEVEL)/../../Makefile.config
LINK_COMPONENTS :=
include $(LEVEL)/Makefile.common
# include python headers
CPP.Flags += $(PYTHON_INC_DIR)
ifeq ($(HOST_OS),Darwin)
LLVMLibsOptions += -Wl,-all_load
# set dylib internal version number to llvmCore submission number
ifdef LLDB_SUBMIT_VERSION
LLVMLibsOptions += -Wl,-current_version \
-Wl,$(LLDB_SUBMIT_VERSION).$(LLDB_SUBMIT_SUBVERSION) \
-Wl,-compatibility_version -Wl,1
endif
# extra options to override libtool defaults
LVMLibsOptions += -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks
LLVMLibsOptions += -framework Foundation -framework CoreFoundation
LLVMLibsOptions += -framework CoreServices -framework Carbon -framework Security
LLVMLibsOptions += -framework DebugSymbols $(PYTHON_BUILD_FLAGS) -lobjc
# Mac OS X 10.4 and earlier tools do not allow a second -install_name on command line
DARWIN_VERS := $(shell echo $(TARGET_TRIPLE) | sed 's/.*darwin\([0-9]*\).*/\1/')
ifneq ($(DARWIN_VERS),8)
LLVMLibsOptions += -Wl,-install_name \
-Wl,"@executable_path/../lib/$(LIBRARYNAME)$(SHLIBEXT)"
endif
endif
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
# Include everything from the .a's into the shared library.
ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \
-Wl,--no-whole-archive
# Link in libedit
# LLVMLibsOptions += -ledit
LLVMLibsOptions += -Wl,--soname,$(LIBRARYNAME)$(SHLIBEXT)
endif
ifeq ($(HOST_OS),FreeBSD)
# Include everything from the .a's into the shared library.
ProjLibsOptions := -Wl,--whole-archive $(ProjLibsOptions) \
-Wl,--no-whole-archive
# Allow unresolved symbols.
LLVMLibsOptions += -Wl,--allow-shlib-undefined
# Link in libedit
# LLVMLibsOptions += -L/usr/local/lib -ledit
endif
# FIXME: dynamically construct the version from `python -V`
PYTHON_VERSION:=2.7
LLDB_PYTHON_MODULE_REL_DIR:=python$(PYTHON_VERSION)/site-packages
LLDB_PYTHON_MODULE_DIR:=$(LibDir)/$(LLDB_PYTHON_MODULE_REL_DIR)
# Target to move readline module from shared lib build location to
# local python module directory.
all-local:: $(LLDB_PYTHON_MODULE_DIR)/$(LIBRARYNAME)$(SHLIBEXT)
$(LLDB_PYTHON_MODULE_DIR)/$(LIBRARYNAME)$(SHLIBEXT): $(SharedLibDir)/$(LIBRARYNAME)$(SHLIBEXT)
$(Echo) Staging $(BuildMode) $(LIBRARYNAME)$(SHLIBEXT) to $(LLDB_PYTHON_MODULE_DIR)
$(Verb) $(MKDIR) "$(LLDB_PYTHON_MODULE_DIR)"
$(Verb) $(ProgInstall) $(SharedLibDir)/$(LIBRARYNAME)$(SHLIBEXT) $(LLDB_PYTHON_MODULE_DIR)
# Target to move the shared library from the build python lib dir to
# the install python lib dir.
install-local:: $(LLDB_PYTHON_MODULE_DIR)/$(LIBRARYNAME)$(SHLIBEXT)
$(Echo) Installing $(BuildMode) $(LLDB_PYTHON_MODULE_DIR)/$(LIBRARYNAME)$(SHLIBEXT) to $(DESTDIR)$(prefix)/lib/$(LLDB_PYTHON_MODULE_REL_DIR)
$(Verb) $(MKDIR) "$(DESTDIR)$(prefix)/lib/$(LLDB_PYTHON_MODULE_REL_DIR)"
$(Verb) $(ProgInstall) "$(LLDB_PYTHON_MODULE_DIR)/$(LIBRARYNAME)$(SHLIBEXT)" "$(DESTDIR)$(prefix)/lib/$(LLDB_PYTHON_MODULE_REL_DIR)"
$(Verb) $(RM) "$(DESTDIR)$(prefix)/lib/$(LIBRARYNAME)$(SHLIBEXT)"
endif # if !defined(LLDB_DISABLE_PYTHON)

View File

@ -1,18 +0,0 @@
##===- source/API/Makefile ---------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbAPI
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile
ifeq ($(HOST_OS),MingW)
CXXFLAGS += -DEXPORT_LIBLLDB
endif

View File

@ -1,14 +0,0 @@
##===- source/Breakpoint/Makefile --------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbBreakpoint
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,16 +0,0 @@
##===- source/Commands/Makefile ----------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbCommands
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile
EXTRA_OPTIONS += -Wno-four-char-constants

View File

@ -1,14 +0,0 @@
##===- source/Core/Makefile --------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbCore
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/DataFormatters/Makefile -------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbDataFormatters
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Expression/Makefile --------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbExpression
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,65 +0,0 @@
##===- source/Host/Makefile --------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LEVEL := $(LLDB_LEVEL)/../..
include $(LEVEL)/Makefile.config
define DIR_SOURCES
SOURCES += $$(addprefix $(1)/,$$(notdir $$(wildcard $$(PROJ_SRC_DIR)/$(1)/*.cpp \
$$(PROJ_SRC_DIR)/*.cc $$(PROJ_SRC_DIR)/$(1)/*.c $$(PROJ_SRC_DIR)/$(1)/*.mm)))
endef
$(eval $(call DIR_SOURCES,common))
ifeq ($(HOST_OS),Darwin)
$(eval $(call DIR_SOURCES,posix))
$(eval $(call DIR_SOURCES,macosx))
CFCPP_SOURCES = \
$(addprefix macosx/cfcpp/,$(notdir $(wildcard $(PROJ_SRC_DIR)/macosx/cfcpp/*.cpp)))
SOURCES += $(CFCPP_SOURCES)
CFCPP_BaseNameSources := $(sort $(basename $(CFCPP_SOURCES)))
CFCPP_OBJECTS := $(CFCPP_BaseNameSources:%=$(ObjDir)/%.o)
# Make sure the cfcpp output directory exists
$(CFCPP_OBJECTS): $(ObjDir)/cfcpp/.dir
endif
ifeq ($(HOST_OS),Linux)
$(eval $(call DIR_SOURCES,posix))
$(eval $(call DIR_SOURCES,linux))
endif
ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
$(eval $(call DIR_SOURCES,posix))
$(eval $(call DIR_SOURCES,freebsd))
endif
ifeq ($(HOST_OS),NetBSD)
$(eval $(call DIR_SOURCES,posix))
$(eval $(call DIR_SOURCES,netbsd))
endif
ifeq ($(HOST_OS),MingW)
$(eval $(call DIR_SOURCES,windows))
SOURCES += posix/ConnectionFileDescriptorPosix.cpp
endif
ifeq ($(HOST_OS),Android)
$(eval $(call DIR_SOURCES,posix))
$(eval $(call DIR_SOURCES,linux))
$(eval $(call DIR_SOURCES,android))
endif
LIBRARYNAME := lldbHost
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Host/netbsd/Makefile --------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../..
LIBRARYNAME := lldbHostNetBSD
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Initialize/Makefile -------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbInitialization
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,51 +0,0 @@
##===- source/Interpreter/Makefile ------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbInterpreter
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/../../Makefile.config
ifneq ($(HOST_OS),MingW)
ifeq (,$(findstring -DLLDB_DISABLE_PYTHON,$(CXXFLAGS)))
DO_BUILD_LLDBWrapPython = 1
BUILT_SOURCES := LLDBWrapPython.cpp
endif
endif
include $(LLDB_LEVEL)/Makefile
-include $(PROJ_OBJ_DIR)/LLDBWrapPython.cpp.d
ifeq ($(DO_BUILD_LLDBWrapPython),1)
# Drop -Wfour-char-constants, which we are not currently clean with.
EXTRA_OPTIONS += -Wno-four-char-constants
# Drop -Wself-assign, -Wmissing-field-initializers, -Wsometimes-uninitialized,
# -Wcast-qual, and -Wdeprecated-register which we are not clean with due to SWIG
# generated cpp source.
EXTRA_OPTIONS += -Wno-missing-field-initializers -Wno-self-assign -Wno-sometimes-uninitialized -Wno-cast-qual -Wno-deprecated-register
PYTHON_DIR := $(PROJ_OBJ_ROOT)/$(BuildMode)
SWIG_SOURCES := $(shell find $(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts -type f -name '*.swig' -print)
LLDBWrapPython.cpp lldb.py: $(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/Python/modify-python-lldb.py \
$(wildcard $(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/interface/*.i) \
${SWIG_SOURCES}
$(Echo) Generating LLDBWrapPython.cpp
$(Verb) "$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/prepare_bindings.py" "--src-root=$(PROJ_SRC_DIR)/$(LLDB_LEVEL)" "--target-dir=$(PROJ_OBJ_DIR)" "--config-build-dir=$(PROJ_OBJ_DIR)" "--prefix=$(PYTHON_DIR)" $(if $(DISABLE_AUTO_DEPENDENCIES),,-M) --find-swig
$(Verb) "$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/finish-swig-wrapper-classes.sh" "$(PROJ_SRC_DIR)/$(LLDB_LEVEL)" "$(PROJ_OBJ_DIR)" "$(PROJ_OBJ_DIR)" "$(PYTHON_DIR)" -m
install-local:: lldb.py
$(Echo) Installing $(BuildMode) LLDB python modules
$(Verb) "$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/prepare_bindings.py" "--src-root=$(PROJ_SRC_DIR)/$(LLDB_LEVEL)" "--target-dir=$(PROJ_OBJ_DIR)" "--config-build-dir=$(PROJ_OBJ_DIR)" "--prefix=$(DESTDIR)$(prefix)" --find-swig
clean-local::
$(Verb) $(RM) -f LLDBWrapPython.cpp lldb.py
endif

View File

@ -1,37 +0,0 @@
##===- source/Makefile -------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ..
PARALLEL_DIRS := API Initialization Breakpoint Commands Core DataFormatters Expression Host Interpreter Plugins Symbol Target Utility
LIBRARYNAME := lldbBase
BUILD_ARCHIVE = 1
# Although LLVM makefiles provide $(HOST_OS), we cannot use that here because it is defined by including the $(LLDB_LEVEL)/Makefile
# below. Instead, we use uname -s to detect the HOST_OS and generate LLDB_vers.c only on Mac. On Linux, the version number is
# calculated in the same way as Clang's version.
ifeq (Darwin,$(shell uname -s))
BUILT_SOURCES = LLDB_vers.c
endif
SOURCES := lldb.cpp
include $(LLDB_LEVEL)/Makefile
ifeq ($(HOST_OS),Darwin)
LLDB_vers.c: $(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/generate-vers.pl $(PROJ_SRC_DIR)/$(LLDB_LEVEL)/lldb.xcodeproj/project.pbxproj
"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/generate-vers.pl" "$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/lldb.xcodeproj/project.pbxproj" liblldb_core > LLDB_vers.c
else
LLDB_REVISION := $(strip \
$(shell $(LLVM_SRC_ROOT)/utils/GetSourceVersion $(LLVM_SRC_ROOT)/tools/lldb))
LLDB_REPOSITORY := $(strip \
$(shell $(LLVM_SRC_ROOT)/utils/GetRepositoryPath $(LLVM_SRC_ROOT)/tools/lldb))
CPP.Defines += -DLLDB_REVISION='"$(LLDB_REVISION)"' -DLLDB_REPOSITORY='"$(LLDB_REPOSITORY)"'
endif

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/MacOSX-arm/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===--------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABIMacOSX_arm
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/MacOSX-arm64/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABIMacOSX_arm64
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/MacOSX-i386/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABIMacOSX_i386
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-arm/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===--------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_arm
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-arm64/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_arm64
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-hexagon/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_hexagon
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-i386/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_i386
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-mips/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_mips
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-mips64/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_mips64
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-hexagon/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_ppc
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-hexagon/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_ppc64
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ABI/SysV-x86_64/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginABISysV_x86_64
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Disassembler/llvm/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginDisassemblerLLVM
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Disassembler/llvm/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginDynamicLoaderDarwinKernel
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/DynamicLoader/Hexagon-DYLD/Makefile ----*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginDynamicLoaderHexagon
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Disassembler/llvm/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginDynamicLoaderMacOSXDYLD
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/DynamicLoader/POSIX-DYLD/Makefile ----*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginDynamicLoaderPosixDYLD
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/DynamicLoader/Static/Makefile --------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginDynamicLoaderStatic
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/DynamicLoader/Windows-DYLD/Makefile --*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginDynamicLoaderWindowsDYLD
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ExpressionParser/Clang ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginExpressionParserClang
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ExpressionParser/Clang ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginExpressionParserGo
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Instruction/ARM/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginInstructionARM
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Instruction/ARM/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginInstructionARM64
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Instruction/MIPS/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginInstructionMIPS
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Instruction/MIPS64/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginInstructionMIPS64
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/InstrumentationRuntime/AddressSanitizer Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginInstrumentationRuntimeAddressSanitizer
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/JITLoader/GDB/Makefile ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginJITLoaderGDB
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Language/CPlusPlus -------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginCPlusPlusLanguage
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Language/Go -------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginGoLanguage
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Language/ObjC ------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjCLanguage
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Language/ObjCPlusPlus ----------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjCPlusPlusLanguage
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/LangRuntime/C++/ItaniumABI/Makefile --*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../../..
LIBRARYNAME := lldbPluginCXXItaniumABI
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- Source/Plugins/LangRuntime/Go/Makefile ----*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginLanguageRuntimeGo
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/LangRuntime/ObjC/AppleRT/Makefile ----*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../../..
LIBRARYNAME := lldbPluginAppleObjCRuntime
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- Source/Plugins/LangRuntime/RenderScript/RenderScriptRuntime/Makefile ----*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../../..
LIBRARYNAME := lldbPluginRenderScriptRuntime
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,67 +0,0 @@
##===- source/Plugins/Makefile -----------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
include $(LLDB_LEVEL)/../../Makefile.config
PARALLEL_DIRS := ABI/MacOSX-arm ABI/MacOSX-arm64 ABI/MacOSX-i386 ABI/SysV-i386 ABI/SysV-x86_64 \
ABI/SysV-arm ABI/SysV-arm64 ABI/SysV-hexagon ABI/SysV-ppc ABI/SysV-ppc64 \
ABI/SysV-mips ABI/SysV-mips64 Disassembler/llvm \
ObjectContainer/BSD-Archive ObjectFile/ELF ObjectFile/PECOFF \
ObjectContainer/Universal-Mach-O ObjectFile/Mach-O \
ObjectFile/JIT SymbolFile/DWARF SymbolFile/Symtab Process/Utility \
DynamicLoader/Static Platform Process/elf-core Process/gdb-remote \
Instruction/ARM Instruction/ARM64 Instruction/MIPS Instruction/MIPS64 \
UnwindAssembly/InstEmulation UnwindAssembly/x86 \
LanguageRuntime/CPlusPlus/ItaniumABI \
LanguageRuntime/ObjC/AppleObjCRuntime \
LanguageRuntime/Go/ \
LanguageRuntime/RenderScript/RenderScriptRuntime \
Language/CPlusPlus \
Language/Go \
Language/ObjC \
Language/ObjCPlusPlus \
DynamicLoader/POSIX-DYLD \
DynamicLoader/Hexagon-DYLD \
DynamicLoader/MacOSX-DYLD \
DynamicLoader/Windows-DYLD \
JITLoader/GDB \
ExpressionParser/Clang \
ExpressionParser/Go \
OperatingSystem/Go \
OperatingSystem/Python \
SystemRuntime/MacOSX \
SymbolVendor/ELF \
MemoryHistory/asan \
InstrumentationRuntime/AddressSanitizer \
ScriptInterpreter/Python ScriptInterpreter/None
ifeq ($(HOST_OS),Darwin)
PARALLEL_DIRS += Process/MacOSX-Kernel
PARALLEL_DIRS += DynamicLoader/Darwin-Kernel
PARALLEL_DIRS += SymbolVendor/MacOSX
#PARALLEL_DIRS += Process/MacOSX-User
PARALLEL_DIRS += Process/mach-core
endif
ifeq ($(HOST_OS),Linux)
PARALLEL_DIRS += Process/Linux Process/POSIX
endif
ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
PARALLEL_DIRS += Process/FreeBSD Process/POSIX
endif
ifeq ($(HOST_OS),NetBSD)
PARALLEL_DIRS += Process/POSIX
endif
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/MemoryHistory/asan/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginMemoryHistoryASan
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ObjectContainer/BSD-Archive/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjectContainerBSDArchive
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ObjectContainer/Universal-Mach-O/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjectContainerMachOArchive
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ObjectFile/ELF/Makefile --------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjectFileELF
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ObjectFile/JIT/Makefile --------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjectFileJIT
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ObjectFile/Mach-O/Makefile -----------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjectFileMachO
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ObjectFile/PECOFF/Makefile --------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginObjectFilePECOFF
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##==- source/Plugins/OperatingSystem/Go/Makefile --------*- Makefile -*-==##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginOSGo
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##==- source/Plugins/OperatingSystem/Python/Makefile --------*- Makefile -*-==##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginOSPython
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/Android/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformAndroid
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/FreeBSD/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformFreeBSD
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/Kalimba/Makefile --------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformKalimba
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/Linux/Makefile --------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformLinux
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,15 +0,0 @@
##===- source/Plugins/Platform/MacOSX/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformMacOSX
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,36 +0,0 @@
##===- source/Plugins/Platform/Makefile --------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../..
include $(LLDB_LEVEL)/../../Makefile.config
PARALLEL_DIRS := gdb-server MacOSX Linux FreeBSD NetBSD POSIX Windows Kalimba Android
# ifeq ($(HOST_OS),Darwin)
# DIRS += MacOSX
# endif
#
# ifeq ($(HOST_OS),Linux)
# DIRS += Linux
# endif
#
# ifeq ($(HOST_OS),FreeBSD)
# DIRS += FreeBSD
# endif
#
# ifeq ($(HOST_OS),GNU/kFreeBSD)
# DIRS += FreeBSD
# endif
#
# ifeq ($(HOST_OS),NetBSD)
# DIRS += NetBSD
# endif
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/NetBSD/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformNetBSD
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/POSIX/Makefile --------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformPOSIX
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/Windows/Makefile --------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformWindows
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Platform/gdb-server/Makefile ---------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginPlatformGDB
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,17 +0,0 @@
##===- source/Plugins/Process/FreeBSD/Makefile ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessFreeBSD
BUILD_ARCHIVE = 1
# Extend the include path so we may locate UnwindLLDB.h
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility
include $(LLDB_LEVEL)/Makefile

View File

@ -1,17 +0,0 @@
##===- source/Plugins/Process/Linux/Makefile ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessLinux
BUILD_ARCHIVE = 1
# Extend the include path so we may locate UnwindLLDB.h
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Process/MacOSX-Darwin/Makefile -------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessDarwin
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,32 +0,0 @@
##===- source/Plugins/Process/POSIX/Makefile ---------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessPOSIX
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/../../Makefile.config
# Extend the include path so we may locate UnwindLLDB.h
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility
ifeq ($(HOST_OS),Linux)
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/Linux
# Disable warning for now as offsetof is used with an index into a structure member array
# in defining register info tables.
CPP.Flags += -Wno-extended-offsetof
endif
ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
# Extend the include path so we may locate ProcessMonitor
CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/FreeBSD
endif
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Utility/Makefile ---------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessUtility
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Process/elf-core/Makefile -----------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessElfCore
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Process/gdb-remote/Makefile -------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessGDBRemote
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/Process/mach-core/Makefile -----------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginProcessMachCore
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ScriptInterpreter/None/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginScriptInterpreterNone
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/ScriptInterpreter/Python/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginScriptInterpreterPython
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/SymbolFile/DWARF/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginSymbolFileDWARF
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/SymbolFile/Symtab/Makefile -----------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginSymbolFileSymtab
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/SymbolVendor/ELF/Makefile ---------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginSymbolVendorELF
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/SymbolVendor/MacOSX/Makefile ---------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginSymbolVendorMacOSX
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Plugins/SystemRuntime/MacOSX ----*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginSystemRuntimeMacOSX
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##==- source/Plugins/UnwindAssembly/InstEmulation/Makefile -*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginUnwindAssemblyInstEmulation
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##==-- source/Plugins/UnwindAssembly/x86/Makefile ----------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
LIBRARYNAME := lldbPluginUnwindAssemblyX86
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Symbol/Makefile ------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbSymbol
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,14 +0,0 @@
##===- source/Target/Makefile ------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbTarget
BUILD_ARCHIVE = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,15 +0,0 @@
##===- source/Utility/Makefile -----------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
LIBRARYNAME := lldbUtility
BUILD_ARCHIVE = 1
NO_PEDANTIC = 1
include $(LLDB_LEVEL)/Makefile

View File

@ -1,30 +0,0 @@
##===- source/Makefile -------------------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ..
include $(LLDB_LEVEL)/../../Makefile.config
DIRS :=
# enable lldb-gdbserver for supported platforms
ifneq (,$(strip $(filter $(HOST_OS), FreeBSD Linux NetBSD GNU/kFreeBSD)))
DIRS += lldb-server
endif
ifeq ($(HOST_OS),Darwin)
DIRS += debugserver
endif
ifeq ($(ENABLE_WERROR),0)
DIRS += lldb-mi
endif
DIRS += driver
include $(LLDB_LEVEL)/Makefile

View File

@ -1,13 +0,0 @@
##===- tools/debugserver/Makefile --------------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../..
DIRS := source
include $(LLDB_LEVEL)/Makefile

View File

@ -1,54 +0,0 @@
##===- tools/debugserver/source/MacOSX/Makefile ------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../..
DIRS := i386 x86_64
TOOLNAME = debugserver
CODESIGN_TOOLS := 1
TOOL_CODESIGN_IDENTITY := lldb_codesign
LLVMLibsOptions += -llldbDebugserverCommon -llldbUtility -llldbDebugserverMacOSX_I386 -llldbDebugserverMacOSX_X86_64 \
-framework Foundation -framework CoreFoundation
GENERATED_MACH_SOURCES = $(PROJ_OBJ_DIR)/mach_excServer.c $(PROJ_OBJ_DIR)/mach_excUser.c
SOURCES := CFBundle.cpp \
CFData.cpp \
CFString.cpp \
MachException.cpp \
MachProcess.cpp \
MachTask.cpp \
MachThread.cpp \
MachThreadList.cpp \
MachVMMemory.cpp \
MachVMRegion.cpp
BUILT_SOURCES = $(GENERATED_MACH_SOURCES) $(PROJ_OBJ_DIR)/HasAVX.o
CPP.Flags += -I$(PROJ_OBJ_DIR)/../.. -I$(PROJ_SRC_DIR)/..
LD.Flags += -Wl,-sectcreate,__TEXT,__info_plist,$(PROJ_SRC_DIR)/../../resources/lldb-debugserver-Info.plist
include $(LLDB_LEVEL)/Makefile
ObjectsO += $(PROJ_OBJ_DIR)/HasAVX.o
$(PROJ_OBJ_DIR)/HasAVX.o: $(PROJ_SRC_DIR)/HasAVX.s
$(Echo) "Compiling HasAVX.s for $(BuildMode) build" $(PIC_FLAG)
$(CC) $(TargetCommonOpts) $(CompileCommonOpts) -c $< -o $@
ifeq ($(HOST_OS),Darwin)
LLVMLibsOptions += -Wl,-rpath,@loader_path/../lib/
endif
$(GENERATED_MACH_SOURCES):
mig -I$(PROJ_OBJ_DIR)/../.. $(PROJ_SRC_DIR)/dbgnub-mig.defs

View File

@ -1,19 +0,0 @@
##===- tools/debugserver/source/MacOSX/i386/Makefile -------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../../..
LIBRARYNAME := lldbDebugserverMacOSX_I386
BUILD_ARCHIVE = 1
SOURCES := DNBArchImplI386.cpp
include $(LLDB_LEVEL)/Makefile
CPP.Flags += -I$(PROJ_SRC_DIR)/.. -I$(PROJ_SRC_DIR)/../.. -I$(PROJ_OBJ_DIR)/../../..

View File

@ -1,19 +0,0 @@
##===- tools/debugserver/source/MacOSX/i386/Makefile -------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../../../..
LIBRARYNAME := lldbDebugserverMacOSX_X86_64
BUILD_ARCHIVE = 1
SOURCES := DNBArchImplX86_64.cpp
include $(LLDB_LEVEL)/Makefile
CPP.Flags += -I$(PROJ_SRC_DIR)/.. -I$(PROJ_SRC_DIR)/../.. -I$(PROJ_OBJ_DIR)/../../..

View File

@ -1,46 +0,0 @@
##===- tools/debugserver/source/Makefile -------------------*- Makefile -*-===##
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LLDB_LEVEL := ../../..
LIBRARYNAME := lldbDebugserverCommon
BUILD_ARCHIVE = 1
SOURCES := debugserver.cpp \
DNBArch.cpp \
DNBBreakpoint.cpp \
DNB.cpp \
DNBDataRef.cpp \
DNBError.cpp \
DNBLog.cpp \
DNBRegisterInfo.cpp \
DNBThreadResumeActions.cpp \
libdebugserver.cpp \
PseudoTerminal.cpp \
PThreadEvent.cpp \
PThreadMutex.cpp \
RNBContext.cpp \
RNBRemote.cpp \
RNBServices.cpp \
RNBSocket.cpp \
SysSignal.cpp \
TTYState.cpp
include $(LLDB_LEVEL)/Makefile
ifeq ($(HOST_OS),Darwin)
DIRS := MacOSX/i386 MacOSX/x86_64 MacOSX
CPP.Flags += -I$(PROJ_SRC_DIR)/MacOSX
CPP.Flags += -I$(PROJ_OBJ_DIR)/..
BUILT_SOURCES = debugserver_vers.c
endif
ifeq ($(HOST_OS),Darwin)
debugserver_vers.c: $(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/generate-vers.pl $(PROJ_SRC_DIR)/../debugserver.xcodeproj/project.pbxproj
"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/generate-vers.pl" "$(PROJ_SRC_DIR)/../debugserver.xcodeproj/project.pbxproj" debugserver > debugserver_vers.c
endif

Some files were not shown because too many files have changed in this diff Show More