aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* Pass -fstrict-aliasing to the compiler when building a release build on darwin.Chris Lattner2006-07-271-3/+8
| | | | | | | Darwin doesn't default to it being on. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29350 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR814:Reid Spencer2006-07-261-1/+5
| | | | | | | | Provide support for making cross-compiling builds. See the PR for details. Patch provided by Anton Korobeynikov. Thanks, Anton! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29309 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce work done for directory traversal in srcdir==objdir builds.Chris Lattner2006-07-261-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29300 91177308-0d34-0410-b5e6-96231b3b80d8
* Workaround no longer needed.Evan Cheng2006-07-211-6/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29260 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix MacOSX build failures. (pr841)Devang Patel2006-07-211-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29246 91177308-0d34-0410-b5e6-96231b3b80d8
* Build more debugger/selectiondag libraries as archives instead of .o files.Chris Lattner2006-07-211-3/+3
| | | | | | | | | This works around bugs in some versions of the cygwin linker. Patch contributed by Anton Korobeynikov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29239 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix linking on AlphaAndrew Lenharth2006-07-201-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29219 91177308-0d34-0410-b5e6-96231b3b80d8
* Profile builds should always have debug info enabled.Chris Lattner2006-07-111-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29109 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow specifying an explicit list of architectures to build for, e.g.:Chris Lattner2006-06-291-6/+15
| | | | | | | | | make ENABLE_OPTIMIZED=1 UNIVERSAL=1 UNIVERSAL_ARCH="i386 ppc ppc64" retain the default of building for just i386/ppc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28985 91177308-0d34-0410-b5e6-96231b3b80d8
* Add targets for generating .s file in addition to .o files.Chris Lattner2006-06-211-15/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28903 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor a bunch of rules together, no functionality change.Chris Lattner2006-06-211-56/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28902 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow LLVM to be built with extra options.Evan Cheng2006-06-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28873 91177308-0d34-0410-b5e6-96231b3b80d8
* Do not hardcode random paths into the makefile. Make the user specify theChris Lattner2006-06-161-5/+11
| | | | | | | | SDK to use when building "universal" on Mac OS/X, if they want to use a specific one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28842 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix building on case-sensitive file systems, grr :)Chris Lattner2006-06-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28801 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove obsolete CORE_IS_ARCHIVE stuff.Chris Lattner2006-06-021-8/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28648 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide configuration support and usage for MINGW32 platformReid Spencer2006-06-011-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28639 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR786:Reid Spencer2006-06-011-1/+2
| | | | | | | | | | Turn -pedantic and -Wno-long-long compile flags on by default. In a few places, avoid the warnings by removing these options in the local makefile. One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are left on as a reminder to developers to clean them up. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28614 91177308-0d34-0410-b5e6-96231b3b80d8
* Use archive libraries instead of object files for VMCore, BCReader,Reid Spencer2006-06-011-2/+2
| | | | | | | | BCWriter, and bzip2 libraries. Adjust the various makefiles to accommodate these changes. This was done to speed up link times. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28610 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable -fno-use-cxa-atexit on darwin/ppc also.Chris Lattner2006-05-301-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28558 91177308-0d34-0410-b5e6-96231b3b80d8
* Abstract out the current optimization level into a flag that can be overriddenChris Lattner2006-05-241-6/+10
| | | | | | | on the make line, to avoid bugs in native compilers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28457 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove flags implied by -O3Chris Lattner2006-05-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28456 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use -fomit-frame-pointer on darwin, it breaks stacktrace collection.Chris Lattner2006-05-241-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28451 91177308-0d34-0410-b5e6-96231b3b80d8
* Make some changes suggested by Chris:Reid Spencer2006-05-171-12/+4
| | | | | | | | | | 1. Remove the LLVM_DO_NOT_BUILD feature (not needed any more) 2. Ensure that lib/VMCore gets built first. This needs to be done because VMCore now uses tblgen to generate the Intrinsics header which are needed in other libraries. In parallel builds, this can cause problems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28374 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that $(CXX.Flags) is passed to the linker so that the same optionsReid Spencer2006-05-161-2/+2
| | | | | | | | | with which source is compiled are used when linking. This matters when a project is using the LLVM makefiles and overrides CXXFLAGS to specify new flags to use. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28322 91177308-0d34-0410-b5e6-96231b3b80d8
* Replace "../whatever.td" with "whatever.td", so that out-of-tree backendsVladimir Prus2006-05-161-1/+2
| | | | | | | can just add lib/Target to TableGen includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28318 91177308-0d34-0410-b5e6-96231b3b80d8
* When linking, make sure the project libraries are linked before the LLVMReid Spencer2006-05-161-3/+3
| | | | | | | | | libraries. This ensures that the project's libraries (which most likely depend on LLVM libraries) come first on the command line and can thus be resolved by the LLVM libraries that appear later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28316 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some problems linking stuff in libTarget.Owen Anderson2006-05-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28218 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove traces of Burg utility now that its gone and not needed.Reid Spencer2006-04-201-4/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27902 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove V9 jit supportChris Lattner2006-04-201-15/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27891 91177308-0d34-0410-b5e6-96231b3b80d8
* Final piece to get relinked .o files buildable universal on Darwin.Chris Lattner2006-04-191-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27839 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that the C Frontend's runtime library directory is included asReid Spencer2006-04-121-2/+3
| | | | | | | | a -L option to gccld whenever we're building a bytecode module or archive. This gets around the "Cannot find library 'crtend'" warning messages. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27621 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous building in target dist-check. There is no reason thatReid Spencer2006-04-121-2/+0
| | | | | | | | a distribution should need to be able to make a distribution so eliminate the "make dist" from the list of targets attempted. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27600 91177308-0d34-0410-b5e6-96231b3b80d8
* ENABLE_ASSERTIONS -> DISABLE_ASSERTIONSReid Spencer2006-04-101-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27558 91177308-0d34-0410-b5e6-96231b3b80d8
* Check for DISABLE_ASSERTIONS, not ENABLE_ASSERTIONSReid Spencer2006-04-091-9/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27552 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR723:Reid Spencer2006-04-071-10/+13
| | | | | | | | | | | | | 1. Don't force debug builds to have assertion checking turned on always. Let the default (on) be taken, or overridden by the command line 2. Create two new BuildModes based on assertion checking: Release+Assert and Debug-Assert. 3. Ensure that when building a distribution we get a release build with assertions enabled, regardless of the tree's configuration. 4. (unrelated) Fix library name generation for llvm-config usage. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27488 91177308-0d34-0410-b5e6-96231b3b80d8
* A saner workaround. I hope.Evan Cheng2006-04-071-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27483 91177308-0d34-0410-b5e6-96231b3b80d8
* Temporary workaround for a Mac OSX specific issue.Evan Cheng2006-04-071-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27482 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for building the LLVM libraries and tools as a Mac OS/XChris Lattner2006-04-061-0/+7
| | | | | | | universal binary, by specifying UNIVERSAL=1 on the make command line. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27447 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a facility for invoking the llvm-config tool when linking a program.Reid Spencer2006-03-241-0/+8
| | | | | | | | | | | | | | | This facility allows LLVMLIBS to be specified with something like: LLVMLIBS = config --libs jit instead of: LLVMLIBS = JIT with the same effect. However, the llvm-config utility is much more versatile than the single keyword approach. Note that "config" is the keyword after which any arguments to llvm-config are allowed. When llvm-config is tested and working well, we'll start using this and drop support for the JIT keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27057 91177308-0d34-0410-b5e6-96231b3b80d8
* These changes are necessary to support the new llvm-config tool. llvm-configReid Spencer2006-03-221-14/+20
| | | | | | | | | | is a handy tool for users of LLVM who want to be able to quickly get information about LLVM's configuration. It is intended to be used in the command line of other tools. Documentation will be forthcoming in a subsequent patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26952 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable assertions to be enabled in release builds by building withChris Lattner2006-03-211-11/+21
| | | | | | | make ENABLE_OPTIMIZED=1 ENABLE_ASSERTIONS=1 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26914 91177308-0d34-0410-b5e6-96231b3b80d8
* reorder these to make it work with static librariesChris Lattner2006-03-101-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26698 91177308-0d34-0410-b5e6-96231b3b80d8
* Use $(Verb) instead of @ so that VERBOSE=1 will print these.Chris Lattner2006-03-091-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26626 91177308-0d34-0410-b5e6-96231b3b80d8
* pass -Illvm/include to tblgenChris Lattner2006-03-031-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26489 91177308-0d34-0410-b5e6-96231b3b80d8
* 8 spaces -> tab. Reported by Wink SavilleChris Lattner2006-02-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26425 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a minor makefile bug with lex/yacc handling that nate noticed. We don'tChris Lattner2006-02-161-2/+2
| | | | | | | | | want to copy the files when the .cpp file changes, we want to copy them to the .cvs versions when the .l/.y file change (like the comments even say). This avoids having bogus changes show up in diffs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26229 91177308-0d34-0410-b5e6-96231b3b80d8
* bugfixesChris Lattner2006-02-151-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26207 91177308-0d34-0410-b5e6-96231b3b80d8
* Convert the bison-output-checked-into-cvs makefile handling stuff to workChris Lattner2006-02-151-3/+16
| | | | | | | | like the flex stuff, which actually works when people do cvs updates and get conflicts in the updated checked in file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26205 91177308-0d34-0410-b5e6-96231b3b80d8
* HP aCC (and a bunch of other compilers, no doubt) don't shareDuraid Madina2006-02-151-0/+5
| | | | | | | | | GCC's syntax for auto-dependency generation stuff. This should be changed to be disabling dependency stuff unless GCC/ICC is found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26201 91177308-0d34-0410-b5e6-96231b3b80d8
* oops, I meant thisDuraid Madina2006-02-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26200 91177308-0d34-0410-b5e6-96231b3b80d8