aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* Missed this as part of r67451.Evan Cheng2009-03-231-20/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67500 91177308-0d34-0410-b5e6-96231b3b80d8
* Really should pass -dylib to the linker...Bill Wendling2009-03-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67469 91177308-0d34-0410-b5e6-96231b3b80d8
* A dylib should be built as a dylib and not a bundle.Bill Wendling2009-03-221-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67468 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r67334 and r37349 which break "make check" on Linux.Nick Lewycky2009-03-201-22/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67368 91177308-0d34-0410-b5e6-96231b3b80d8
* More makefile changes to allow dejagnu tests to pass when system tools ↵Evan Cheng2009-03-191-20/+22
| | | | | | default to a different target from the llvm configuration (e.g. 64-bit gcc and 32-bit llvm). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67334 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Clang build for srcdir != objdirSebastian Redl2009-03-141-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67008 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for generating Clang diagnostic defs to Makefile.rules.Sebastian Redl2009-03-141-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@67006 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ENABLE_COVERAGE, for building a +Coverage (gcov) configuration.Daniel Dunbar2009-03-131-11/+25
| | | | | | | | | | | - Required some extra makefile tweaks to introduce a new flag var which only goes to compile/link tools but not the relink step, otherwise we get a copy of libgcov in the relinked .o files. - No configure magic for this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66945 91177308-0d34-0410-b5e6-96231b3b80d8
* Darwin 10.4.x: "-rpath" is unnecessary when linking shared libraries.Scott Michel2009-03-121-19/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66825 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r66765 and r66766. These were causing build failures on Darwin.Bill Wendling2009-03-121-5/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66770 91177308-0d34-0410-b5e6-96231b3b80d8
* Set ARCH to x86 on mixed 32/64-bit Linux systems.Nick Lewycky2009-03-121-7/+5
| | | | | | | Remove the explicit if OS = Darwin test around the setting of -m32/-m64. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66765 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix rebuilding after a .td file is modified. This was broken since revisionRafael Espindola2009-03-101-3/+3
| | | | | | | | | 65834. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66553 91177308-0d34-0410-b5e6-96231b3b80d8
* don't pass -Wl,-exported_symbol -Wl,_main to the linker when building onChris Lattner2009-03-101-0/+6
| | | | | | | Tiger. PR3743 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66550 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-apply 66315, but restrict it to Darwin only.Evan Cheng2009-03-091-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66427 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR3743 - -mmacosx-version-min inappropriate for Mac OS X 10.4.11,Chris Lattner2009-03-091-0/+3
| | | | | | | by stripping off any versions past the "10.4". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66392 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r66315. Fix the build on mixed 64/32 Linux systems.Nick Lewycky2009-03-071-10/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66350 91177308-0d34-0410-b5e6-96231b3b80d8
* If ARCH is x86_64, pass -m64 to the host compiler. -m32 for i386. This makes ↵Evan Cheng2009-03-071-0/+8
| | | | | | sure the JIT work correctly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66315 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename my makefile debugging rule to prevent accidental collisions.Daniel Dunbar2009-03-061-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66294 91177308-0d34-0410-b5e6-96231b3b80d8
* LINK_COMPONENTS should be added to LLVMLibsOptions.Mikhail Glushenkov2009-03-031-2/+2
| | | | | | | | | | From the code: "There are "Proj" libs (defined by the user's project) and "LLVM" libs (defined by the LLVM project)." LINK_COMPONENTS are clearly defined by the LLVM project. Additionally, this fixes an issue with llvmc's build process:-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65940 91177308-0d34-0410-b5e6-96231b3b80d8
* Switch to using -Wl,-R on Solaris.Nick Lewycky2009-03-031-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65927 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix build on Cygwin.Nick Lewycky2009-03-031-2/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65922 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplication in Makefile.rules.Mikhail Glushenkov2009-03-021-35/+32
| | | | | | Merge common bits from the LLVMC and TABLEGEN sections. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65834 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the rules for building plugins to Makefile.rules.Mikhail Glushenkov2009-03-021-1/+54
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65827 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix universal builds to not use -XCClinker (a libtool thing) now thatChris Lattner2009-02-261-2/+2
| | | | | | | libtool doesn't exist. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65561 91177308-0d34-0410-b5e6-96231b3b80d8
* no really, use the right path.Chris Lattner2009-02-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65554 91177308-0d34-0410-b5e6-96231b3b80d8
* Search for the export map in a place that it can be found.Chris Lattner2009-02-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65552 91177308-0d34-0410-b5e6-96231b3b80d8
* strip exported symbols from tools that build with TOOL_NO_EXPORTS=1.Chris Lattner2009-02-261-0/+18
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65543 91177308-0d34-0410-b5e6-96231b3b80d8
* pass -mmacosx-version-min to the compiler and linker, which makes the buildChris Lattner2009-02-261-2/+5
| | | | | | | | substantially happier on some versions of Mac OS/X. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65542 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo.Nick Lewycky2009-02-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65521 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo!Nick Lewycky2009-02-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65520 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove libtool.Nick Lewycky2009-02-261-72/+64
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65517 91177308-0d34-0410-b5e6-96231b3b80d8
* Add makefile debugging target; use "make print-FOO" to print theDaniel Dunbar2009-02-211-0/+8
| | | | | | | value/definition/origin of FOO. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65245 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass different flags on different platforms when building PIC.Nick Lewycky2009-02-211-2/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65229 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid order files for now, as they aren't supported in 3.79.Mike Stump2009-02-121-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64412 91177308-0d34-0410-b5e6-96231b3b80d8
* Reapply 63765. Patches for clang and llvm-gcc to follow.Dale Johannesen2009-02-051-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63812 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverting 63765. This broke the build of both clangDale Johannesen2009-02-041-5/+0
| | | | | | | | and llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63786 91177308-0d34-0410-b5e6-96231b3b80d8
* New feature: add support for target intrinsics being defined in theNate Begeman2009-02-041-0/+5
| | | | | | | | | | target directories themselves. This also means that VMCore no longer needs to know about every target's list of intrinsics. Future work will include converting the PowerPC target to this interface as an example implementation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63765 91177308-0d34-0410-b5e6-96231b3b80d8
* Perform optional clang building.Mike Stump2009-01-241-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62895 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't create .dir files in installation directories. Switch to usingMike Stump2009-01-221-9/+7
| | | | | | | order-only dependancies for installation directories. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62746 91177308-0d34-0410-b5e6-96231b3b80d8
* Support llvmc plugins in out-of-tree projects.Mikhail Glushenkov2009-01-091-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61990 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed trailing whitespace.Misha Brukman2009-01-081-40/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61904 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify the unittests Makefiles so that they don't rebuild parts of LLVM just toBill Wendling2009-01-041-2/+19
| | | | | | | run the tests. Most of this was stolen from the llvm/test Makefiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61648 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r61598 as it does nothing.Bill Wendling2009-01-031-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61614 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that 'ranlib' runs only after 'ar' is completed.Bill Wendling2009-01-031-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61598 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove lex/bison support from makefile.rules.Chris Lattner2009-01-021-111/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61562 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't error out if ranlib fails.Bill Wendling2009-01-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61551 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR3117: not all nodes being legalized. TheDuncan Sands2008-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | essential problem was that the DAG can contain random unused nodes which were never analyzed. When remapping a value of a node being processed, such a node may become used and need to be analyzed; however due to operands being transformed during analysis the node may morph into a different one. Users of the morphing node need to be updated, and this wasn't happening. While there I added a bunch of documentation and sanity checks, so I (or some other poor soul) won't have to scratch their head over this stuff so long trying to remember how it was all supposed to work next time some obscure problem pops up! The extra sanity checking exposed a few places where invariants weren't being preserved, so those are fixed too. Since some of the sanity checking is expensive, I added a flag to turn it on. It is also turned on when building with ENABLE_EXPENSIVE_CHECKS=1. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60797 91177308-0d34-0410-b5e6-96231b3b80d8
* Move target independent td files from lib/Target/ to include/llvm/Target so ↵Evan Cheng2008-11-241-3/+4
| | | | | | they can be distributed along with the header files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59953 91177308-0d34-0410-b5e6-96231b3b80d8
* Proper way of doing llvm canadian-cross compilation.Anton Korobeynikov2008-11-101-38/+10
| | | | | | Patch by Jim Grosbach! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58981 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment fix.Daniel Dunbar2008-11-031-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58621 91177308-0d34-0410-b5e6-96231b3b80d8