- remove unused members - add NO_PEDANTIC to selected Makefiles - fix return values (removed NULL as needed) - disable warning about four-char-constants - remove unneeded const from operator*() declaration - add missing lambda function return types - fix printf() with no format string - change sizeof to use a type name instead of variable name - fix Linux ProcessMonitor.cpp to be 32/64 bit friendly - disable warnings emitted by swig-generated C++ code Patch by Matt Kopec! llvm-svn: 169645
33 lines
840 B
Makefile
33 lines
840 B
Makefile
##===- tools/driver/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 := ../..
|
|
|
|
TOOLNAME = lldb
|
|
|
|
NO_PEDANTIC = 1
|
|
|
|
LLVMLibsOptions += -ledit -llldb -llldbUtility
|
|
|
|
include $(LLDB_LEVEL)/Makefile
|
|
|
|
ifeq ($(HOST_OS),Darwin)
|
|
LLVMLibsOptions += -Wl,-rpath,@loader_path/../lib/
|
|
LLVMLibsOptions += -Wl,-sectcreate -Wl,__TEXT -Wl,__info_plist -Wl,"$(PROJ_SRC_DIR)/lldb-Info.plist"
|
|
endif
|
|
|
|
ifeq ($(HOST_OS),Linux)
|
|
LLVMLibsOptions += -Wl,-rpath,$(LibDir)
|
|
endif
|
|
|
|
ifeq ($(HOST_OS),FreeBSD)
|
|
CPP.Flags += -I/usr/include/edit #-v
|
|
LLVMLibsOptions += -Wl,-rpath,$(LibDir)
|
|
endif
|
|
|