summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
...
* X86 doesn't actually use SelectionDAG yet.Chris Lattner2004-12-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18996 91177308-0d34-0410-b5e6-96231b3b80d8
* Some minor upgradesReid Spencer2004-12-16
| | | | | | | | | | | * 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-16
| | | | 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-16
| | | | | | | 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-16
| | | | | | | | | | | | | | | | 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-16
| | | | | | | | | | 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-16
| | | | | | | 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-16
| | | | | | | 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-16
| | | | | | | 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-15
| | | | 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-15
| | | | 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-14
| | | | | | | 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-13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18901 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm tool variables.Alkis Evlogimenos2004-12-13
| | | | 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-13
| | | | | | | 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-13
| | | | | | | | | 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-13
| | | | 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-13
| | | | | | | 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-10
| | | | 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-08
| | | | | | | | | 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-08
| | | | 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-08
| | | | 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-06
| | | | | | | 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-05
| | | | 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-05
| | | | 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-04
| | | | | | | | | | | | * 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-03
| | | | 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-03
| | | | 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-03
| | | | | | | 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-03
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18452 91177308-0d34-0410-b5e6-96231b3b80d8
* Quiet!Chris Lattner2004-12-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18437 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR466:Reid Spencer2004-12-02
| | | | | | | | | | | | 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-29
| | | | | | | 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-29
| | | | | | | | 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-29
| | | | 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-29
| | | | | | | | | | | | | * 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-23
| | | | | | | 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-18
| | | | | | | PR456. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17964 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR456:\Reid Spencer2004-11-18
| | | | | | | | | | | Tools and libraries will be built into $(BUILD_OBJ_ROOT)/$(BuildMode)/bin and \ $(BUILD_OBJ_ROOT)/$(BuildMode)/lib, respectively. Furthermore, the example \ programs will go in $(BUILD_OBJ_ROOT)/$(BuildMode)/examples to keep them \ separate from the tools and hopefully out of the PATH. Install targets \ have not changed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17953 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix PR458:Reid Spencer2004-11-17
| | | | | | | | | | * Don't include Makefile.rules in set of preconditions, it never has to be copied to objdir. * Enable the "update makefile first before executing targets" feature in gnu make by *not* using a full path to the Makefile in the rule. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17920 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a command for using llvm-ar correctly.Reid Spencer2004-11-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17753 91177308-0d34-0410-b5e6-96231b3b80d8
* * Clean up all the shared library output on uninstallReid Spencer2004-11-12
| | | | | | | | * Provide the correct set of input directories to the TAGS target * Provide a CTAGS target for building Vi style ctags files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17688 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement and document the TOOL_VERBOSE option that asks each tool invokedReid Spencer2004-11-08
| | | | | | | to be verbose about its actions too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17624 91177308-0d34-0410-b5e6-96231b3b80d8
* * New Recursive Target: clean-all. This target will recursively descend theReid Spencer2004-11-02
| | | | | | | | | | $(ObjDir) and clean out all build modes (Debug, Release, Profile) in addition to the normal "clean" rules. * Fix "clean" problems with Lex/Yacc so all files are remove properly. * Ensure errors from "rm" don't thwart the uninstall and clean targets. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17433 91177308-0d34-0410-b5e6-96231b3b80d8
* * New Recursive Target: clean-allReid Spencer2004-11-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17432 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate redundant variable definition. Rename Configuration -> BuildModeReid Spencer2004-11-01
| | | | | | | Make lex/yacc output cleaned only if in a directory that has those sources. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17391 91177308-0d34-0410-b5e6-96231b3b80d8
* When compiling a file, indicate what build it is forChris Lattner2004-11-01
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17388 91177308-0d34-0410-b5e6-96231b3b80d8
* Get the shared library extension right on all platforms, regardless of whatReid Spencer2004-10-31
| | | | | | | Chris wants on his platform. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17379 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix output for building shared libraries per Chris' requirementsReid Spencer2004-10-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17376 91177308-0d34-0410-b5e6-96231b3b80d8
* Actually use the correct variable name for building bytecode files.Reid Spencer2004-10-31
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17374 91177308-0d34-0410-b5e6-96231b3b80d8