summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* When linking the runtime libraries, do not link -lc and -lgcc into the librariesChris Lattner2003-10-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9339 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM copyright notice.John Criswell2003-10-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9319 91177308-0d34-0410-b5e6-96231b3b80d8
* Added autoconf support for the sample project.John Criswell2003-10-16
| | | | | | | | | Fixed the header comment in Makefile.rules Changed all references to the echo program in Makefile.rules to the value found by autoconf. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9151 91177308-0d34-0410-b5e6-96231b3b80d8
* Print out just the filename being compiled/linked, not the full path to it.Misha Brukman2003-10-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9018 91177308-0d34-0410-b5e6-96231b3b80d8
* Make the message stand out moreChris Lattner2003-10-10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9004 91177308-0d34-0410-b5e6-96231b3b80d8
* Depend on config.status instead of config.h, because config.h timestamp may notMisha Brukman2003-10-07
| | | | | | | change even though configure changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8923 91177308-0d34-0410-b5e6-96231b3b80d8
* Added targets that force users to re-run autoconf when the script has beenJohn Criswell2003-10-07
| | | | | | | updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8921 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed the conditional targets for postscript files and tags.John Criswell2003-10-02
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8823 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed the empty rule for .h files. The rule needs an empty command so thatJohn Criswell2003-09-18
| | | | | | | | Make actually uses it to "regenerate" header files that have been moved/removed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8600 91177308-0d34-0410-b5e6-96231b3b80d8
* Put llvm .bc files into the BytecodeObj subdirectory instead of the BytecodeChris Lattner2003-09-15
| | | | | | | subdirectory. This prevents the 'make clean' rule from removing lib/Bytecode git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8550 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow specifying a file with symbols to exportChris Lattner2003-09-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8531 91177308-0d34-0410-b5e6-96231b3b80d8
* Wrap long lines at 80 colsChris Lattner2003-09-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8512 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to #include the OBJROOT config.h file, not the SRCROOT config.h file!Chris Lattner2003-09-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8511 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed SPEC so that it would run correctly with the new autoconf-style objectJohn Criswell2003-09-11
| | | | | | | | | | | directory. Added Makefile.spec to the list of files to copy to the object directory. Moved the configuration of $SourceDir to Makefile.config and corrected the conditional that surrounds it. This allows SPEC to reset it and get the correct VPATH. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8475 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed the aposthrophes endings and the elipses suffixes from build output.John Criswell2003-09-11
| | | | | | | | This makes the output more consistent, and I just find aposthrophes annoying. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8465 91177308-0d34-0410-b5e6-96231b3b80d8
* Avoid dumping runtime library bytecode files into lib/Bytecode if buildingChris Lattner2003-09-10
| | | | | | | into the source directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8450 91177308-0d34-0410-b5e6-96231b3b80d8
* Updated to find source files using VPATH. This makes writing build rulesJohn Criswell2003-09-09
| | | | | | | | | | | | much cleaner and easier. Labeled .td as a suffix for tblgen files in Makefile.rules. Modified build rules so that source files generated during the build are placed in the build directory and not the source directory (and not in a Debug directory). This makes the system cleaner and allows us to have a read-only source tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8424 91177308-0d34-0410-b5e6-96231b3b80d8
* Checkin of autoconf-style object root.John Criswell2003-09-06
| | | | | | | | | | | | 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-29
| | | | 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-28
| | | | 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-27
| | | | | | | 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-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8069 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove last remenants of cleandepsChris Lattner2003-08-22
| | | | | | | 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-22
| | | | 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-22
| | | | 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-21
| | | | 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-21
| | | | | | 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-21
| | | | 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-21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8027 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove cleandeps targetChris Lattner2003-08-21
| | | | | | | * 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-21
| | | | 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-20
| | | | 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-20
| | | | | | | | | | | | 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-18
| | | | 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-15
| | | | 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-15
| | | | 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-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7864 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement BYTECODE_LIBRARY supportChris Lattner2003-08-15
| | | | 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-14
| | | | | | | | 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-12
| | | | | | | | | | | | | | 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-06
| | | | 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-05
| | | | | | | | 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-05
| | | | | | | | | 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-04
| | | | 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-04
| | | | 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-04
| | | | | | | | | | 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-31
| | | | | | | | 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-23
| | | | 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-16
| | | | | | | | 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-14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7174 91177308-0d34-0410-b5e6-96231b3b80d8