-LEVEL = ../..
-TOOLNAME = lli
-PARALLEL_DIRS = Interpreter JIT
-
-JITLIBS = lli-jit codegen x86
-USEDLIBS = lli-interpreter $(JITLIBS) bcreader vmcore analysis.a support.a target.a
-#transforms.a
-
-# Have gcc tell the linker to export symbols from the program so that
-# dynamically loaded modules can be linked against them.
+##===- tools/lli/Makefile ------------------------------*- Makefile -*-===##
+#
+# The LLVM Compiler Infrastructure
#
-TOOLLINKOPTS = -ldl
+# This file was developed by the LLVM research group and is distributed under
+# the University of Illinois Open Source License. See LICENSE.TXT for details.
+#
+##===----------------------------------------------------------------------===##
+LEVEL := ../..
+TOOLNAME := lli
+LLVMLIBS := JIT
+# Enable JIT support
include $(LEVEL)/Makefile.common