aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2012-10-03The top-level clang Makefile is #included into other Makefiles. (sigh) So weBill Wendling
can't have the logic here to add in the 'tools/{driver,libclang}' directories, because they will be added in for ALL Makefiles which #include the top-level one. Place the logic into the 'tools' Makefile. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165103 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-03Add the missing backslash-newline which was causing make errors.Bill Wendling
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165098 91177308-0d34-0410-b5e6-96231b3b80d8
2012-10-02Use an environment variable instead of what's in the make cmd goals.Bill Wendling
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164992 91177308-0d34-0410-b5e6-96231b3b80d8
2012-09-30Filter out tools and unittests which we don't want to build when we're ↵Bill Wendling
building clang only. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164916 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-06Add the Clang tblgen backends to Clang, and flip the switch to causePeter Collingbourne
the build systems to use clang-tblgen. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141291 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-06Clang-side build system infrastructure for multiple tblgens.Peter Collingbourne
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@141267 91177308-0d34-0410-b5e6-96231b3b80d8
2011-09-27If you download clang and delete the test directory, you can end upDouglas Gregor
with the copy line failing with an error, yet the make will complete successfully. From Greg Clayton! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140639 91177308-0d34-0410-b5e6-96231b3b80d8
2011-03-31Basic: Add support for a build variable to set the repository path that goesDaniel Dunbar
into the Clang version. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128595 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-03Add gTest unittests to clang, and write the first one.Jeffrey Yasskin
This is the Makefile version only; the cmake implementation is coming soon. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124777 91177308-0d34-0410-b5e6-96231b3b80d8
2011-01-07Fix typo.Eric Christopher
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@123041 91177308-0d34-0410-b5e6-96231b3b80d8
2010-11-14Makefile: Follow r118918, to add configuration "ENABLE_DOCS".NAKAMURA Takumi
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@119025 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-30Move lib/Runtime to runtime/, and build after everything else.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@107327 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-26Remove cruft that I didn't intend to commit.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106932 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-25build: Add a generated Version.inc file instead of duplicating information.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106863 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-19add a libs-only target to the clang makefile, patch by Sunay IsmailChris Lattner
in PR7397 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106386 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-08Globally disable -fno-strict-aliasing, for reasons given in the comment.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105644 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-08Makefiles: Set Clang CPP compiler flags in a single location, instead of ↵Daniel Dunbar
scattered throughout the project Makefiles. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105638 91177308-0d34-0410-b5e6-96231b3b80d8
2010-06-08Makefile: Switch Clang Makefiles to always include the top-level Clang Makefile.Daniel Dunbar
- This eliminates most dependencies on how Clang is installed relative to LLVM. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105637 91177308-0d34-0410-b5e6-96231b3b80d8
2010-04-30Move include installation steps to better location, inside each include dir ↵Daniel Dunbar
instead of at the top-level. Also, don't set NO_INSTALL=1 for c-index-test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@102724 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-18Fix 80 col violationKovarththanan Rajaratnam
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98823 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-18Simply tags targetKovarththanan Rajaratnam
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98822 91177308-0d34-0410-b5e6-96231b3b80d8
2010-03-10add DESTDIR support for clang headers, PR6556.Chris Lattner
Patch by Matthias Klose! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98192 91177308-0d34-0410-b5e6-96231b3b80d8
2009-12-21Improve updating of test/Makefile for out-of-dir builds.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@91854 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-25Don't try to install .dir files.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89836 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-15Add examples dir, built with BUILD_EXAMPLES=1 (Makefiles, no CMake ↵Daniel Dunbar
equivalent yet). Move tools/wpa to examples/wpa, and unbreak its build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@88825 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-12Don't install Makefiles nor tablegen input in include/.Axel Naumann
Fix exclusion of .tmp, which in turn enables installation of $(PROJ_OBJ_ROOT)/tools/clang/include/*.inc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83855 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-09Do not install CMakeLists.txt (nor any other txt files) into include/ ↵Axel Naumann
subdirectories git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83665 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-08Installation of Clang libraries and headers, from Axel Naumann!Douglas Gregor
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83582 91177308-0d34-0410-b5e6-96231b3b80d8
2009-09-23The test/ directory needs to be created always when building objdir != srcdir,Torok Edwin
because the toplevel 'make check-all' needs the rule for test/lit.site.cfg, and for that test/ must exist. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@82624 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-24Move <root>/Driver into <root>/tools/clang-cc.Daniel Dunbar
Again, I tried to update cmake but it is untested. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67605 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-18Add 'make cscope.files' top level target.Daniel Dunbar
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67168 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-16Build system changes to use TableGen to generate the variousDouglas Gregor
diagnostics. This builds on the patch that Sebastian committed and then revert. Major differences are: - We don't remove or use the current ".def" files. Instead, for now, we just make sure that we're building the ".inc" files. - Fixed CMake makefiles to run TableGen and build the ".inc" files when needed. Tested with both the Xcode and Makefile generators provided by CMake, so it should be solid. - Fixed normal makefiles to handle out-of-source builds that involve the ".inc" files. I'll send a separate patch to the list with Sebastian's changes that eliminate the use of the .def files. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67058 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-14Revert the switch to the tablegen diags. It fails for seperate objdir builds ↵Sebastian Redl
and cmake builds, and I have no clue what to do about it. Revisit this after someone with a clue about the build systems has looked at it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67009 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-14Switch diagnostics from .def to tablegen files. Please validate the Windows ↵Sebastian Redl
build. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67007 91177308-0d34-0410-b5e6-96231b3b80d8
2009-02-12Add tags; this is documented to work, just need the wiring to enable it.Mike Stump
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64350 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-20Fix make test when configuring for a seperate build directory.Mike Stump
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62614 91177308-0d34-0410-b5e6-96231b3b80d8
2009-01-19ccc: Add installation of ccc; based on patch from Mike Stump.Daniel Dunbar
- This doesn't follow normal installation procedure of python code, but no sense trying too hard since ccc will be moved to C++. - Entry point is now tools/ccc. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62517 91177308-0d34-0410-b5e6-96231b3b80d8
2008-07-26Add doxygen supportDaniel Dunbar
- Stolen from LLVM with minor modifications git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54103 91177308-0d34-0410-b5e6-96231b3b80d8
2008-04-06remove the old non-parallel test system. 'make' in clang/test now runsChris Lattner
the tests in parallel. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49290 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-20Use make's -C option to enter directories.Gabor Greif
Also, do not try to remove build/ dir when cleaning, this does not exist any more. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48599 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-20reduce chattyness of makefilesGabor Greif
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48597 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-18Switch over to the parallelized makefile, but keep old serialGabor Greif
makefile around (just change Makefile.parallel to Makefile to get back old functionality). To run parallel tests, specify make -jN test # where N = num of CPUs * 2 to get detailed output, run make -jN test VERBOSE=1 to only get error descriptions *after the tests have run*, type make report this gives you the extra information which was omitted in non-VERBOSE mode. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48486 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-15Make a major restructuring of the clang tree: introduce a top-levelChris Lattner
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48402 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-03Build the clang headers.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47834 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-15Initial checkin of rewriter interface. It is just stubbed out for now.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41990 91177308-0d34-0410-b5e6-96231b3b80d8
2007-09-06Added libClangAnalysisTed Kremenek
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@41742 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-16Make check conflicts with the other default llvm target, 'make check' will ↵Chris Lattner
come later I guess. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39900 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-16'make check' is what more people expect.Chris Lattner
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39899 91177308-0d34-0410-b5e6-96231b3b80d8
2007-07-11Stage two of getting CFE top correct.Reid Spencer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@39734 91177308-0d34-0410-b5e6-96231b3b80d8