aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* Quote the paths and not the assignment of the PATH variable.John Criswell2005-01-031-2/+2
| | | | | | | This seems to make things happier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19276 91177308-0d34-0410-b5e6-96231b3b80d8
* Joining the quote fray...John Criswell2005-01-031-2/+2
| | | | | | | | | | Reverting the quote patch. For some reason, this breaks the building of llvm/runtime (the shell doesn't like it for some reason). I might play with it to see if I can get the quotes done in such a way that the shell like it, but no promises. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19275 91177308-0d34-0410-b5e6-96231b3b80d8
* Re-apply last (reverted) patch. Reverting doesn't solve the actual problemReid Spencer2005-01-031-2/+2
| | | | | | | and creates issues on other platforms like Cygwin and MingW. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19266 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't quote the PATH variable value just in case it has spaces in it, asJeff Cohen2005-01-031-2/+2
| | | | | | | it breaks "gmake check". git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19265 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid use of -fomit-frame-pointer on FreeBSD platforms. It causes thrownReid Spencer2005-01-021-3/+8
| | | | | | | | | | exceptions to abort() in cases where it should not. Many thanks to Duraid Madina for doing the heavy lifting on the analysis of this problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19256 91177308-0d34-0410-b5e6-96231b3b80d8
* Quote the PATH variable value just in case it has spaces in it (like onReid Spencer2005-01-021-2/+2
| | | | | | | Cygwin). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19255 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct the name of the variable for the LLVM examples directory so thatReid Spencer2004-12-281-1/+1
| | | | | | | parallel builds don't attempt to create it twice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19171 91177308-0d34-0410-b5e6-96231b3b80d8
* Make it possible to reconfigure a project as well as just LLVM main dir.Reid Spencer2004-12-271-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19164 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure llvm-g++ gets the right path for the llvm tools.Reid Spencer2004-12-241-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19138 91177308-0d34-0410-b5e6-96231b3b80d8
* Two corrections:Reid Spencer2004-12-241-1/+7
| | | | | | | | | | | * When reconfiguring, make sure the config.cache file is blown away so that its (old) values don't short-circuit doing the tests. When a reconfigure is done, it should be done from scratch, without the cache. * For dist-check, don't pass --with-llvmgccdir any more because configure doesn't have this option any more. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19126 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR432:Reid Spencer2004-12-221-9/+7
| | | | | | | | | | * Cleanup LLVMGCXX and LLVMGCC by providing LLVMGXXWITHPATH and LLVMGCCWITHPATH variables that add the $(LLVMToolDir) to the path so the CFE tools can find the right LLVM tools they depend on. * Standardize the name of a variable: cferuntime_libdir -> CFERuntimeLibDir git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19095 91177308-0d34-0410-b5e6-96231b3b80d8
* Complete the implementation of the spotless rule and make it not depend onReid Spencer2004-12-171-6/+12
| | | | | | | the .. directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19012 91177308-0d34-0410-b5e6-96231b3b80d8
* X86 doesn't actually use SelectionDAG yet.Chris Lattner2004-12-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18996 91177308-0d34-0410-b5e6-96231b3b80d8
* Some minor upgradesReid Spencer2004-12-161-13/+19
| | | | | | | | | | | * Convert "cmp" usage to $(CMP) * Convert "cp" usage to $(CP) * Fix some build messages to reflect what's actually going on * Add a "reconfigure" target for forcing a reconfigure. Helps with testing things like Chris's recent changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18991 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor all of the .inc : .inc.tmp rules into one.Chris Lattner2004-12-161-38/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18989 91177308-0d34-0410-b5e6-96231b3b80d8
* Add spaces between rule groups to make it more obvious which ones pairChris Lattner2004-12-161-22/+10
| | | | | | | Remove instrselector generation, remove Intel/ATT specifics from Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18988 91177308-0d34-0410-b5e6-96231b3b80d8
* When tblgen changes, regenerate all .inc files, but do not rebuild any .oChris Lattner2004-12-161-23/+78
| | | | | | | | | | | | | | | | files that USE the .inc file unless the contents of the .inc file changes. This should fix the problem where reconfiguring causes all targets to be completely rebuilt (because config.h is usually modified, causing libsystem to be rebuilt, causing tblgen to be rebuilt, causing .inc files to be rebuilt, causing .o files to be rebuilt). This patch also checks in a gross hack where .o files now explicitly depend on $(BUILT_SOURCES), to avoid problems where the .inc files are not completely generated before the .o files start to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18986 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a "make spotless" rule for environments with BUILD_OBJ_ROOT not equalReid Spencer2004-12-161-0/+15
| | | | | | | | | | to BUILD_OBJ_SRC. This will save the config.status and mklib files, then wipe out the BUILD_OBJ_ROOT, copy back config.status and mklib, and then run config.status to regenerate the makefiles. This target gives you a completely clean/fresh BUILD_OBJ_ROOT. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18981 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of extraneous dependencies on $(BUILT_SOURCES) now that we've fixedReid Spencer2004-12-161-6/+6
| | | | | | | the bug with BUILT_SOURCES being dependencies of the user targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18980 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a major bug with BUILT_SOURCES. You actually have to dereference aReid Spencer2004-12-161-1/+1
| | | | | | | variable before you can filter its value. Duh! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18979 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert last patch which breaks PowerPC target because it fails to buildReid Spencer2004-12-161-10/+10
| | | | | | | the 32bit and 64bit variants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18978 91177308-0d34-0410-b5e6-96231b3b80d8
* Make %'s a bit more explicitChris Lattner2004-12-151-10/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18975 91177308-0d34-0410-b5e6-96231b3b80d8
* Make archive rules properly depend on llvm-ar.Chris Lattner2004-12-151-2/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18963 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the default install directory of modules from / to $(libdir) !Reid Spencer2004-12-141-1/+1
| | | | | | | Many thanks to Vladimir Merzliakov for pointing this out! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18942 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typo.Alkis Evlogimenos2004-12-131-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18901 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm tool variables.Alkis Evlogimenos2004-12-131-0/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18897 91177308-0d34-0410-b5e6-96231b3b80d8
* Finish the implementation of the BYTECODE_DESTINATION feature for modulesReid Spencer2004-12-131-5/+11
| | | | | | | too and getting rid of the last remnants of bytecode_libdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18880 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement a new feature, BYTECODE_DESTINATION, to allow a user makefile toReid Spencer2004-12-131-2/+8
| | | | | | | | | specify where the bytecode library is to be installed. This allows the default location ($prefix/lib) to be overridden, for special case runtime libraries like the cfe runtime libs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18879 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure the archive doesn't have to exist before we remove it.Reid Spencer2004-12-131-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18873 91177308-0d34-0410-b5e6-96231b3b80d8
* Always remove bytecode archives so that path mismatches don't cause theReid Spencer2004-12-131-0/+2
| | | | | | | contents to not be updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18872 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix output for Flexing to not print full path of source.Reid Spencer2004-12-101-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18769 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the LLVM_DO_NOT_BUILD feature. If a file of that name isReid Spencer2004-12-081-5/+12
| | | | | | | | | present in a directory that LLVM normally builds, it will skip building the directory entirely. This is useful for allowing a bunch of projects to live in the source tree but not be compiled from time to time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18671 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove -Woverloaded-virtual usage that was committed by accident.Reid Spencer2004-12-081-6/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18615 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove variables that are not used by any of the LLVM makefilesReid Spencer2004-12-081-7/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18614 91177308-0d34-0410-b5e6-96231b3b80d8
* Add the check target so all projects can have thisReid Spencer2004-12-061-4/+21
| | | | | | | functionality. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18566 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide a variable to compute where the libstdc++.a isReid Spencer2004-12-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18544 91177308-0d34-0410-b5e6-96231b3b80d8
* Add ability to make a single bytecode module from othersReid Spencer2004-12-051-0/+43
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18523 91177308-0d34-0410-b5e6-96231b3b80d8
* Getting dist-check to work:\Reid Spencer2004-12-041-45/+70
| | | | | | | | | | | | * Implement the FAKE_SOURCES feature for GCCLibraries/crtend \ * Search for distribution files >first< in srcdir and >second< in objdir \ * Make dist-hook only run in top level directory. \ * Make dist-check run correctly in parallel builds \ * Wrap lines to 80 cols \ * Standardize variable names git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18504 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove all recursive check support from Makefile.rulesChris Lattner2004-12-031-4/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18470 91177308-0d34-0410-b5e6-96231b3b80d8
* 'make check' at the top level shouldn't recurse through the sourcedirsChris Lattner2004-12-031-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18463 91177308-0d34-0410-b5e6-96231b3b80d8
* Resurrect the install-bytecode target for installing just the bytecodeReid Spencer2004-12-031-6/+8
| | | | | | | libraries to the CFE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18462 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass -strip-debug to gccas when bytecode libraries are being built.Reid Spencer2004-12-031-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18452 91177308-0d34-0410-b5e6-96231b3b80d8
* Quiet!Chris Lattner2004-12-021-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18437 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR466:Reid Spencer2004-12-021-24/+27
| | | | | | | | | | | | Change construction of bytecode libraries from producing a single bytecode file to producing a library containing bytecode files. This gets around the problem of multiple symbol definitions in the linker if something like -lc -lc is attempted on the command line. Previously this happened because the linker would find libc.bc as a "library". It will now find libc.a which it can simply search for missing symbols instead of linking in wholesale. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18425 91177308-0d34-0410-b5e6-96231b3b80d8
* Make built bytecode libraries depend on gccas/gccld as appropriate. ThisChris Lattner2004-11-291-5/+8
| | | | | | | should fix the stale runtime libraries problem. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18361 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow reconfig from any directory, not just the top build directory, byReid Spencer2004-11-291-2/+3
| | | | | | | | changing directory first. Also make sure that we don't attempt to run config.status if the recheck didn't work. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18351 91177308-0d34-0410-b5e6-96231b3b80d8
* Incorporate tools/Makefile.JITReid Spencer2004-11-291-0/+57
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18332 91177308-0d34-0410-b5e6-96231b3b80d8
* * Allow date command to be printed in verbose modeReid Spencer2004-11-291-17/+8
| | | | | | | | | | | | | * Get rid of appending -lbz2 and -lz to ExtraLibs now that we don't need them any more. * Fix the dist-check target so that EXTRA_DIST can be defined AFTER the include of Makefile.common. This is needed because Makefile.common provides variable definitions that may need to be used in computing the value of EXTRA_DIST. * Clean up some "distdir" target output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18329 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow configuration files to be themselves configured and found in theReid Spencer2004-11-231-1/+7
| | | | | | | OBJ dir instead of only in the SRC dir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18143 91177308-0d34-0410-b5e6-96231b3b80d8
* Duh, put tools in *bin* directory, not *tools* directory as perReid Spencer2004-11-181-2/+2
| | | | | | | PR456. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17964 91177308-0d34-0410-b5e6-96231b3b80d8