llvm.org GIT mirror llvm / 7c52f2e
Make the export files absolute paths, and change Makefile.rules to expect them this way, to fix srcdir!=objdir builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101414 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 9 years ago
4 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
977977
978978 ifeq ($(HOST_OS),Darwin)
979979 # Darwin convention prefixes symbols with underscores.
980 NativeExportsFile := $(ObjDir)/$(EXPORTED_SYMBOL_FILE).sed
980 NativeExportsFile := $(ObjDir)/$(notdir $(EXPORTED_SYMBOL_FILE)).sed
981981 $(NativeExportsFile): $(EXPORTED_SYMBOL_FILE) $(ObjDir)/.dir
982982 $(Verb) sed -e 's/[[:<:]]/_/' < $< > $@
983983 clean-local::
1616 LOADABLE_MODULE = 1
1717 LIBRARYNAME = profile_rt
1818 EXTRA_DIST = exported_symbols.lst
19 EXPORTED_SYMBOL_FILE = exported_symbols.lst
19 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/exported_symbols.lst
2020
2121 include $(LEVEL)/Makefile.common
1111
1212 BUILT_SOURCES = EDInfo.inc
1313
14 EXPORTED_SYMBOL_FILE = EnhancedDisassembly.exports
14 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/EnhancedDisassembly.exports
1515
1616 # Include this here so we can get the configuration of the targets
1717 # that have been configured for construction. We have to do this
99 LEVEL = ../..
1010 LIBRARYNAME = LTO
1111
12 EXPORTED_SYMBOL_FILE = lto.exports
12 EXPORTED_SYMBOL_FILE = $(PROJ_SRC_DIR)/lto.exports
1313
1414 # Include this here so we can get the configuration of the targets
1515 # that have been configured for construction. We have to do this