llvm.org GIT mirror llvm / 47c30da
build/Make: Get rid of llvm-config-perobj, which isn't used anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143541 91177308-0d34-0410-b5e6-96231b3b80d8 Daniel Dunbar 9 years ago
1 changed file(s) with 0 addition(s) and 44 deletion(s). Raw diff Collapse all Expand all
5252 $(Verb) cd $(PROJ_OBJ_ROOT) ; \
5353 $(ConfigStatusScript) tools/llvm-config/llvm-config.in
5454
55 llvm-config-perobj: llvm-config.in $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a)
56 $(Echo) "Generating llvm-config-perobj"
57 $(Verb) $(PERL) $(GenLibDeps) -perobj -flat $(LibDir) "$(NM_PATH)" >PerobjDeps.txt
58 $(Echo) "Checking for cyclic dependencies between LLVM objects."
59 $(Verb) $(PERL) $(PROJ_SRC_DIR)/find-cycles.pl < PerobjDepsIncl.txt > PerobjDepsInclFinal.txt || rm -f $@
60 $(Verb) $(ECHO) 's/@LLVM_CPPFLAGS@/$(subst /,\/,$(SUB_CPPFLAGS))/' \
61 > temp.sed
62 $(Verb) $(ECHO) 's/@LLVM_CFLAGS@/$(subst /,\/,$(SUB_CFLAGS))/' \
63 >> temp.sed
64 $(Verb) $(ECHO) 's/@LLVM_CXXFLAGS@/$(subst /,\/,$(SUB_CXXFLAGS))/' \
65 >> temp.sed
66 $(Verb) $(ECHO) 's/@LLVM_LDFLAGS@/$(subst /,\/,$(SUB_LDFLAGS))/' \
67 >> temp.sed
68 $(Verb) $(ECHO) 's/@LLVM_BUILDMODE@/$(subst /,\/,$(BuildMode))/' \
69 >> temp.sed
70 $(Verb) $(ECHO) 's/@LLVM_OBJ_SUFFIX@/$(subst /,\/,/$(BuildMode))/' \
71 >> temp.sed
72 $(Verb) $(SED) -f temp.sed < $< > $@
73 $(Verb) $(RM) temp.sed
74 $(Verb) cat PerobjDepsFinal.txt >> $@
75 $(Verb) chmod +x $@
76
77 llvm-config-perobjincl: llvm-config.in $(GenLibDeps) $(LibDir) $(wildcard $(LibDir)/*.a)
78 $(Echo) "Generating llvm-config-perobjincl"
79 $(Verb) $(PERL) $(GenLibDeps) -perobj -perobjincl -flat $(LibDir) "$(NM_PATH)" >PerobjDepsIncl.txt
80 $(Echo) "Checking for cyclic dependencies between LLVM objects."
81 $(Verb) $(PERL) $(PROJ_SRC_DIR)/find-cycles.pl < PerobjDepsIncl.txt > PerobjDepsInclFinal.txt
82 $(Verb) $(ECHO) 's/@LLVM_CPPFLAGS@/$(subst /,\/,$(SUB_CPPFLAGS))/' \
83 > temp.sed
84 $(Verb) $(ECHO) 's/@LLVM_CFLAGS@/$(subst /,\/,$(SUB_CFLAGS))/' \
85 >> temp.sed
86 $(Verb) $(ECHO) 's/@LLVM_CXXFLAGS@/$(subst /,\/,$(SUB_CXXFLAGS))/' \
87 >> temp.sed
88 $(Verb) $(ECHO) 's/@LLVM_LDFLAGS@/$(subst /,\/,$(SUB_LDFLAGS))/' \
89 >> temp.sed
90 $(Verb) $(ECHO) 's/@LLVM_BUILDMODE@/$(subst /,\/,$(BuildMode))/' \
91 >> temp.sed
92 $(Verb) $(ECHO) 's/@LLVM_OBJ_SUFFIX@/$(subst /,\/,/$(BuildMode))/' \
93 >> temp.sed
94 $(Verb) $(SED) -f temp.sed < $< > $@
95 $(Verb) $(RM) temp.sed
96 $(Verb) cat PerobjDepsInclFinal.txt >> $@
97 $(Verb) chmod +x $@
98
9955 # Build our final script.
10056 $(ToolDir)/llvm-config: llvm-config.in $(FinalLibDeps)
10157 $(Echo) "Building llvm-config script."