2004-04-24 08:10:56 +08:00
|
|
|
#===- ./Makefile -------------------------------------------*- Makefile -*--===#
|
2003-10-21 06:26:57 +08: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 08:10:56 +08:00
|
|
|
#===------------------------------------------------------------------------===#
|
2001-06-07 04:29:01 +08:00
|
|
|
LEVEL = .
|
2004-08-30 03:33:21 +08:00
|
|
|
DIRS = lib/System lib/Support utils lib tools
|
2001-06-07 04:29:01 +08:00
|
|
|
|
2004-10-25 16:27:37 +08:00
|
|
|
|
2004-02-04 07:05:24 +08:00
|
|
|
ifneq ($(MAKECMDGOALS),tools-only)
|
|
|
|
DIRS += runtime
|
2004-08-25 00:32:21 +08:00
|
|
|
OPTIONAL_DIRS = examples projects
|
2004-02-04 07:05:24 +08:00
|
|
|
endif
|
|
|
|
|
2004-10-26 15:05:09 +08:00
|
|
|
EXTRA_DIST := test llvm.spec include
|
|
|
|
|
2001-06-07 04:29:01 +08:00
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
2004-10-25 16:27:37 +08:00
|
|
|
dist-hook::
|
2004-10-30 17:19:36 +08:00
|
|
|
$(Echo) Eliminating CVS directories from distribution
|
|
|
|
$(Verb) $(RM) -rf `find $(TopDistDir) -type d -name CVS -print`
|
|
|
|
$(Echo) Eliminating files constructed by configure
|
|
|
|
$(Verb) $(RM) -f \
|
2004-10-26 15:05:09 +08:00
|
|
|
$(TopDistDir)/include/llvm/ADT/hash_map \
|
|
|
|
$(TopDistDir)/include/llvm/ADT/hash_set \
|
|
|
|
$(TopDistDir)/include/llvm/ADT/iterator \
|
|
|
|
$(TopDistDir)/include/llvm/Config/config.h \
|
|
|
|
$(TopDistDir)/include/llvm/Support/DataTypes.h \
|
|
|
|
$(TopDistDir)/include/llvm/Support/ThreadSupport.h
|
2004-10-25 16:27:37 +08:00
|
|
|
|
2004-10-30 17:19:36 +08:00
|
|
|
check ::
|
|
|
|
cd test; $(MAKE)
|
2003-08-13 02:51:51 +08:00
|
|
|
|
2004-02-04 06:56:40 +08:00
|
|
|
tools-only: all
|