blob: 04dec88a9714b9cdca8245541fa83e7d5e19ab30 [file] [log] [blame]
Daniel Dunbar01f9de52009-09-10 23:50:10 +00001#===- lib/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
Daniel Dunbarf06648a2011-12-02 02:42:07 +000010ModuleName := builtins
Daniel Dunbar01f9de52009-09-10 23:50:10 +000011SubDirs :=
Bob Wilson004c4342012-09-29 23:37:01 +000012OnlyArchs := armv5 armv6 armv7 armv7f armv7k armv7s
Daniel Dunbar01f9de52009-09-10 23:50:10 +000013
14AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
15Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
16ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o)
Daniel Dunbar6db90e62010-01-18 06:49:09 +000017Implementation := Optimized
Daniel Dunbar01f9de52009-09-10 23:50:10 +000018
19# FIXME: use automatic dependencies?
Daniel Dunbar19336a22009-10-27 17:49:50 +000020Dependencies := $(wildcard lib/*.h $(Dir)/*.h)