aboutsummaryrefslogtreecommitdiff
path: root/Makefile.rules
AgeCommit message (Collapse)Author
2003-12-29Allow C++ programs to end in .cc. This allows C++ test programs in theJohn Criswell
test suite to compile. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10644 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-18Add install target for libraries.Brian Gaeke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10519 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10Add support for installing tool executables.Brian Gaeke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10351 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-06Stop using the -fshort-enum compile optionChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10296 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-01Make stripped-bytecode a recursive targetChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10283 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-29Simplify some rulesChris Lattner
Move LGCCLDPROG from test/Makefile.tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10256 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-25All directory targets now install the Makefile only if it is missing.John Criswell
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
2003-11-25Added a pseudo-hack: The Makefile now copies Makefiles from source tree toJohn Criswell
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
2003-11-24Modified directory building rules so that using the cd program/alias isJohn Criswell
not necessary. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10199 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-11Shorten the "updating Makefile" status print-out.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9874 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-09If the source tree's Makefile is more up-to-date, copy it over into the buildMisha Brukman
tree. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9836 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-08Fix broken makefile dependency generationChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9810 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-07Fix a really bad build problem for users who have .o in their build directory!Chris Lattner
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
2003-11-05Output only the .y filename, not the full path to it for ease of reading.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9729 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-03Modified build rules so that a messages appears before and after linking.John Criswell
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
2003-10-29Fixed LinkO, LinkP error in TOOLLINKOPTSBDinakar Dhurjati
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9591 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-29Added TOOLLINKOPTSB to pass options to the linker (e.g. adding searchDinakar Dhurjati
path for external libraries). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9582 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-28Add __STDC_LIMIT_MACROS here.Brian Gaeke
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9549 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-21When linking the runtime libraries, do not link -lc and -lgcc into the librariesChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9339 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-10-16Added autoconf support for the sample project.John Criswell
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
2003-10-10Print out just the filename being compiled/linked, not the full path to it.Misha Brukman
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9018 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-10Make the message stand out moreChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9004 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07Depend on config.status instead of config.h, because config.h timestamp may notMisha Brukman
change even though configure changes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8923 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-07Added targets that force users to re-run autoconf when the script has beenJohn Criswell
updated. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8921 91177308-0d34-0410-b5e6-96231b3b80d8
2003-10-02Fixed the conditional targets for postscript files and tags.John Criswell
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8823 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-18Changed the empty rule for .h files. The rule needs an empty command so thatJohn Criswell
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
2003-09-15Put llvm .bc files into the BytecodeObj subdirectory instead of the BytecodeChris Lattner
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
2003-09-15Allow specifying a file with symbols to exportChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8531 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15Wrap long lines at 80 colsChris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8512 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-15Make sure to #include the OBJROOT config.h file, not the SRCROOT config.h file!Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8511 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-11Fixed SPEC so that it would run correctly with the new autoconf-style objectJohn Criswell
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
2003-09-11Removed the aposthrophes endings and the elipses suffixes from build output.John Criswell
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
2003-09-10Avoid dumping runtime library bytecode files into lib/Bytecode if buildingChris Lattner
into the source directory git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8450 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-09Updated to find source files using VPATH. This makes writing build rulesJohn Criswell
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
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