Reapply my less-lock-contention-in-leak-detector patch, now with new files
[oota-llvm.git] / runtime / libprofile / Makefile
index d496168c2c78160d5d1bbc91f4452742efc84b14..8ff46fabdd1712c7a4f1cfdbfdea1ec33208ef48 100644 (file)
@@ -2,17 +2,18 @@
 # 
 #                     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.
+# This file is distributed under the University of Illinois Open Source
+# License. See LICENSE.TXT for details.
 # 
 ##===----------------------------------------------------------------------===##
+
 LEVEL = ../..
-BYTECODE_LIBRARY=1
-SHARED_LIBRARY=1
-#DONT_BUILD_RELINKED=1
-LIBRARYNAME=profile_rt
+BYTECODE_LIBRARY = 1
+SHARED_LIBRARY = 1
+LOADABLE_MODULE = 1
+LIBRARYNAME = profile_rt
 EXTRA_DIST = exported_symbols.lst
-EXPORTED_SYMBOL_FILE = $(BUILD_SRC_DIR)/exported_symbols.lst
+EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/exported_symbols.lst
+BYTECODE_DESTINATION = $(CFERuntimeLibDir)
 
 include $(LEVEL)/Makefile.common
-