1 #===- lib/builtins/arm/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
12 OnlyArchs
:= armv5 armv6 armv6m armv7 armv7k armv7m armv7em armv7s
14 AsmSources
:= $(foreach file
,$(wildcard $(Dir
)/*.S
),$(notdir $(file
)))
15 Sources
:= $(foreach file
,$(wildcard $(Dir
)/*.c
),$(notdir $(file
)))
16 ObjNames
:= $(Sources
:%.c
=%.o
) $(AsmSources
:%.S
=%.o
)
17 Implementation
:= Optimized
19 # FIXME: use automatic dependencies?
20 Dependencies
:= $(wildcard lib
/*.h
$(Dir
)/*.h
)