aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/wpa/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/examples/wpa/Makefile b/examples/wpa/Makefile
index 2be7ff10d8..6b7f407b6d 100644
--- a/examples/wpa/Makefile
+++ b/examples/wpa/Makefile
@@ -1,3 +1,12 @@
+##===- examples/wpa/Makefile -------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
LEVEL = ../../../..
TOOLNAME = clang-wpa
@@ -7,6 +16,9 @@ NO_INSTALL = 1
# No plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
+# Include this here so we can get the configuration of the targets that have
+# been configured for construction. We have to do this early so we can set up
+# LINK_COMPONENTS before including Makefile.rules
include $(LEVEL)/Makefile.config
LINK_COMPONENTS := bitreader mc core