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 10 LLDB_LEVEL := ../../../.. 11 LIBRARYNAME := lldbPluginProcessPOSIX 12 BUILD_ARCHIVE = 1 13 14 include $(LLDB_LEVEL)/../../Makefile.config 15 16 # Extend the include path so we may locate UnwindLLDB.h 17 CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Utility 18 19 ifeq ($(HOST_OS),Linux) 20 CPPFLAGS += -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. 24 CPPFLAGS += -Wno-extended-offsetof 25 endif 26 27 ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD)) 28 # Extend the include path so we may locate ProcessMonitor 29 CPPFLAGS += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Plugins/Process/FreeBSD 30 endif 31 32 include $(LLDB_LEVEL)/Makefile 33