summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* 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
* For PR789:Reid Spencer2007-03-29
| | | | | | | | | Make the sys::Path::getFileStatus function more efficient by having it return a pointer to the FileStatus structure rather than copy it. Adjust uses of the function accordingly. Also, fix some memory issues in sys::Path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35476 91177308-0d34-0410-b5e6-96231b3b80d8
* correct dependencyChris Lattner2007-02-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34723 91177308-0d34-0410-b5e6-96231b3b80d8
* target for generating CC infoChris Lattner2007-02-27
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34683 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some bugs in module building that broke llvm-stacker project.Reid Spencer2007-02-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34099 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use gccld or gccasReid Spencer2007-02-09
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34093 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the cleaning of BUILT_SOURCES be a "clean-all" target item, not aReid Spencer2007-02-07
| | | | | | | | | | "clean" target item. This gets around having the built sources disappear when only one build mode wants to be cleaned. With the "clean-all" target, all build modes are cleaned so it also makes sense to clean out the built sources at that point. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34003 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove a spurious ;Reid Spencer2007-02-07
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33976 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the NO_INSTALL feature. Setting this variable to any value inReid Spencer2007-02-06
| | | | | | | | | a directory's Makefile will prevent the build products from that directory from being installed. This is useful for tools and libraries that are only useful as part of the build process. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33968 91177308-0d34-0410-b5e6-96231b3b80d8
* When using LINK_COMPONENTS, append the components to the end of theReid Spencer2007-02-04
| | | | | | | | | libraries linked with. This permits a project to still use USEDLIBS to specify its own libraries in conjunction with LINK_COMPONENTS. llvm-stacker needs this after libLLVMTransforms.a went away. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33886 91177308-0d34-0410-b5e6-96231b3b80d8
* Work around broken binutils on alphaAndrew Lenharth2007-01-26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33535 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't remove the find_rule label from FLEX output. It is needed by someReid Spencer2007-01-11
| | | | | | | | versions of FLEX even through we don't use REJECT. Thanks to Jeff Cohen for tracking this down. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33085 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the find_rule label from the output of flex. This will break anyReid Spencer2007-01-03
| | | | | | | | use of the REJECT macro but we don't use it. This just hushes up a warning in the presence of -Wno-unused. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32843 91177308-0d34-0410-b5e6-96231b3b80d8
* When compiling a C or C++ file to assembly, make the assembly outputReid Spencer2006-12-30
| | | | | | | | | depend on the compiler. This works around problems in the Stacker runtime when the CFE changes in such a way that the assembly file needs to be updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32773 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow an --enable-pic option to turn on -fPIC compiler option when building.Reid Spencer2006-12-16
| | | | | | | The default is disabled until we know this doesn't break anyone. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32635 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't bother with setting the path before running llvm-gcc4, it doesn'tReid Spencer2006-12-10
| | | | | | | need it like llvm-gcc3 did. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32410 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove line not meant to be committed.Reid Spencer2006-12-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32163 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle upgrade of llvm-gcc3 assembly files.Reid Spencer2006-12-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32161 91177308-0d34-0410-b5e6-96231b3b80d8
* Undo removal of the runtime libraries. While this may have been a bitReid Spencer2006-11-17
| | | | | | | | premature, these libraries will be going away for the 2.0 release. Other arrangements for profiling, gc, etc. should be made in the next few months. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31807 91177308-0d34-0410-b5e6-96231b3b80d8
* In LLVM 2.0 we won't use the runtime libraries as llvm-gcc3 support willReid Spencer2006-11-16
| | | | | | | be dropped. This patch pertains to removing the runtime directory from LLVM. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31793 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo pointed out by Bryan AdamsChris Lattner2006-11-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31766 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow ENABLE_OPTIMIZED=0 to turn off optimization (turn on debug).Reid Spencer2006-11-11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31655 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR786:Reid Spencer2006-11-02
| | | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31380 91177308-0d34-0410-b5e6-96231b3b80d8
* Targets should depend on all the intrinsics.td files also, otherwise theyChris Lattner2006-10-24
| | | | | | | | | will compute a locally wrong numbering for the intrinsics. This fixes a nasty issue where the x86 backend started miscompiling stuff in a 'cvs up'd build after the altivec intrinsics were added. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31172 91177308-0d34-0410-b5e6-96231b3b80d8
* Move CompileCommonOpts to the end of the list so that EXTRA_OPTIONS=-O0 willChris Lattner2006-09-29
| | | | | | | override the optimization level. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30672 91177308-0d34-0410-b5e6-96231b3b80d8