aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/Utils/Makefile
diff options
context:
space:
mode:
authorDavid Greene <greened@obbligato.org>2011-02-17 19:18:59 +0000
committerDavid Greene <greened@obbligato.org>2011-02-17 19:18:59 +0000
commit583b68f34fd9bdb6114fa48dadc8def2ec96edac (patch)
treea9231e7086e84c4a72a661ad24f2d21f58c6e84c /lib/Target/X86/Utils/Makefile
parent034a80d065358b412cdd270e08fb6f1986e65e50 (diff)
downloadexternal_llvm-583b68f34fd9bdb6114fa48dadc8def2ec96edac.zip
external_llvm-583b68f34fd9bdb6114fa48dadc8def2ec96edac.tar.gz
external_llvm-583b68f34fd9bdb6114fa48dadc8def2ec96edac.tar.bz2
[AVX] Recorganize X86ShuffleDecode into its own library
(LLVMX86Utils.a) to break cyclic library dependencies between LLVMX86CodeGen.a and LLVMX86AsmParser.a. Previously this code was in a header file and marked static but AVX requires some additional functionality here that won't be used by all clients. Since including unused static functions causes a gcc compiler warning, keeping it as a header would break builds that use -Werror. Putting this in its own library solves both problems at once. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/Utils/Makefile')
-rw-r--r--lib/Target/X86/Utils/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/Target/X86/Utils/Makefile b/lib/Target/X86/Utils/Makefile
new file mode 100644
index 0000000..1df6f0f
--- /dev/null
+++ b/lib/Target/X86/Utils/Makefile
@@ -0,0 +1,15 @@
+##===- lib/Target/X86/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 = LLVMX86Utils
+
+# Hack: we need to include 'main' x86 target directory to grab private headers
+CPP.Flags += -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
+
+include $(LEVEL)/Makefile.common