summaryrefslogtreecommitdiff
path: root/tools/llvm-config
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-03-19 22:10:53 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-03-19 22:10:53 +0000
commit0fab2b15abf5bc2dbb8e8c7c884084f05348b34c (patch)
treea8ee358c130482aab30db5e7d3eb187dff84871b /tools/llvm-config
parent28097d086f72cd2cd6e267a8dfa179633ef1494e (diff)
downloadllvm-0fab2b15abf5bc2dbb8e8c7c884084f05348b34c.tar.gz
llvm-0fab2b15abf5bc2dbb8e8c7c884084f05348b34c.tar.bz2
llvm-0fab2b15abf5bc2dbb8e8c7c884084f05348b34c.tar.xz
First cut at the Makefile for llvm-config. This initial version just provides
the rule for building the LibDeps.txt file using GenLibDeps.pl. This needs to be done from time to time manually in order to keep LibDeps.txt up to date. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26875 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-config')
-rw-r--r--tools/llvm-config/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
new file mode 100644
index 0000000000..34dfa5542b
--- /dev/null
+++ b/tools/llvm-config/Makefile
@@ -0,0 +1,16 @@
+##===- utils/llvm-config/Makefile --------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file was developed by Reid Spencer and Eric Kidd and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+
+LEVEL = ../..
+
+
+include $(LEVEL)/Makefile.common
+
+LibDeps.txt: $(LEVEL)/utils/GenLibDeps.pl $(LibDir)
+ $(LEVEL)/utils/GenLibDeps.pl -flat $(LibDir) | sort > LibDeps.txt