aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
AgeCommit message (Collapse)Author
2012-12-07Makefile.common: Update a description, s/Source/SOURCES/ , according to ↵NAKAMURA Takumi
MakefileGuide.html#control-variables . git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169569 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-15[docs] Remove unsupported references to ExtraSource variable.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156857 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-09Removed trailing whitespace from Makefiles.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61991 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-29remove attributions from the rest of the llvm makefiles.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45416 91177308-0d34-0410-b5e6-96231b3b80d8
2005-02-14Update comments to reflect new variable names. Patch contributed byReid Spencer
Vladimir Merzliakov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20174 91177308-0d34-0410-b5e6-96231b3b80d8
2005-01-16Make this file capable of being used by both LLVM and its projectsReid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19588 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30No really, this is LLVM!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17352 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-24Standardize header comments of top-level Makefiles.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13143 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21Added LLVM copyright notice.John Criswell
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9319 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-06Checkin of autoconf-style object root.John Criswell
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
2003-08-29Slightly simplify make logicChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8211 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-28Start using `llvm-as' instead of `as'.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8193 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-27Refactor code slightly. Make code compiled with llvmgcc use the warning optionsChris Lattner
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
2003-08-23Fix typeoChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8069 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22Remove last remenants of cleandepsChris Lattner
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
2003-08-22Ugh, really fix it now... :(Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8047 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-22Fix computation of LLVM_OBJ_ROOT for non-projects :(Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8046 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21Include the top-level Makefile.config from the LLVM tree for projectsChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8035 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21Projects no longer need to specify LLVM_OBJ_ROOT. Also, for the prdirs ↵Chris Lattner
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
2003-08-21The word `dependence' and its derivatives have no `a'.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8028 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21Make the tags rule tolerate lack of one of the standard directoriesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8027 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-21* Remove cleandeps targetChris Lattner
* 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
2003-08-21fix dependencyChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8004 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-20Point to the correct cc1/cc1plus binariesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7997 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-20Modified the SUFFIXES pseudo targets so that we remove all default suffixesJohn Criswell
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
2003-08-18Add new cleandeps target, to allow easy cleaning out of .d filesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7954 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-15Remove extraneous ;'s, no functional changesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7902 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-15Add llvm tools to path of LLVMGCCChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7882 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-15Make sure to create the directory before we cram a .bc file into itChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7864 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-15Implement BYTECODE_LIBRARY supportChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7855 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-14Simplifications to Makefile.common, remove support for Purify since it wasChris Lattner
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
2003-08-12Merged in changes between PRE11_ROOT and LLVM_PRE111 (i.e. the beginning ofJohn Criswell
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
2003-08-06Makefile.common: Remove commented-out and duplicate rules.Brian Gaeke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7650 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-05Reverted back to using OR for cmp/mv operations for lex/yacc output.John Criswell
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
2003-08-05Switched from using diff to cmp for two reasons:John Criswell
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
2003-08-04Urg, do not print "foo has changed" messagesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7573 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-04While I'm looking at it, line up the SED linesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7572 91177308-0d34-0410-b5e6-96231b3b80d8
2003-08-04* Don't print out HOW we are running Flex unless in verbose mode. We alreadyChris Lattner
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
2003-07-31Modified the use of libtool so that we don't compile every file twice.John Criswell
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
2003-07-23Renamed libtool to mklib for your tab completion pleasure.John Criswell
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7255 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-16Marked some of the phony targets are PHONY. This will hopefully speedJohn Criswell
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
2003-07-14The word `separate' only has one `e'.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7174 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-10Add phony target "bytecode" to ensure that it works in recursive makes.Vikram S. Adve
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7147 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-10Move the space separator to where it really belongs: in the print statement, notMisha Brukman
in a variable assignment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7141 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-07Removed an extra slash that appears in the path name when these variables areMisha Brukman
combined with a '/' separating them. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7121 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01Renamed all of the LObj* variables (which represent libtool objects) to Obj*.John Criswell
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
2003-06-30Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell
system. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-27Added the OPTIONAL_DIRS variable for specifying optional directories to build.John Criswell
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6926 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-20Reverted back to revision 1.91.John Criswell
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6812 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-20Added a hack that takes the path relative to the home directory into accountJohn Criswell
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