summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* Support llvmc plugins in out-of-tree projects.Mikhail Glushenkov2009-01-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61990 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed trailing whitespace.Misha Brukman2009-01-08
| | | | 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-04
| | | | | | | 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-03
| | | | 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-03
| | | | 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-02
| | | | 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-02
| | | | 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-09
| | | | | | | | | | | | | | | | | | | | | | | | 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-24
| | | | | | 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-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-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58621 91177308-0d34-0410-b5e6-96231b3b80d8
* Fun x86 encoding tricks: when adding an immediate value of 128,Dan Gohman2008-10-17
| | | | | | | | | | | | | | use a SUB instruction instead of an ADD, because -128 can be encoded in an 8-bit signed immediate field, while +128 can't be. This avoids the need for a 32-bit immediate field in this case. A similar optimization applies to 64-bit adds with 0x80000000, with the 32-bit signed immediate field. To support this, teach tablegen how to handle 64-bit constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57663 91177308-0d34-0410-b5e6-96231b3b80d8
* Another dependency fix, prevent ObjDir from having trailing slash.Daniel Dunbar2008-10-03
| | | | | | | | - It turns out this is enough to completely break dependency file (.d) usage (at least for my gmake). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57030 91177308-0d34-0410-b5e6-96231b3b80d8
* Add IS_CLEANING_TARGET Makefile variable.Daniel Dunbar2008-10-03
| | | | | | | | - Fixes bug in dependency inclusions where make with unspecified target wouldn't include dependency files, eek! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57026 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for Canadian Cross builds where the host executables are notJim Grosbach2008-10-02
| | | | | | | | | | | | | | runnable on the build machine. There are a few bits that need built for the build environment (TableGen). This patch builds those bits, and the associated libraries, for the build environment as well as the (usual) host environment. Thanks to Eric C. and Devang P. for pre-commit review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56975 91177308-0d34-0410-b5e6-96231b3b80d8
* Reapply majority of r55557 but with the changes to compilation flagsDaniel Dunbar2008-09-02
| | | | | | | disabled until issues with gcc 4.1 on linux 32-bit are resolved. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55636 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert r55557, it is causing linking failures on 32bit linux.Matthijs Kooijman2008-09-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55628 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -fvisibility-inlines-hidden by default for compilers whichDaniel Dunbar2008-08-30
| | | | | | | support it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55557 91177308-0d34-0410-b5e6-96231b3b80d8
* fix the output dumbness I have introduced some time agoGabor Greif2008-08-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55506 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial checkin of the new "fast" instruction selection support. SeeDan Gohman2008-08-13
| | | | | | | | the comments in FastISelEmitter.cpp for details on what this is. This is currently experimental and unusable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54751 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for building on solaris, working around namespaceChris Lattner2008-06-24
| | | | | | | polution problems from system headers. Patch by Nathan Keynes! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52682 91177308-0d34-0410-b5e6-96231b3b80d8
* Warn of potential violations of strict aliasing rules.Evan Cheng2008-06-05
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52027 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert 51775.Evan Cheng2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51795 91177308-0d34-0410-b5e6-96231b3b80d8
* Patches for building llvm on Solaris x86. Contributed by Nathan Keynes.Evan Cheng2008-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51775 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵Gabor Greif2008-05-15
| | | | | | makefile targets to find these better. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51143 91177308-0d34-0410-b5e6-96231b3b80d8
* Refresh Makefile.ocaml in objdir if it is modified in srcdir.Gordon Henriksen2008-03-10
| | | | | | Patch by Erick Tryzelaar! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48149 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove inappropriate whitespace, change CVS to SVN where it makes sense.Gabor Greif2008-02-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47671 91177308-0d34-0410-b5e6-96231b3b80d8
* when making bytecode modules, link as libraryAndrew Lenharth2008-02-25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47574 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the check for GCC version more robust, fix shared libraryChris Lattner2008-02-05
| | | | | | | | | | | dependencies in makefile, and fix llvm_cv_no_link_all_option on darwin. Patch by Shantonu Sen, more info here: http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-February/012410.html git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46760 91177308-0d34-0410-b5e6-96231b3b80d8
* Unbreak builds with differing object and sourceDuncan Sands2008-01-28
| | | | | | | directories. Patch by Sam Bishop. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46453 91177308-0d34-0410-b5e6-96231b3b80d8
* reduce duplicate -I flags passed to the compiler, cleaning up the VERBOSEChris Lattner2008-01-28
| | | | | | | output. Patch contributed by Sam Bishop! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46432 91177308-0d34-0410-b5e6-96231b3b80d8
* One too many )'s breaks 'make clean' with certain versions of make.Chris Lattner2008-01-22
| | | | | | | | | This fixes PR1927 This should be pulled into llvm 2.2. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46245 91177308-0d34-0410-b5e6-96231b3b80d8
* Commit a piece that I missed before, patch by Alain FrischChris Lattner2008-01-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46032 91177308-0d34-0410-b5e6-96231b3b80d8
* Modify Makefile.rules to allow makefiles to prepend to C.Flags andGordon Henriksen2008-01-06
| | | | | | fiends. Change Makefile.ocaml to not touch CFLAGS. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45663 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor out makefile dependency generation better.Chris Lattner2007-12-31
| | | | | | | | | Don't include system headers in the .d files. Don't use $@ in the makefile rules, as there are two possible targets it could resolve to: use the one that we need explicitly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45473 91177308-0d34-0410-b5e6-96231b3b80d8
* remove attributions from the rest of the llvm makefiles.Chris Lattner2007-12-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45416 91177308-0d34-0410-b5e6-96231b3b80d8
* noone uses etags. Connected to PR1601Chris Lattner2007-09-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42344 91177308-0d34-0410-b5e6-96231b3b80d8
* Restore ability to build archives (oops)Reid Spencer2007-07-23
| | | | | | | Fix -include line so it doesn't reference /dev/null git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40429 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove bizarre use of /dev/null in a makefile include line that Reid Spencer2007-07-23
| | | | | | | | | produces warning from make about bad timestamp on /dev/null Patch by Holger Schurig. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40426 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to keep symbols for profile build.Reid Spencer2007-07-10
| | | | | | | Patch by Benoit Boissinot. Thanks, Benoit! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38490 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that preprocessor symbols like _DEBUG, NDEBUG, and _GLIBC_DEBUG areReid Spencer2007-07-10
| | | | | | | | | put into the CPP.Defines variable. Seems the convention was corrupted with various changes made. It is important to get command line parameters into the right variable because things like llvm-config and sub-makefiles depend on it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@38486 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a missing .Reid Spencer2007-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37800 91177308-0d34-0410-b5e6-96231b3b80d8
* Clean up comments to be consistent with code.David Greene2007-06-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37798 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for building with _GLIBCXX_DEBUG. New configure optionDavid Greene2007-06-28
| | | | | | | | | | | | | | --enable-expensive-checks allows the developer to enable runtime checking that can greatly increase compile time. Currently it only turns on _GLIBCXX_DEBUG. Other expensive debugging checks added later should be controlled by this configure option. This patch also updates llvm-config with a --cppflags option to inform llvm-gcc how to build itself so that it is compatible with an llvm that was built with _GLIBCXX_DEBUG. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37777 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a problem with building .y files when BISON is not present.Reid Spencer2007-05-17
| | | | | | | Merged from the release_20 branch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37188 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable RTTI handling until we're ready.Reid Spencer2007-05-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36651 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a rule to get the footprint of binaries and libraries.Reid Spencer2007-05-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36650 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed tabs everywhere except autogenerated & external files. Add makeAnton Korobeynikov2007-04-16
| | | | | | | target for tabs checking. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36146 91177308-0d34-0410-b5e6-96231b3b80d8
* add a target to print out 80-column violations.Chris Lattner2007-04-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36032 91177308-0d34-0410-b5e6-96231b3b80d8
* Speed up installation a bit by ignoring .svn directories.Reid Spencer2007-04-09
| | | | | | | Patch by Scott Michel. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35826 91177308-0d34-0410-b5e6-96231b3b80d8