aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/AArch64/Utils/Makefile
diff options
context:
space:
mode:
authorTim Northover <Tim.Northover@arm.com>2013-02-05 13:24:47 +0000
committerTim Northover <Tim.Northover@arm.com>2013-02-05 13:24:47 +0000
commit19254c49a8752fe8c6fa648a6eb29f20a1f62c8b (patch)
treea5fc35fcd05b26436ea7bc91fcdcd19d6f638d6e /lib/Target/AArch64/Utils/Makefile
parent7304702ef99f98897d15baae0eede55f294bc602 (diff)
downloadexternal_llvm-19254c49a8752fe8c6fa648a6eb29f20a1f62c8b.zip
external_llvm-19254c49a8752fe8c6fa648a6eb29f20a1f62c8b.tar.gz
external_llvm-19254c49a8752fe8c6fa648a6eb29f20a1f62c8b.tar.bz2
Remove cyclic dependency in AArch64 libraries
This moves the bit twiddling and string fiddling functions required by other parts of the backend into a separate library. Previously they resided in AArch64Desc, which created a circular dependency between various components. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174369 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/AArch64/Utils/Makefile')
-rw-r--r--lib/Target/AArch64/Utils/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Target/AArch64/Utils/Makefile b/lib/Target/AArch64/Utils/Makefile
new file mode 100644
index 0000000..0f4a645
--- /dev/null
+++ b/lib/Target/AArch64/Utils/Makefile
@@ -0,0 +1,15 @@
+##===- lib/Target/AArch64/Utils/Makefile -------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+LEVEL = ../../../..
+LIBRARYNAME = LLVMAArch64Utils
+
+# Hack: we need to include 'main' AArch64 target directory to grab private headers
+#CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
+
+include $(LEVEL)/Makefile.common