summaryrefslogtreecommitdiff
path: root/Makefile.rules
Commit message (Collapse)AuthorAge
* * 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
* Add phony target "bytecode" to ensure that it works in recursive makes.Vikram S. Adve2003-07-10
| | | | 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-10
| | | | | | | 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-07
| | | | | | | 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-01
| | | | | | | | 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-30
| | | | | | | 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-27
| | | | 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-20
| | | | 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-20
| | | | | | | 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-20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6798 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove extra lineChris Lattner2003-06-18
| | | | 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-16
| | | | | | | | | | 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-11
| | | | | | | | | | | 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
* Added configurable options for the Linker and Archiver.John Criswell2003-05-30
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6432 91177308-0d34-0410-b5e6-96231b3b80d8
* Added documentation for the project optionsDinakar Dhurjati2003-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6418 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of extraneous ""sChris Lattner2003-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6416 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a path to the current version of the built TableGen.Misha Brukman2003-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6409 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed configuration options that are better served in Makefile.config.John Criswell2003-05-29
| | | | | | | | Fixed the LibInstDir macro. Added the use of the FLEX variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6405 91177308-0d34-0410-b5e6-96231b3b80d8
* Added project options to the Makefile.commonDinakar Dhurjati2003-05-29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6402 91177308-0d34-0410-b5e6-96231b3b80d8
* Add facilities for building source that is outside of the current directoryChris Lattner2003-05-15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6238 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix several bugs in the build system, including the use of the Debug version ↵Chris Lattner2003-03-14
| | | | | | 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-19
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5600 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix profile buildsChris Lattner2003-02-13
| | | | 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-12
| | | | 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-31
| | | | 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-23
| | | | 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-22
| | | | 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-16
| | | | | | | 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-16
| | | | 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-16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5332 91177308-0d34-0410-b5e6-96231b3b80d8