First cut at the Makefile for llvm-config. This initial version just provides
authorReid Spencer <rspencer@reidspencer.com>
Sun, 19 Mar 2006 22:10:53 +0000 (22:10 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 19 Mar 2006 22:10:53 +0000 (22:10 +0000)
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

tools/llvm-config/Makefile [new file with mode: 0644]
utils/llvm-config/Makefile [new file with mode: 0644]

diff --git a/tools/llvm-config/Makefile b/tools/llvm-config/Makefile
new file mode 100644 (file)
index 0000000..34dfa55
--- /dev/null
@@ -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 (file)
index 0000000..34dfa55
--- /dev/null
@@ -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