[LLVMdev] Improving Makefile.rules header install rules [PATCH]

Vladimir Merzliakov wanderer at rsu.ru
Sat Feb 5 13:24:56 PST 2005


>> Is attached patch acceptable?
>
> Looks great, applied, thanks!
> http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050131/023931.html
Thanks!

>> Also I have in Makefile.rules (but not include in patch) some 
>> modification for simplify used common Makefile.rules in LLVM projects and 
>> non-LLVM project (guarding some LLVM specific parts by ifdef 
>> LLVM_OBJ_ROOT/LLVM_SRC_ROOT vars).

At this moment I am test ability use installed LLVM version to build project 
instead requare have builded LLVM object dir.

And i have problem with installed LLVM include dir.

Makefile.rules install only $(PROJ_SRC_ROOT)/include (including *.in files) 
and ignore headers in $(PROJ_OBJ_ROOT)/include
As result installed LLVM does't have all headers for building external 
projects, for example, llvm/ADT/iterator

Proposed patch attached.

It tested making full LLVM build, install and uninstall.

Vladimir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Makefile.rules.patch
Type: application/octet-stream
Size: 1418 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20050206/5b9c1a5b/attachment.obj>


More information about the llvm-dev mailing list