aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.common
Commit message (Collapse)AuthorAgeFilesLines
* Update comments to reflect new variable names. Patch contributed byReid Spencer2005-02-141-5/+5
| | | | | | | Vladimir Merzliakov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20174 91177308-0d34-0410-b5e6-96231b3b80d8
* Make this file capable of being used by both LLVM and its projectsReid Spencer2005-01-161-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19588 91177308-0d34-0410-b5e6-96231b3b80d8
* No really, this is LLVM!Chris Lattner2004-10-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17352 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardize header comments of top-level Makefiles.Misha Brukman2004-04-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13143 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM copyright notice.John Criswell2003-10-211-0/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9319 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin of autoconf-style object root.John Criswell2003-09-061-793/+2
| | | | | | | | | | | | Moved Makefile.common to Makefile.rules. This makes project Makefiles easier to support, and allows for easier overriding of default configuration values that used to be in Makefile.common. Modified Makefile.config.in to determine paths for directories (like LLVM_SRC_ROOT) and to use the pwd binary as opposed to the shell builtin (this works better for symbolic links). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8377 91177308-0d34-0410-b5e6-96231b3b80d8
* Slightly simplify make logicChris Lattner2003-08-291-3/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8211 91177308-0d34-0410-b5e6-96231b3b80d8
* Start using `llvm-as' instead of `as'.Misha Brukman2003-08-281-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8193 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactor code slightly. Make code compiled with llvmgcc use the warning optionsChris Lattner2003-08-271-4/+5
| | | | | | | as well. Compile with -fshort-enums whether in debug or release mode, because it breaks the ABI git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8164 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix typeoChris Lattner2003-08-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8069 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove last remenants of cleandepsChris Lattner2003-08-221-3/+3
| | | | | | | Allow disabling generation of .d files for a whole directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8053 91177308-0d34-0410-b5e6-96231b3b80d8
* Ugh, really fix it now... :(Chris Lattner2003-08-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8047 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix computation of LLVM_OBJ_ROOT for non-projects :(Chris Lattner2003-08-221-7/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8046 91177308-0d34-0410-b5e6-96231b3b80d8
* Include the top-level Makefile.config from the LLVM tree for projectsChris Lattner2003-08-211-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8035 91177308-0d34-0410-b5e6-96231b3b80d8
* Projects no longer need to specify LLVM_OBJ_ROOT. Also, for the prdirs ↵Chris Lattner2003-08-211-13/+9
| | | | | | target, don't let make print out all of the echo commands before the echos get echo'd git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8034 91177308-0d34-0410-b5e6-96231b3b80d8
* The word `dependence' and its derivatives have no `a'.Misha Brukman2003-08-211-5/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8028 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the tags rule tolerate lack of one of the standard directoriesChris Lattner2003-08-211-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8027 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove cleandeps targetChris Lattner2003-08-211-10/+6
| | | | | | | * Implement much nicer .d files, as suggested by Casey Carter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8020 91177308-0d34-0410-b5e6-96231b3b80d8
* fix dependencyChris Lattner2003-08-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8004 91177308-0d34-0410-b5e6-96231b3b80d8
* Point to the correct cc1/cc1plus binariesChris Lattner2003-08-201-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7997 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified the SUFFIXES pseudo targets so that we remove all default suffixesJohn Criswell2003-08-201-8/+11
| | | | | | | | | | | | and explicitly declare all the ones we're using for LLVM. This quickly cancels many of GNU Make's implicit rules and reduces build time. The only caveat is that any new suffixes may need to be explictly added to the .SUFFIXES pseudo target. Removed the -only-static option as it is no longer used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7979 91177308-0d34-0410-b5e6-96231b3b80d8
* Add new cleandeps target, to allow easy cleaning out of .d filesChris Lattner2003-08-181-4/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7954 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extraneous ;'s, no functional changesChris Lattner2003-08-151-14/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7902 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llvm tools to path of LLVMGCCChris Lattner2003-08-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7882 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to create the directory before we cram a .bc file into itChris Lattner2003-08-151-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7864 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement BYTECODE_LIBRARY supportChris Lattner2003-08-151-10/+62
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7855 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplifications to Makefile.common, remove support for Purify since it wasChris Lattner2003-08-141-26/+15
| | | | | | | | broken by libtoolification anyways, and noone can use it because purify doesn't support the 64-bit sparc compilers even if it weren't broken! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7850 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in changes between PRE11_ROOT and LLVM_PRE111 (i.e. the beginning ofJohn Criswell2003-08-121-9/+5
| | | | | | | | | | | | | | the pre-release 1.1 branch and pre-release 1.1.1). Made the USE_SPEC option work. Silenced unnecessary error output from the cmp command when checking for updates to lex/yacc generated files. This fixes a problem where we get error messages the first time the file is generated. Fixed the distclean option. It is now in the Makefile (i.e. only runs in the top level source directory), removes more files, and plays nicely with external project Makefiles. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7780 91177308-0d34-0410-b5e6-96231b3b80d8
* Makefile.common: Remove commented-out and duplicate rules.Brian Gaeke2003-08-061-46/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7650 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverted back to using OR for cmp/mv operations for lex/yacc output.John Criswell2003-08-051-3/+3
| | | | | | | | The shell AND/OR operators short-circuit on command success/failure, which is the inverse of exit status (i.e. 0 means success, non-zero means failure). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7616 91177308-0d34-0410-b5e6-96231b3b80d8
* Switched from using diff to cmp for two reasons:John Criswell2003-08-051-3/+3
| | | | | | | | | o Not all versions of diff have the -q option o The cmp program is probably faster than diff Fixed the logic that only copies the file over if no differences are found. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7615 91177308-0d34-0410-b5e6-96231b3b80d8
* Urg, do not print "foo has changed" messagesChris Lattner2003-08-041-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7573 91177308-0d34-0410-b5e6-96231b3b80d8
* While I'm looking at it, line up the SED linesChris Lattner2003-08-041-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7572 91177308-0d34-0410-b5e6-96231b3b80d8
* * Don't print out HOW we are running Flex unless in verbose mode. We alreadyChris Lattner2003-08-041-4/+11
| | | | | | | | | | hide the bison command line. * If running flex or bison gives us the files we already have, don't overwrite the ones we have, which cause unnecessary compilation. I demand the ability to make meaningless changes without penalty! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7571 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified the use of libtool so that we don't compile every file twice.John Criswell2003-07-311-22/+44
| | | | | | | | This can be done using the disable-shared tag that comes with libtool. This change also required changing how .o libraries are linked. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7458 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed libtool to mklib for your tab completion pleasure.John Criswell2003-07-231-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7255 91177308-0d34-0410-b5e6-96231b3b80d8
* Marked some of the phony targets are PHONY. This will hopefully speedJohn Criswell2003-07-161-0/+7
| | | | | | | | up builds a little bit since it will prevent GNU make from matching these phony targets against implicit rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7183 91177308-0d34-0410-b5e6-96231b3b80d8
* The word `separate' only has one `e'.Misha Brukman2003-07-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7174 91177308-0d34-0410-b5e6-96231b3b80d8
* Add phony target "bytecode" to ensure that it works in recursive makes.Vikram S. Adve2003-07-101-7/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7147 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the space separator to where it really belongs: in the print statement, notMisha Brukman2003-07-101-2/+2
| | | | | | | in a variable assignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7141 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed an extra slash that appears in the path name when these variables areMisha Brukman2003-07-071-1/+1
| | | | | | | combined with a '/' separating them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7121 91177308-0d34-0410-b5e6-96231b3b80d8
* Renamed all of the LObj* variables (which represent libtool objects) to Obj*.John Criswell2003-07-011-28/+28
| | | | | | | | One of the test Makefiles uses the same variable names for something else, and this was probably interfering with it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7024 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-110/+301
| | | | | | | system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
* Added the OPTIONAL_DIRS variable for specifying optional directories to build.John Criswell2003-06-271-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6926 91177308-0d34-0410-b5e6-96231b3b80d8
* Reverted back to revision 1.91.John Criswell2003-06-201-22/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6812 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a hack that takes the path relative to the home directory into accountJohn Criswell2003-06-201-2/+22
| | | | | | | if a home directory is provided by the environment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6805 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix problem building optmized buildChris Lattner2003-06-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6798 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extra lineChris Lattner2003-06-181-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6773 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified the environment variables that determine where things are located toJohn Criswell2003-06-161-3/+3
| | | | | | | | | | do the following: 1) Determine their default values without $HOME 2) Configure the default values as full absolute pathnames. This should help fix the nightly test builds. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6719 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified Makefile.common to handle compilation of projects inside and outsideJohn Criswell2003-06-111-123/+159
| | | | | | | | | | | of the llvm source directory. The main modification was to add new environment variables: one set for llvm entities and another set for source entities current being compiled. This should make the Makefile more flexible and easier to understand as each environment variable only does one thing. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6679 91177308-0d34-0410-b5e6-96231b3b80d8