aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* For PR614:Reid Spencer2005-08-251-0/+18
| | | | | | | | | | | Move the implementation of the fix from Makefile.rules to Makefile. This ensures that it is only checked on a top-level rebuild, and not in every single subdirectory. This removes some annoying messages from the build and numerous executions of config.status if the .in file changes but not substantively enough to cause the .h file to be modified by config.status. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23039 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure the tools get built if no build target is specified.Reid Spencer2005-05-291-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22184 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a "libs-only" target for avoiding construction of the tools andReid Spencer2005-05-251-4/+9
| | | | | | | runtime libraries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22169 91177308-0d34-0410-b5e6-96231b3b80d8
* Two dist-check related changes:Reid Spencer2005-05-241-0/+4
| | | | | | | | | | | | | 1. Allow DIST_CHECK_CONFIG_OPTION to specify a set of options to be passed to the configure script during the dist-check target. This allows things to be passed down on a project basis so the configure doesn't fail. 2. Use the tar | (cd ; tar ) idiom to copy files which is more flexible than using the cp command. THis allows us to exclude CVS .svn directories at source rather than stripping them out of the tar ball. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22166 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove the check target. Its now in Makefile.rulesReid Spencer2004-12-061-3/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18565 91177308-0d34-0410-b5e6-96231b3b80d8
* CVS directory elimination moved to Makefile.rulesReid Spencer2004-12-041-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18503 91177308-0d34-0410-b5e6-96231b3b80d8
* Made it default to check instead of check-dejagnu.Tanya Lattner2004-12-041-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18488 91177308-0d34-0410-b5e6-96231b3b80d8
* check is now a single colon rule. Also make it default to running dejagnu ↵Chris Lattner2004-12-031-4/+2
| | | | | | instead of qmtest git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18471 91177308-0d34-0410-b5e6-96231b3b80d8
* Add "docs" as a descendable directory (at the end)Reid Spencer2004-11-291-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18328 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a convenience target to build all three modes: Debug, Release, ProfileReid Spencer2004-11-251-1/+13
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18241 91177308-0d34-0410-b5e6-96231b3b80d8
* Move path override in test/Makefile.Alkis Evlogimenos2004-11-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17613 91177308-0d34-0410-b5e6-96231b3b80d8
* Override PATH to submake so that all tools are found if the PATH isAlkis Evlogimenos2004-11-081-1/+1
| | | | | | | | not set up properly (it also avoids using different tools that happen to be in the path). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17612 91177308-0d34-0410-b5e6-96231b3b80d8
* Removed passing TARGET.Tanya Lattner2004-11-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17587 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed check-dejagnu to take TESTSUITE as its args instead of TEST in order ↵Tanya Lattner2004-11-071-1/+1
| | | | | | to not conflict with other stuff. Added path for test/Scripts. Also added a check to deal with TESTSUITE and runtest flags. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17586 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor error.Tanya Lattner2004-11-071-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17573 91177308-0d34-0410-b5e6-96231b3b80d8
* Added support to specify which test suite dejagnu should run (Feature or ↵Tanya Lattner2004-11-071-1/+1
| | | | | | Regression). Use TEST=suite git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17572 91177308-0d34-0410-b5e6-96231b3b80d8
* Added rough support for dejagnu testing. Changes need to be made to autoconf ↵Tanya Lattner2004-11-071-0/+3
| | | | | | | | | to provide the target_triplet and to check for 'grep -C' which would be used instead of the python script we have now. Eventually the python script should be converted to bash. The dejagnu-clean needs to be fixed to use find. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17555 91177308-0d34-0410-b5e6-96231b3b80d8
* Internalize variable names to prevent recursive assignment. Cleanup docs.Reid Spencer2004-10-301-6/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
* Reduce the number of EXTRA_DIST files since Makefile.rules now handles theReid Spencer2004-10-261-6/+10
| | | | | | | autoconf directory automagically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17249 91177308-0d34-0410-b5e6-96231b3b80d8
* New Makefile Features:Reid Spencer2004-10-251-0/+11
| | | | | | | | | | | | | | | | | | | | | | * "dist" target now builds tar.gz, tar.bz2, and zip files suitable for distribution. "dist" can only be run from $(BUILD_OBJ_ROOT) and implies a "check". * made the preconditions not do a recursive make and ensured that they are executed sequentially. * made the messages output by the makefile be prefixed with "llvm" and the make level (e.g. llvm[1]: ) in the same way that make does so that the messages are uniform and more readable. * Fixed the tags target so that tags depends on TAGS which contains the rules to build a file named TAGS * Implemented the EXTRA_DIST feature in a few directories to make sure it works. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17210 91177308-0d34-0410-b5e6-96231b3b80d8
* Move top level rules for tags and installing headers to Makefile.rulesReid Spencer2004-10-241-30/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17203 91177308-0d34-0410-b5e6-96231b3b80d8
* Changed the distclean target to handle the new location of config.h.John Criswell2004-09-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16385 91177308-0d34-0410-b5e6-96231b3b80d8
* Add lib/System ahead of lib/Support in case there are operating systemReid Spencer2004-08-291-1/+1
| | | | | | | issues. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16095 91177308-0d34-0410-b5e6-96231b3b80d8
* Include the "examples" directory as optional.Reid Spencer2004-08-241-1/+1
| | | | | | | Update configure script to configure the examples/Makefile git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16028 91177308-0d34-0410-b5e6-96231b3b80d8
* etags isn't portable at all. Make it not run by default. If you stillChris Lattner2004-06-241-1/+1
| | | | | | | want it, just type 'make tags' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14368 91177308-0d34-0410-b5e6-96231b3b80d8
* Change tags rule to pipe output from find through etags command so that itReid Spencer2004-06-111-1/+1
| | | | | | | doesn't break on machines with limited command line lengths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14138 91177308-0d34-0410-b5e6-96231b3b80d8
* Change the install-includes target to completely ignore the llvm/InternalReid Spencer2004-05-251-2/+2
| | | | | | | | directory. Headers located there are not public to LLVM but are shared between LLVM modules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13769 91177308-0d34-0410-b5e6-96231b3b80d8
* Standardize header comments of top-level Makefiles.Misha Brukman2004-04-241-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13143 91177308-0d34-0410-b5e6-96231b3b80d8
* As a part of the bootstrapping process, the top-level tools-only targetBrian Gaeke2004-04-161-1/+1
| | | | | | | should not build projects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12984 91177308-0d34-0410-b5e6-96231b3b80d8
* Should fix pr220 - "make install" doesn't install header files whenBrian Gaeke2004-02-101-0/+3
| | | | | | | BUILD_SRC_ROOT != BUILD_OBJ_ROOT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11253 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix bug in installation process: MKDIR must respect DESTDIR.Brian Gaeke2004-02-091-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11236 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove rules for autoconf'ing files from top-level MakefileBrian Gaeke2004-02-081-7/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11185 91177308-0d34-0410-b5e6-96231b3b80d8
* Revised version of a patch for PR222 that works with my version of gmake.Chris Lattner2004-02-031-2/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11104 91177308-0d34-0410-b5e6-96231b3b80d8
* Apply Michael Kahl's patch to fix the 'make tools-only' target when OBJDIR ↵Chris Lattner2004-02-031-2/+2
| | | | | | | | | != SRCDIR. See PR222. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11102 91177308-0d34-0410-b5e6-96231b3b80d8
* Move support for building tags database from Makefile.rules to Makefile, becauseBrian Gaeke2004-01-221-2/+11
| | | | | | | 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
* Part 2 of DESTDIR supportBrian Gaeke2004-01-211-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10945 91177308-0d34-0410-b5e6-96231b3b80d8
* Simplify configure rules. (I don't know if anyone else cares...)Brian Gaeke2004-01-131-5/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10816 91177308-0d34-0410-b5e6-96231b3b80d8
* Support 'make install' for LLVM include files.Brian Gaeke2003-12-101-0/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10378 91177308-0d34-0410-b5e6-96231b3b80d8
* Add tools-only target, for bootstrapping the C/C++ front end.Brian Gaeke2003-10-211-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9341 91177308-0d34-0410-b5e6-96231b3b80d8
* Added LLVM copyright notice to Makefiles.John Criswell2003-10-201-0/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9312 91177308-0d34-0410-b5e6-96231b3b80d8
* I really meant to use that AUTOHEADER variable I put in there.Brian Gaeke2003-10-081-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8972 91177308-0d34-0410-b5e6-96231b3b80d8
* Add rule for regenerating config.h.in using autoheader.Brian Gaeke2003-10-071-1/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8957 91177308-0d34-0410-b5e6-96231b3b80d8
* Add target to regenerate top-level "configure" script.Brian Gaeke2003-10-071-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8927 91177308-0d34-0410-b5e6-96231b3b80d8
* Revert back to keeping Burg and TableGen in the utils directoryChris Lattner2003-10-051-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8876 91177308-0d34-0410-b5e6-96231b3b80d8
* Moved llvm/lib/Support to llvm/support/lib/Support.John Criswell2003-09-291-1/+1
| | | | | | | Moved llvm/utils/Burg and llvm/utils/TableGen to llvm/support/tools. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8733 91177308-0d34-0410-b5e6-96231b3b80d8
* build the new runtime directoryChris Lattner2003-08-151-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7876 91177308-0d34-0410-b5e6-96231b3b80d8
* Merged in changes between PRE11_ROOT and LLVM_PRE111 (i.e. the beginning ofJohn Criswell2003-08-121-0/+8
| | | | | | | | | | | | | | 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
* Modified Makefile.common to handle compilation of projects inside and outsideJohn Criswell2003-06-111-0/+1
| | | | | | | | | | | 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
* Make sure to build lib/Support before the utilities, then use the newChris Lattner2002-12-021-1/+1
| | | | | | | makefile in utils to build the utilities git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4844 91177308-0d34-0410-b5e6-96231b3b80d8
* Build burg treeChris Lattner2002-09-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3792 91177308-0d34-0410-b5e6-96231b3b80d8