summaryrefslogtreecommitdiff
path: root/lib/arm
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-10 23:50:10 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-10 23:50:10 +0000
commit01f9de572f21908fa63856cf294523f2ac1f1965 (patch)
tree9c8667c05b3dffbab9a07bae87840169ec81cac5 /lib/arm
parentdc114bf3e390f5bcca5cbe46e4577d4cb32dbfc5 (diff)
downloadcompiler-rt-01f9de572f21908fa63856cf294523f2ac1f1965.tar.gz
Stub out structure for building armv{6,7} libs.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@81482 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/arm')
-rw-r--r--lib/arm/Makefile.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/arm/Makefile.mk b/lib/arm/Makefile.mk
new file mode 100644
index 000000000..7f9a98220
--- /dev/null
+++ b/lib/arm/Makefile.mk
@@ -0,0 +1,22 @@
+#===- lib/arm/Makefile.mk ----------------------------------*- Makefile -*--===#
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+#===------------------------------------------------------------------------===#
+
+Dir := lib/arm
+SubDirs :=
+OnlyArchs := armv6 armv7
+
+AsmSources := $(foreach file,$(wildcard $(Dir)/*.S),$(notdir $(file)))
+Sources := $(foreach file,$(wildcard $(Dir)/*.c),$(notdir $(file)))
+ObjNames := $(Sources:%.c=%.o) $(AsmSources:%.S=%.o)
+Target := Optimized
+
+# FIXME: use automatic dependencies?
+Dependencies := $(wildcard $(Dir)/*.h)
+
+include make/subdir.mk