1##===- source/Plugins/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 := ../..
11
12include $(LLDB_LEVEL)/../../Makefile.config
13
14
15DIRS := ABI/MacOSX-arm ABI/MacOSX-i386 ABI/SysV-x86_64 Disassembler/llvm \
16	ObjectContainer/BSD-Archive ObjectFile/ELF ObjectFile/PECOFF \
17	SymbolFile/DWARF SymbolFile/Symtab Process/Utility \
18	DynamicLoader/Static Platform Process/gdb-remote Instruction/ARM \
19	UnwindAssembly/InstEmulation UnwindAssembly/x86 \
20	LanguageRuntime/CPlusPlus/ItaniumABI \
21	LanguageRuntime/ObjC/AppleObjCRuntime \
22	DynamicLoader/POSIX-DYLD \
23	OperatingSystem/Python
24
25ifeq ($(HOST_OS),Darwin)
26DIRS += Process/MacOSX-Kernel
27DIRS += DynamicLoader/MacOSX-DYLD DynamicLoader/Darwin-Kernel
28DIRS +=	ObjectContainer/Universal-Mach-O ObjectFile/Mach-O
29DIRS += SymbolVendor/MacOSX
30#DIRS += Process/MacOSX-User
31DIRS += Process/mach-core
32endif
33
34ifeq ($(HOST_OS),Linux)
35DIRS += DynamicLoader/MacOSX-DYLD
36DIRS += Process/Linux Process/POSIX
37DIRS += SymbolVendor/ELF
38DIRS += Process/elf-core
39endif
40
41ifneq (,$(filter $(HOST_OS), FreeBSD GNU/kFreeBSD))
42DIRS += Process/FreeBSD Process/POSIX
43DIRS += SymbolVendor/ELF
44DIRS += Process/elf-core
45endif
46
47include $(LLDB_LEVEL)/Makefile
48