aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
...
* * New Recursive Target: clean-allReid Spencer2004-11-021-11/+19
| | | | 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-011-50/+44
| | | | | | | 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-011-14/+19
| | | | 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-311-1/+1
| | | | | | | 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-311-1/+1
| | | | 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-311-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17374 91177308-0d34-0410-b5e6-96231b3b80d8
* Internalize variable names to prevent recursive assignment. Cleanup docs.Reid Spencer2004-10-301-414/+493
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't modify user vars because they will get passed down (modified) toReid Spencer2004-10-291-42/+47
| | | | | | | | | | | sub-makes and recursively append causing huge command lines and incorrect compilation results. Also, fix the printvars target to align its output and ensure that the contents of variables can't get interpreted by the shell. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17348 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the list of automatic Makefile* files updated explicit instead ofReid Spencer2004-10-291-2/+2
| | | | | | | generally wildcarded. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17334 91177308-0d34-0410-b5e6-96231b3b80d8
* This line breaks FreeBSD and apparently isn't useful anymore.Chris Lattner2004-10-291-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17332 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug Fixes:Reid Spencer2004-10-281-49/+34
| | | | | | | | | | | * Move rules that build directories earlier in the file so that they are always built before the things that depend on them. This enables a parallel "dist-check" target. * Fix use of TOOLLINKOPTS and TOOLLINKOPTSB (thanks to Henrik Bach) * Standardize the output - some scripts using plain echo instead of $(ECHO) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17318 91177308-0d34-0410-b5e6-96231b3b80d8
* Make parallel "install" and "uninstall" targets not step on itself.Reid Spencer2004-10-281-47/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17315 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug Fixes:Reid Spencer2004-10-281-9/+7
| | | | | | | | | | | | * Ensure that BUILT_SOURCES depends on OBJ_DIR/Makefile so that they do not get built before the Makefile is updated. * Fix build script for yacc & lex files by stopping it from thwarting the dependencies on the file. If the .y file changes, it needs to be rebuilt. This also cleans up the problem with llvmAsmParser ALWAYS rebuilding its Yacc files just to throw them away because there's no change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17288 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix auto-reconfigure bug: make sure we actually reconfigure not justReid Spencer2004-10-271-0/+1
| | | | | | | regenerate the config.status script. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17283 91177308-0d34-0410-b5e6-96231b3b80d8
* Get the *.inc files to depend on tblgen so if tblgen gets fixed, all theReid Spencer2004-10-271-3/+4
| | | | | | | *.inc files get regenerated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17273 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that Makefile.rules and Makefile.config.in are not candidates forReid Spencer2004-10-261-8/+10
| | | | | | | automatic makefile update. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17269 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup/Fixes:Reid Spencer2004-10-261-71/+99
| | | | | | | | | | * Force preconditions to be met FIRST * Fix dist-check dependency * Add some variables to the printvars target * Automatically update Makefile.* as well as just Makefile git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17268 91177308-0d34-0410-b5e6-96231b3b80d8
* Unless someone seriously objects, I don't think we really need this. SorryChris Lattner2004-10-261-8/+0
| | | | | | | resistor :( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17265 91177308-0d34-0410-b5e6-96231b3b80d8
* * Implement the "dist-check" target that verifies the contents of a zippedReid Spencer2004-10-261-82/+138
| | | | | | | | | | | | | | tarball. * Fix bugs in the "dist" target (a precursor to dist-check). * Correct the implementation of the "install" targets so that they ensure the installation directories are created before attmpting to install directories in them. * Reduce the verbosity of the output of the makefile system * Ensure output includes the configuration whenever libraries or tools are built, installed, or uninstalled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17250 91177308-0d34-0410-b5e6-96231b3b80d8
* Give a useful hintChris Lattner2004-10-261-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17232 91177308-0d34-0410-b5e6-96231b3b80d8
* New Makefile Features:Reid Spencer2004-10-251-57/+180
| | | | | | | | | | | | | | | | | | | | | | * "dist" target now builds tar.gz, tar.bz2, and zip files suitable for distribution. "dist" can only be run from $(BUILD_OBJ_ROOT) and implies a "check". * made the preconditions not do a recursive make and ensured that they are executed sequentially. * made the messages output by the makefile be prefixed with "llvm" and the make level (e.g. llvm[1]: ) in the same way that make does so that the messages are uniform and more readable. * Fixed the tags target so that tags depends on TAGS which contains the rules to build a file named TAGS * Implemented the EXTRA_DIST feature in a few directories to make sure it works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17210 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix uninstall from rebuilding everything (wrong dependency)Reid Spencer2004-10-241-20/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17204 91177308-0d34-0410-b5e6-96231b3b80d8
* Implemented New Features:Reid Spencer2004-10-241-37/+180
| | | | | | | | | | | | | | | * Fixed the install target to install files correctly * Implemented the uninstall target to remove files from install dirs * Isolated the top level targets (dist, dist-check, dist-clean, tags) so they only run/exist from the top level directory * Put if/endif gaurds around potentially dangerous $(RM) commands. * Implemented place-holder rules for distribution targets to just say that they aren't implemented yet. * Implemented tags target in Makefile.rules so all projects can use it * Made a pony for resistor git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17202 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the $(OBJDIR) go away on clean-local.Reid Spencer2004-10-241-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17197 91177308-0d34-0410-b5e6-96231b3b80d8
* Several Changes:Reid Spencer2004-10-231-241/+239
| | | | | | | | | | | | | | | | | | | | * Fix parallel build problem on generated dependency files * Fix rule confusion between .a and .la libraries so that parallel builds don't get confused on who is building which .o and which library it is going into. * Fix dependency inclusion to only include C/C++ dependency files because other types of sources won't have dependencies auto generated. * Change "Source" to "SOURCES" for naming consistency * Update parallel build rules for new recursive targets * Implement EXPERIMENTAL_DIRS (failure allowed) feature * Implement -local version of targets (all-local, clean-local, etc) * Implement recursive targets in terms of their local counterparts * Clarify names of some internal variables * Move documentation to docs/MakefileGuide.html * Clean up commentary git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17192 91177308-0d34-0410-b5e6-96231b3b80d8
* * Actually ignore build errors in optional directoriesReid Spencer2004-10-231-4/+4
| | | | | | | | | * Use LLVM_SRC_ROOT as the anchor for the Target.td file * Use MFLAGS instead of MAKEFLAGS for recursive makes so we don't try to build a target "w" or "s" mysteriously. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17186 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that we don't set up a circular dependency if OBJDIR == SRCDIRReid Spencer2004-10-221-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17172 91177308-0d34-0410-b5e6-96231b3b80d8
* Pull in Target.td using absolute path from source root instead of relative path;Misha Brukman2004-10-221-1/+1
| | | | | | | | this allows us to have sub-targets whose depth in the tree is not the same as it is for the standard X86/PowerPC/Sparc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17170 91177308-0d34-0410-b5e6-96231b3b80d8
* Shorten the rules, speed it up, correct library contruction, add *.td rulesReid Spencer2004-10-221-539/+421
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17166 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix grammarMisha Brukman2004-10-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16910 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't add libz or libbz2 to the USEDLIBS lists, those are for LLVM libraries.Chris Lattner2004-10-071-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16798 91177308-0d34-0410-b5e6-96231b3b80d8
* Provide support for auto-detection and use of compression libraries.Reid Spencer2004-10-041-6/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16643 91177308-0d34-0410-b5e6-96231b3b80d8
* Corrected spelling of Makefile variable, thereby re-enabling profileJohn Criswell2004-09-281-1/+1
| | | | | | | builds for projects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16540 91177308-0d34-0410-b5e6-96231b3b80d8
* Missed one $*.a -> $@ conversion for the Release build.Reid Spencer2004-09-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16494 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct the rules for making shared libraries per libtool 1.5.10Reid Spencer2004-09-231-9/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16489 91177308-0d34-0410-b5e6-96231b3b80d8
* libtool's name is now back to mklib.Reid Spencer2004-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16423 91177308-0d34-0410-b5e6-96231b3b80d8
* Add dependencies so that project tools are recompiled if LLVM librariesJohn Criswell2004-09-161-3/+8
| | | | | | | are updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16378 91177308-0d34-0410-b5e6-96231b3b80d8
* Use libtool, not mklib (which somehow doesn't get generated anymore)Brian Gaeke2004-09-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16243 91177308-0d34-0410-b5e6-96231b3b80d8
* Add LLVMC as a supported tool.Reid Spencer2004-09-051-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16183 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of an un-needed and un-used GCCism. ATTR_DEPRECATED is used nowhereReid Spencer2004-09-031-3/+0
| | | | | | | in the LLVM source base. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16162 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove even the slightest chance of a race condition occurring :)Reid Spencer2004-08-201-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15951 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a set of rules for installing configuration files. You can now sayReid Spencer2004-08-201-0/+16
| | | | | | | | | CONFIG_FILES=a b c in a Makefile and when you "make install" the files a b and c will get installed into the $prefix/etc directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15948 91177308-0d34-0410-b5e6-96231b3b80d8
* * Uncomment rule for location of LLI (formerly commented out: typo?)Misha Brukman2004-07-211-10/+11
| | | | | | | * Add space between VAR and `=' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15074 91177308-0d34-0410-b5e6-96231b3b80d8
* Move LLVM tool definitions to Makefile.rulesBrian Gaeke2004-07-211-2/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15049 91177308-0d34-0410-b5e6-96231b3b80d8
* Really, it is not necessary to recompile all files in a profile build everyChris Lattner2004-07-081-0/+1
| | | | | | | time! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14680 91177308-0d34-0410-b5e6-96231b3b80d8
* Explicitly specify libtool tag "CXX" so that if you setenv CXX to somethingBrian Gaeke2004-06-081-3/+3
| | | | | | | | libtool can't parse, e.g., "/path/to/g++ -some-funny-options", then it will still be able to compile and link. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14072 91177308-0d34-0410-b5e6-96231b3b80d8
* Make tool names end with .exe on windows. This isn't needed to run theChris Lattner2004-06-011-4/+4
| | | | | | | | | tools, but is required for rules that depend on the executables, e.g.: a: b $(LLVMAS) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13926 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass the Makefile flags to recursive makes in {PARALLEL,OPTIONAL}_DIRS targets.Misha Brukman2004-05-211-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13623 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass given flags on to recursive sub-makes.Misha Brukman2004-05-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13616 91177308-0d34-0410-b5e6-96231b3b80d8
* Change DEPRECATED macro to ATTR_DEPRECATED as this conflicts with someAlkis Evlogimenos2004-05-201-1/+1
| | | | | | | java constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13611 91177308-0d34-0410-b5e6-96231b3b80d8