John Criswell | e488e93 | 2003-10-20 22:26:57 +0000 | [diff] [blame^] | 1 | ##===- ./Makefile ------------------------------------------*- Makefile -*-===## |
| 2 | # |
| 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 | # |
| 8 | ##===----------------------------------------------------------------------===## |
Chris Lattner | 0095054 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 9 | LEVEL = . |
Chris Lattner | 091bbba | 2003-10-05 19:28:27 +0000 | [diff] [blame] | 10 | DIRS = lib/Support utils lib tools runtime |
John Criswell | 8bff509 | 2003-06-11 13:55:44 +0000 | [diff] [blame] | 11 | OPTIONAL_DIRS = projects |
Chris Lattner | 0095054 | 2001-06-06 20:29:01 +0000 | [diff] [blame] | 12 | |
| 13 | include $(LEVEL)/Makefile.common |
| 14 | |
| 15 | test :: all |
| 16 | cd test; $(MAKE) |
John Criswell | d741bcf | 2003-08-12 18:51:51 +0000 | [diff] [blame] | 17 | |
| 18 | distclean:: clean |
| 19 | $(VERB) $(RM) -rf $(LEVEL)/Makefile.config \ |
| 20 | $(LEVEL)/include/Config/config.h \ |
| 21 | $(LEVEL)/autoconf/autom4te.cache \ |
| 22 | $(LEVEL)/config.log \ |
| 23 | $(LEVEL)/TAGS |
| 24 | |
Brian Gaeke | 7528343 | 2003-10-07 17:12:11 +0000 | [diff] [blame] | 25 | AUTOCONF = autoconf |
Brian Gaeke | e9b5090 | 2003-10-07 23:44:10 +0000 | [diff] [blame] | 26 | AUTOHEADER = autoheader |
Brian Gaeke | 7528343 | 2003-10-07 17:12:11 +0000 | [diff] [blame] | 27 | |
Brian Gaeke | e9b5090 | 2003-10-07 23:44:10 +0000 | [diff] [blame] | 28 | configure: autoconf/configure.ac autoconf/aclocal.m4 |
Brian Gaeke | 7528343 | 2003-10-07 17:12:11 +0000 | [diff] [blame] | 29 | cd autoconf && $(AUTOCONF) -o ../configure configure.ac |
| 30 | |
Brian Gaeke | e9b5090 | 2003-10-07 23:44:10 +0000 | [diff] [blame] | 31 | include/Config/config.h.in: autoconf/configure.ac autoconf/aclocal.m4 |
Brian Gaeke | b68e334 | 2003-10-08 21:38:35 +0000 | [diff] [blame] | 32 | $(AUTOHEADER) -I autoconf autoconf/configure.ac |
Brian Gaeke | e9b5090 | 2003-10-07 23:44:10 +0000 | [diff] [blame] | 33 | |