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