1 #===- lib/Makefile.mk --------------------------------------*- Makefile -*--===#
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 #===------------------------------------------------------------------------===#
10 ModuleName
:= builtins
13 # Add arch specific optimized implementations.
14 SubDirs
+= i386 ppc x86_64 arm
16 # Add other submodules.
18 SubDirs
+= interception
20 SubDirs
+= sanitizer_common
27 # Define the variables for this specific directory.
28 Sources
:= $(foreach file
,$(wildcard $(Dir
)/*.c
),$(notdir $(file
)))
29 ObjNames
:= $(Sources
:%.c
=%.o
)
30 Implementation
:= Generic
32 # FIXME: use automatic dependencies?
33 Dependencies
:= $(wildcard $(Dir
)/*.h
)