2004-04-24 00:10:56 +00:00
|
|
|
#===- ./Makefile -------------------------------------------*- Makefile -*--===#
|
2003-10-20 22:26:57 +00:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
|
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
|
|
#
|
2004-04-24 00:10:56 +00:00
|
|
|
#===------------------------------------------------------------------------===#
|
2001-06-06 20:29:01 +00:00
|
|
|
LEVEL = .
|
2004-08-29 19:33:21 +00:00
|
|
|
DIRS = lib/System lib/Support utils lib tools
|
2001-06-06 20:29:01 +00:00
|
|
|
|
2004-10-25 08:27:37 +00:00
|
|
|
|
2004-02-03 23:05:24 +00:00
|
|
|
ifneq ($(MAKECMDGOALS),tools-only)
|
|
|
|
DIRS += runtime
|
2004-08-24 16:32:21 +00:00
|
|
|
OPTIONAL_DIRS = examples projects
|
2004-02-03 23:05:24 +00:00
|
|
|
endif
|
|
|
|
|
2004-10-25 08:27:37 +00:00
|
|
|
EXTRA_DIST := llvm.spec include configure \
|
|
|
|
autoconf/AutoRegen.sh autoconf/LICENSE.TXT autoconf/README.TXT \
|
|
|
|
autoconf/aclocal.m4 autoconf/config.guess autoconf/config.sub \
|
|
|
|
autoconf/configure.ac autoconf/depcomp autoconf/install-sh \
|
|
|
|
autoconf/ltmain.sh autoconf/missing autoconf/mkinstalldirs \
|
|
|
|
autoconf/m4
|
2001-06-06 20:29:01 +00:00
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2004-10-25 08:27:37 +00:00
|
|
|
dist-hook::
|
|
|
|
@$(ECHO) Eliminating CVS directories from distribution
|
|
|
|
$(VERB) rm -rf `find $(TopDistDir) -type d -name CVS -print`
|
|
|
|
|
2001-06-06 20:29:01 +00:00
|
|
|
test :: all
|
|
|
|
cd test; $(MAKE)
|
2003-08-12 18:51:51 +00:00
|
|
|
|
2004-02-03 22:56:40 +00:00
|
|
|
tools-only: all
|