- 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
1.0 KiB
Makefile
33 lines
1.0 KiB
Makefile
##===- 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
|
|
CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility
|
|
|
|
ifeq ($(HOST_OS),Linux)
|
|
CPPFLAGS += -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.
|
|
CPPFLAGS += -Wno-extended-offsetof
|
|
endif
|
|
|
|
ifeq ($(HOST_OS),FreeBSD)
|
|
# Extend the include path so we may locate ProcessMonitor
|
|
CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/FreeBSD
|
|
endif
|
|
|
|
include $(LLDB_LEVEL)/Makefile
|