2003-10-20 22:26:57 +00:00
|
|
|
##===- ./Makefile ------------------------------------------*- Makefile -*-===##
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2001-06-06 20:29:01 +00:00
|
|
|
LEVEL = .
|
2003-10-05 19:28:27 +00:00
|
|
|
DIRS = lib/Support utils lib tools runtime
|
2003-06-11 13:55:44 +00:00
|
|
|
OPTIONAL_DIRS = projects
|
2001-06-06 20:29:01 +00:00
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
|
|
|
|
|
|
|
test :: all
|
|
|
|
cd test; $(MAKE)
|
2003-08-12 18:51:51 +00:00
|
|
|
|
|
|
|
distclean:: clean
|
|
|
|
$(VERB) $(RM) -rf $(LEVEL)/Makefile.config \
|
|
|
|
$(LEVEL)/include/Config/config.h \
|
|
|
|
$(LEVEL)/autoconf/autom4te.cache \
|
|
|
|
$(LEVEL)/config.log \
|
|
|
|
$(LEVEL)/TAGS
|
|
|
|
|
2003-10-21 18:08:10 +00:00
|
|
|
tools-only:
|
|
|
|
@for dir in lib/Support utils lib tools; do $(MAKE) -C $$dir; done
|
|
|
|
|
2003-10-07 17:12:11 +00:00
|
|
|
AUTOCONF = autoconf
|
2003-10-07 23:44:10 +00:00
|
|
|
AUTOHEADER = autoheader
|
2003-10-07 17:12:11 +00:00
|
|
|
|
2003-10-07 23:44:10 +00:00
|
|
|
configure: autoconf/configure.ac autoconf/aclocal.m4
|
2003-10-07 17:12:11 +00:00
|
|
|
cd autoconf && $(AUTOCONF) -o ../configure configure.ac
|
|
|
|
|
2003-10-07 23:44:10 +00:00
|
|
|
include/Config/config.h.in: autoconf/configure.ac autoconf/aclocal.m4
|
2003-10-08 21:38:35 +00:00
|
|
|
$(AUTOHEADER) -I autoconf autoconf/configure.ac
|
2003-10-07 23:44:10 +00:00
|
|
|
|