aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
* Define DEPRECATED so that it can be used in function and variableAlkis Evlogimenos2004-02-131-0/+3
| | | | | | | declarations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11391 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug in installation process: MKDIR must respect DESTDIR.Brian Gaeke2004-02-091-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11236 91177308-0d34-0410-b5e6-96231b3b80d8
* Always replace instead of appending when creating archive files. It may beBrian Gaeke2004-02-041-1/+1
| | | | | | | | slightly slower, but I think we can handle it, especially if it means BytecodeLibs are correctly regenerated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11122 91177308-0d34-0410-b5e6-96231b3b80d8
* Move bytecode_libdir def'n to Makefile.config.in from Makefile.rules, so itBrian Gaeke2004-01-221-4/+5
| | | | | | | | | lives near the other installation dirs (like libdir, bindir, etc.). Move the rule for making bytecode_libdir out of the ifdef LIBRARYNAME...endif. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10964 91177308-0d34-0410-b5e6-96231b3b80d8
* Move support for building tags database from Makefile.rules to Makefile, becauseBrian Gaeke2004-01-221-17/+0
| | | | | | | it's only used in the top-level directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10960 91177308-0d34-0410-b5e6-96231b3b80d8
* Give the ".../llvm-gcc/bytecode-libs" directory a variable of its own,Brian Gaeke2004-01-211-2/+6
| | | | | | | | | called bytecode_libdir. Make install-bytecode-library depend on the existence of that directory, and add a rule for creating it if it does not exist by calling mkinstalldirs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10946 91177308-0d34-0410-b5e6-96231b3b80d8
* Add DESTDIR support for installation, to support RPM etc.Brian Gaeke2004-01-211-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10940 91177308-0d34-0410-b5e6-96231b3b80d8
* Maybe Misha isn't so buggy after all. He caught the rest of my huge thinkoBrian Gaeke2004-01-211-5/+5
| | | | | | | | | w.r.t. SHLIBEXT starting with a dot. :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10939 91177308-0d34-0410-b5e6-96231b3b80d8
* Remember, SHLIBEXT begins with a period.Brian Gaeke2004-01-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10936 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified version of patch from mkahl@apple.com to stop hardcoding ".so".Brian Gaeke2004-01-211-7/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10935 91177308-0d34-0410-b5e6-96231b3b80d8
* Take settings of LCC and LCC1XX from configure.Brian Gaeke2004-01-161-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10899 91177308-0d34-0410-b5e6-96231b3b80d8
* I'm fairly certain this was just a typo.Brian Gaeke2004-01-161-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10897 91177308-0d34-0410-b5e6-96231b3b80d8
* Allow C++ programs to end in .cc. This allows C++ test programs in theJohn Criswell2003-12-291-1/+2
| | | | | | | test suite to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10644 91177308-0d34-0410-b5e6-96231b3b80d8
* Add install target for libraries.Brian Gaeke2003-12-181-6/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10519 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for installing tool executables.Brian Gaeke2003-12-101-4/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10351 91177308-0d34-0410-b5e6-96231b3b80d8
* Stop using the -fshort-enum compile optionChris Lattner2003-12-061-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10296 91177308-0d34-0410-b5e6-96231b3b80d8
* Make stripped-bytecode a recursive targetChris Lattner2003-12-011-3/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10283 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify some rulesChris Lattner2003-11-291-8/+8
| | | | | | | Move LGCCLDPROG from test/Makefile.tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10256 91177308-0d34-0410-b5e6-96231b3b80d8
* All directory targets now install the Makefile only if it is missing.John Criswell2003-11-251-3/+9
| | | | | | | | | | Directory targets no longer check for existance of the directory in the object tree; if the Makefile doesn't exist, we will re-create the directory. This seems to be a pretty good assumption and saves us from checking directory existance each time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10211 91177308-0d34-0410-b5e6-96231b3b80d8
* Added a pseudo-hack: The Makefile now copies Makefiles from source tree toJohn Criswell2003-11-251-2/+12
| | | | | | | | | object tree if it is missing. This means that new Makefiles should get picked up automagically, requiring less bothersome re-configuring after updates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10209 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified directory building rules so that using the cd program/alias isJohn Criswell2003-11-241-3/+3
| | | | | | | not necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10199 91177308-0d34-0410-b5e6-96231b3b80d8
* Shorten the "updating Makefile" status print-out.Misha Brukman2003-11-111-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9874 91177308-0d34-0410-b5e6-96231b3b80d8
* If the source tree's Makefile is more up-to-date, copy it over into the buildMisha Brukman2003-11-091-0/+6
| | | | | | | tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9836 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix broken makefile dependency generationChris Lattner2003-11-081-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9810 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a really bad build problem for users who have .o in their build directory!Chris Lattner2003-11-071-2/+2
| | | | | | | Thanks to Reid Spencer for figuring this out! :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9763 91177308-0d34-0410-b5e6-96231b3b80d8
* Output only the .y filename, not the full path to it for ease of reading.Misha Brukman2003-11-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9729 91177308-0d34-0410-b5e6-96231b3b80d8
* Modified build rules so that a messages appears before and after linking.John Criswell2003-11-031-10/+20
| | | | | | | | | This helps to disambiguate when linking begins and when the library/program is linked and ready to be used. This is sort of as preference thing, so feel free to modify/revert the change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9687 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed LinkO, LinkP error in TOOLLINKOPTSBDinakar Dhurjati2003-10-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9591 91177308-0d34-0410-b5e6-96231b3b80d8
* Added TOOLLINKOPTSB to pass options to the linker (e.g. adding searchDinakar Dhurjati2003-10-291-0/+10
| | | | | | | path for external libraries). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9582 91177308-0d34-0410-b5e6-96231b3b80d8
* Add __STDC_LIMIT_MACROS here.Brian Gaeke2003-10-281-1/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549 91177308-0d34-0410-b5e6-96231b3b80d8
* When linking the runtime libraries, do not link -lc and -lgcc into the librariesChris Lattner2003-10-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9339 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
* Added autoconf support for the sample project.John Criswell2003-10-161-32/+32
| | | | | | | | | 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-101-12/+12
| | | | 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-101-2/+4
| | | | 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-071-2/+2
| | | | | | | 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-071-0/+11
| | | | | | | 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-021-2/+2
| | | | 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-181-1/+1
| | | | | | | | 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-151-6/+6
| | | | | | | 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-151-0/+4
| | | | 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-151-2/+5
| | | | 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-151-2/+2
| | | | 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-111-3/+1
| | | | | | | | | | | 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-111-2/+2
| | | | | | | | 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-101-1/+1
| | | | | | | 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-091-17/+17
| | | | | | | | | | | | 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-061-105/+37
| | | | | | | | | | | | 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