update this to use llvm-config, patch by Jose M. Moya
[oota-llvm.git] / runtime / libdummy / Makefile
index 2b4af8516ec64eb0c46d5d1017ef81af62af5fef..6dad7bc6093b58e82892af2b8dda8ebb45ec1126 100644 (file)
@@ -1,4 +1,19 @@
-LEVEL = ../../..
-LIBNAME = dummy
-include ../Makefile.libs
+##===- runtime/libdummy/Makefile ---------------------------*- Makefile -*-===##
+# 
+#                     The LLVM Compiler Infrastructure
+#
+# 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 = ../..
+BYTECODE_LIBRARY = 1
+DONT_BUILD_RELINKED = 1
+LIBRARYNAME = dummy
+BYTECODE_DESTINATION = $(CFERuntimeLibDir)
+
+include $(LEVEL)/Makefile.common
+
+CompileCommonOpts := $(filter-out -pedantic,$(CompileCommonOpts))
+CompileCommonOpts := $(filter-out -Wno-long-long,$(CompileCommonOpts))