blob: 64cef1643b165762ec704425ce264fe1b21b8d61 [file] [log] [blame]
Misha Brukman7426c892004-04-24 00:10:56 +00001#===- ./Makefile -------------------------------------------*- Makefile -*--===#
John Criswell4436c492003-10-20 22:26:57 +00002#
3# The LLVM Compiler Infrastructure
4#
5# This file was developed by the LLVM research group and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
Misha Brukman7426c892004-04-24 00:10:56 +00008#===------------------------------------------------------------------------===#
Chris Lattner2f7c9632001-06-06 20:29:01 +00009LEVEL = .
Reid Spencer90f56ee2004-08-29 19:33:21 +000010DIRS = lib/System lib/Support utils lib tools
Chris Lattner2f7c9632001-06-06 20:29:01 +000011
Reid Spencer100080c2004-10-25 08:27:37 +000012
Chris Lattner135dcc02004-02-03 23:05:24 +000013ifneq ($(MAKECMDGOALS),tools-only)
14DIRS += runtime
Reid Spencerb1a014f2004-08-24 16:32:21 +000015OPTIONAL_DIRS = examples projects
Chris Lattner135dcc02004-02-03 23:05:24 +000016endif
17
Reid Spencer100080c2004-10-25 08:27:37 +000018EXTRA_DIST := llvm.spec include configure \
19 autoconf/AutoRegen.sh autoconf/LICENSE.TXT autoconf/README.TXT \
20 autoconf/aclocal.m4 autoconf/config.guess autoconf/config.sub \
21 autoconf/configure.ac autoconf/depcomp autoconf/install-sh \
22 autoconf/ltmain.sh autoconf/missing autoconf/mkinstalldirs \
23 autoconf/m4
Chris Lattner2f7c9632001-06-06 20:29:01 +000024include $(LEVEL)/Makefile.common
25
Reid Spencer100080c2004-10-25 08:27:37 +000026dist-hook::
27 @$(ECHO) Eliminating CVS directories from distribution
28 $(VERB) rm -rf `find $(TopDistDir) -type d -name CVS -print`
29
Chris Lattner2f7c9632001-06-06 20:29:01 +000030test :: all
31 cd test; $(MAKE)
John Criswell48ecca62003-08-12 18:51:51 +000032
Chris Lattner6bd75a62004-02-03 22:56:40 +000033tools-only: all