summaryrefslogtreecommitdiffstats
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
parent28097d086f72cd2cd6e267a8dfa179633ef1494e (diff)
downloadexternal_llvm-0fab2b15abf5bc2dbb8e8c7c884084f05348b34c.zip
external_llvm-0fab2b15abf5bc2dbb8e8c7c884084f05348b34c.tar.gz
external_llvm-0fab2b15abf5bc2dbb8e8c7c884084f05348b34c.tar.bz2
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
-rw-r--r--tools/llvm-config/Makefile16
-rw-r--r--utils/llvm-config/Makefile16
2 files changed, 32 insertions, 0 deletions
diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
new file mode 100644
index 0000000..34dfa55
--- /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
diff --git a/utils/llvm-config/Makefile b/utils/llvm-config/Makefile
new file mode 100644
index 0000000..34dfa55
--- /dev/null
+++ b/utils/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