<div style="font-family: arial, helvetica, sans-serif; font-size: 10pt">Thank you (and sorry for the breakage)!<div><br></div><div>I looked at Makefile.common which has lines:</div><div><div># 4. Source - If specified, this sets the source code filenames.  If this</div>
<div>#    is not set, it defaults to be all of the .cpp, .c, .y, and .l files</div><div>#    in the current directory.</div></div><div><br></div><div>Should we s/Source/SOURCES here?</div><div><br><div class="gmail_quote">
On Thu, Dec 6, 2012 at 5:25 PM, NAKAMURA Takumi <span dir="ltr"><<a href="mailto:geek4civic@gmail.com" target="_blank">geek4civic@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Author: chapuni<br>
Date: Thu Dec  6 19:25:45 2012<br>
New Revision: <a href="tel:169568" value="+49169568">169568</a><br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=169568&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=169568&view=rev</a><br>
Log:<br>
unittest/googletest/Makefile: Unbreak out-of-tree build.<br>
<br>
  - Use SOURCES instead of Source. See Makefile.rules and MakefileGuide.html.<br>
  - Don't assume the current directory. $(wildcard *.cc) doesn't match anything on corresponding build directory.<br>
<br>
Modified:<br>
    llvm/trunk/utils/unittest/googletest/Makefile<br>
<br>
Modified: llvm/trunk/utils/unittest/googletest/Makefile<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/Makefile?rev=169568&r1=169567&r2=169568&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/unittest/googletest/Makefile?rev=169568&r1=169567&r2=169568&view=diff</a><br>

==============================================================================<br>
--- llvm/trunk/utils/unittest/googletest/Makefile (original)<br>
+++ llvm/trunk/utils/unittest/googletest/Makefile Thu Dec  6 19:25:45 2012<br>
@@ -36,6 +36,6 @@<br>
<br>
 NO_INSTALL = 1<br>
<br>
-Source = $(filter-out gtest-all.cc,$(wildcard *.cc))<br>
+SOURCES = $(filter-out gtest-all.cc, $(notdir $(wildcard $(PROJ_SRC_DIR)/*.cc)))<br>
<br>
 include $(LEVEL)/Makefile.common<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div><br>
</div></div>