aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* Fix several bugs in the build system, including the use of the Debug version ↵Chris Lattner2003-03-141-52/+25
| | | | | | of Burg no matter what configuration is currently configured. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5744 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix warnings compiling C filesChris Lattner2003-02-191-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5600 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix profile buildsChris Lattner2003-02-131-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5551 91177308-0d34-0410-b5e6-96231b3b80d8
* Add -fomit-frame-pointer when optimizingChris Lattner2003-02-121-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5547 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix strip issue Joel ran intoChris Lattner2003-01-311-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5449 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problem with flex scanners and huge token sizesChris Lattner2003-01-231-1/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5410 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix lli build problem with parallel makesChris Lattner2003-01-221-4/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5396 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify and correct rules for building lex/yacc files. Make sure to deleteChris Lattner2003-01-161-4/+14
| | | | | | | output upon make clean git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5347 91177308-0d34-0410-b5e6-96231b3b80d8
* Add helperChris Lattner2003-01-161-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5342 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for a recursive test targetChris Lattner2003-01-161-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5332 91177308-0d34-0410-b5e6-96231b3b80d8
* Use -Wl,-x instead of -s: it is more portable, and in particular,Vikram S. Adve2002-12-161-4/+4
| | | | | | | | is needed on BSD (MacOS). Also, use -Ldir instead of -L dir on the link line. Same reason... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5068 91177308-0d34-0410-b5e6-96231b3b80d8
* On `make clean', kill the core files produced, which are of the form:Misha Brukman2002-12-041-1/+1
| | | | | | | | core.### where ### is the process ID. We use core.[0-9][0-9]* to avoid killing core.c, core.cpp, and core.h files which may be part of benchmarks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4913 91177308-0d34-0410-b5e6-96231b3b80d8
* Generalize ExportSymbols into PLATFORMLINKOPTSChris Lattner2002-11-041-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4542 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't link tools with -g objects!Chris Lattner2002-10-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4370 91177308-0d34-0410-b5e6-96231b3b80d8
* Patch submited by Casey to remove obnoxious warnings.Chris Lattner2002-10-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4278 91177308-0d34-0410-b5e6-96231b3b80d8
* Disable optimization that doesn't apply to CChris Lattner2002-10-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4264 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix misspelled variableChris Lattner2002-10-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4262 91177308-0d34-0410-b5e6-96231b3b80d8
* Warn when we are linking an executable without symbols.Vikram S. Adve2002-10-201-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4236 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove outdated line which of course cvs merging never detects...Vikram S. Adve2002-10-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4175 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the Source variable to be overridden completely if needed.Vikram S. Adve2002-10-141-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4172 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to print message when linking a debug .o fileChris Lattner2002-09-251-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3918 91177308-0d34-0410-b5e6-96231b3b80d8
* * Minor fixes to support C files.Chris Lattner2002-09-221-9/+22
| | | | | | | | * Build burg as a utility now, change its location * Clean up other rules git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3876 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix yet another profile linking issue.Vikram S. Adve2002-09-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3865 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix link error for profile version. Also, build Burg differentlyVikram S. Adve2002-09-201-4/+4
| | | | | | | for different architectures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3862 91177308-0d34-0410-b5e6-96231b3b80d8
* The ENABLE_PROFILING flag now builds the profiled libraries and executablesVikram S. Adve2002-09-201-22/+74
| | | | | | | | into a Profile/ directory to keep them separate from the Debug/ and Release/ versions. Also, it turns on ENABLE_OPTIMIZED automatically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3854 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the burg option out of Makefile.config into Makefile.common sinceChris Lattner2002-09-191-4/+8
| | | | | | | it no longer needs to be configured. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3828 91177308-0d34-0410-b5e6-96231b3b80d8
* Strip tools/Debug/ executables by default. Define KEEP_SYMBOLS toVikram S. Adve2002-09-181-1/+8
| | | | | | | turn off stripping for any executable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3812 91177308-0d34-0410-b5e6-96231b3b80d8
* corrected small bug, to handle when DIRS is not defined.Anand Shukla2002-09-181-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3810 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for the new PARALLEL_DIRS optionChris Lattner2002-09-181-7/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3807 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow the VERBOSE=1 option to turn on output of recursive make behaviorChris Lattner2002-09-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3796 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix parallel recursive make to build directories in orderChris Lattner2002-09-171-6/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3794 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment line of the makefileChris Lattner2002-09-161-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3770 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle whitespace in LIBRARYNAME gracefullyChris Lattner2002-09-161-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3769 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor platform specific makefile directives out into their own makefileChris Lattner2002-09-131-17/+12
| | | | | | | | | | fragments. This is gross, but having tons of confusing conditionals all throughout the build system seems worst. Credits got to Casey Carter for the idea. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3705 91177308-0d34-0410-b5e6-96231b3b80d8
* Link .so files correctly on either linux or solarisChris Lattner2002-09-131-5/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3703 91177308-0d34-0410-b5e6-96231b3b80d8
* Build with -D_GNU_SOURCE to enable gnu extensions in header filesChris Lattner2002-09-131-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3702 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to print a message when linking a toolChris Lattner2002-09-121-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3687 91177308-0d34-0410-b5e6-96231b3b80d8
* Compiling with "gmake" should produce less output. The compilation/linkingMisha Brukman2002-09-121-20/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | flags are always the same anyway, who wants to see so much text on the screen? Compiling with "gmake VERBOSE=1" should produce all the output you're used to. Basically it checks for VERBOSE being defined, and if it is, sets VERB appropriately. VERB is then prepended in a bunch of key places such that when VERB is "@", the command is not echoed, when VERB is not set to anything, it's as before. One thing I could not get rid of is "gmake[1]: Entering directory <blah>", but running "gmake -s" suppresses it all, and shows just the interesting stuff. Now output (when running "gmake -s" will look something like): <snip> ======= Linking target debug library ======= Compiling Writer.cpp Compiling getLLVMinfo.cpp Compiling as.cpp Compiling dis.cpp Compiling opt.cpp Compiling gccas.cpp <snip> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3686 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplified significantly by pulling out local configuration optionsVikram S. Adve2002-08-291-24/+13
| | | | | | | into Makefile.config. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3527 91177308-0d34-0410-b5e6-96231b3b80d8
* Factor out /shared/... path to simplify changing it.Vikram S. Adve2002-08-291-4/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3521 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix clean command to clean in /shared when that is used.Vikram S. Adve2002-08-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3449 91177308-0d34-0410-b5e6-96231b3b80d8
* Throw purify temporary files into /shared if we have it.Chris Lattner2002-08-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3365 91177308-0d34-0410-b5e6-96231b3b80d8
* - Makefile changes:Chris Lattner2002-08-121-27/+38
| | | | | | | | | | - Now build executables into /shared - New BUILD_ROOT_TOP variable which is basically = $(BUILD_ROOT)/$(LEVEL) but cleaner and works for llvm/test/* - Use := more in Makefile.common git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3291 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops, I accidentally broke the .d files. Fixed thuslyChris Lattner2002-08-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3272 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove some bogus dependencies on Depend/.dirChris Lattner2002-08-091-19/+35
| | | | | | | | * Build into the machine local /shared directory instead of using local Debug/Depend/Release directories git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3269 91177308-0d34-0410-b5e6-96231b3b80d8
* Comment options that may be enabledChris Lattner2002-08-031-1/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3237 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't build Debug/ versions when ENABLE_OPTIMIZED is on.Vikram S. Adve2002-08-021-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3216 91177308-0d34-0410-b5e6-96231b3b80d8
* Cleanup Makefile a bitChris Lattner2002-07-311-16/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3192 91177308-0d34-0410-b5e6-96231b3b80d8
* Changes to allow building lib/Target/Sparc the FIRST time.Chris Lattner2002-07-251-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3078 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow directories to specify that they want to be built as a shared object ↵Chris Lattner2002-07-231-0/+5
| | | | | | by default git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3027 91177308-0d34-0410-b5e6-96231b3b80d8