1##===- source/Plugins/Process/POSIX/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 := lldbPluginProcessPOSIX 12BUILD_ARCHIVE = 1 13 14include $(LLDB_LEVEL)/../../Makefile.config 15 16# Extend the include path so we may locate UnwindLLDB.h 17CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility 18 19ifeq ($(HOST_OS),Linux) 20CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/Linux 21 22# Disable warning for now as offsetof is used with an index into a structure member array 23# in defining register info tables. 24CPPFLAGS += -Wno-extended-offsetof 25endif 26 27ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD)) 28# Extend the include path so we may locate ProcessMonitor 29CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/FreeBSD 30endif 31 32include $(LLDB_LEVEL)/Makefile 33