Commit Graph

85 Commits

Author SHA1 Message Date
Reid Spencer
cc2d1e25f3 Internalize variable names to prevent recursive assignment. Cleanup docs.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17359 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-30 09:19:36 +00:00
Reid Spencer
151f8ba364 New Makefile Features:
* "dist" target now builds tar.gz, tar.bz2, and zip files suitable for
  distribution. "dist" can only be run from $(BUILD_OBJ_ROOT) and implies
  a "check".

* made the preconditions not do a recursive make and ensured that they are
  executed sequentially.

* made the messages output by the makefile be prefixed with "llvm" and the
  make level (e.g. llvm[1]: ) in the same way that make does so that the
  messages are uniform and more readable.

* Fixed the tags target so that tags depends on TAGS which contains the
  rules to build a file named TAGS

* Implemented the EXTRA_DIST feature in a few directories to make sure it
  works.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17210 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-25 08:27:37 +00:00
Reid Spencer
8fa2d383f5 Remove the unused SourceDir variable (use BUILD_SRC_DIR)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17165 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-22 21:01:44 +00:00
Reid Spencer
94926f0106 Fix typo in makefile variable name that prevents zlib from being recognized
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16656 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-04 17:49:19 +00:00
Reid Spencer
37130d2b5e Provide support for auto-detection and use of compression libraries.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16643 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-04 07:05:07 +00:00
Brian Gaeke
c9d4054d2e PAPI is not used here.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16236 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 17:34:34 +00:00
Reid Spencer
4d68ba2dc9 Remove variables and tests that were specific to the now defunct
test/Programs. These have been moved to llvm-test/autoconf/configure.ac and
llvm-test/Makefile.config.in


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16231 91177308-0d34-0410-b5e6-96231b3b80d8
2004-09-07 16:35:45 +00:00
John Criswell
9b87287e7d Set a variable so that we can find the python interpreter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15424 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:24:39 +00:00
Misha Brukman
b5a2e40dd8 Since the Great LLVM Tool Renaming(tm), we no longer have collisions between our
assembler/linker and the system equivalents.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14197 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-17 15:39:58 +00:00
John Criswell
e6d468f6f7 Added the EXEEXT variable so that Makefiles can figure out what extension
to put on executable files.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13925 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-01 19:04:38 +00:00
Misha Brukman
6d5ab866fc Standardize header comments of top-level Makefiles.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13143 91177308-0d34-0410-b5e6-96231b3b80d8
2004-04-24 00:10:56 +00:00
Brian Gaeke
b798b1e9a3 Fix up a seriously outdated comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12267 91177308-0d34-0410-b5e6-96231b3b80d8
2004-03-10 17:37:50 +00:00
Alkis Evlogimenos
f3dd0dbc58 Fix typo. I wonder how this actually worked.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11854 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-25 23:47:17 +00:00
Alkis Evlogimenos
1e3aba1c19 Complete the SPEC_ROOT and USE_SPEC to SPEC2000_ROOT and USE_SPEC200 rename.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11853 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-25 23:41:32 +00:00
John Criswell
b9a131e8a6 Added the POVRAY_ROOT to locate Povray.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11681 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-20 22:30:46 +00:00
John Criswell
0021c31b60 Added check for target machine endian-ness and put the result into
Makefile.config (ENDIAN variable is set to big or little).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11398 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-13 21:57:29 +00:00
John Criswell
b607cc8871 Added support for configuring SPEC95.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11295 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-10 22:29:06 +00:00
Brian Gaeke
8abff7945a Move bytecode_libdir def'n to Makefile.config.in from Makefile.rules, so it
lives near the other installation dirs (like libdir, bindir, etc.).

Move the rule for making bytecode_libdir out of the ifdef LIBRARYNAME...endif.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10964 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-22 22:53:48 +00:00
Brian Gaeke
e0cec5d75a Get autoconf'd ETAGSFLAGS value from configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10961 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-22 21:55:01 +00:00
Brian Gaeke
88aeace318 Get SHLIBEXT variable from configure script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10933 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-21 19:39:07 +00:00
Brian Gaeke
f1dd2004c0 Remove some whitespace and fix up some comments.
Take settings of LCC and LCC1XX from configure.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10902 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-16 21:31:34 +00:00
Brian Gaeke
26be9c5350 Remove and/or shorten many comments in configure.ac.
Remove checks for many common Unix programs. Our build process currently
assumes they are there and makes no provisions for any other world-views.
(We can add some of these checks back at some later time if it should prove
useful, but right now, we do not need to check to see whether "rm" exists.)

Remove checks for many common standard C headers and functions. We assume
ISO/ANSI C++, and we always use the <cfoo> versions of ANSI C's <foo.h>
headers, so these checks will not help anything.

Edit configure's warning messages for clarity and content.

Change checks for "optional" programs to default to using "true" instead of
"false", so that a failure to find, e.g., etags, will be less likely to result
in make failing.

No longer shall we check for --enable-purify or --with-purify options.
No longer shall we propagate these to the Makefiles.

configure regenerated using autoconf-2.57.

Please feel free to send me any questions or comments you have. :-)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10814 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-13 06:43:16 +00:00
John Criswell
b8b80c455f The configure script now defines BISON as the name of the bison program and
YACC as bison -y.  In this way, we ensure that bison is being used, but
the Makefiles have macros for using bison itself and for getting bison to
act like it is traditional yacc.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10774 91177308-0d34-0410-b5e6-96231b3b80d8
2004-01-12 16:14:54 +00:00
Brian Gaeke
5339ada5ab Add installation directories and commands, standardly provided by configure.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10350 91177308-0d34-0410-b5e6-96231b3b80d8
2003-12-10 00:25:32 +00:00
John Criswell
613758d55d Fixed SPEC so that it would run correctly with the new autoconf-style object
directory.
Added Makefile.spec to the list of files to copy to the object directory.
Moved the configuration of $SourceDir to Makefile.config and corrected the
conditional that surrounds it.  This allows SPEC to reset it and get the correct
VPATH.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8475 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-11 18:03:50 +00:00
John Criswell
7f33695eac Checkin of autoconf-style object root.
Moved Makefile.common to Makefile.rules.  This makes project Makefiles easier
to support, and allows for easier overriding of default configuration values
that used to be in Makefile.common.
Modified Makefile.config.in to determine paths for directories (like
LLVM_SRC_ROOT) and to use the pwd binary as opposed to the shell builtin (this
works better for symbolic links).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8377 91177308-0d34-0410-b5e6-96231b3b80d8
2003-09-06 14:44:17 +00:00
John Criswell
0057e32730 Updated to use files within the autoconf subdirectory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7234 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-22 19:17:35 +00:00
Misha Brukman
e9676508ac The word open' was really intended to be option'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7080 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 21:20:04 +00:00
John Criswell
b2d7aff181 Removed the --enable-profiling option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7079 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 21:16:06 +00:00
John Criswell
b103e610cc Removed the CPPFLAGS and CFLAGS variables since the -DHAVE_CONFIG_H messes
up the test suite.  Since all the LLVM software assumes that config.h exists,
we can just do away with it for now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7069 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-02 16:53:44 +00:00
John Criswell
7659545cee Added the ARCH variable so that some of the Makefiles can perform actions based
upon the target hardware architecture (as opposed to always checking the OS).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7050 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 22:07:39 +00:00
John Criswell
b812e76b56 The Makefile now adds autoconf information to the compiler and linker flag
variables instead of overwriting those variables.  This makes it more flexible
and keeps some of the test Makefiles from breaking.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7025 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-01 15:02:59 +00:00
Chris Lattner
84a1b88e5b Fix verbose support bug
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7023 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:41:22 +00:00
John Criswell
49bf862719 Removed the LIBS environment variable as it interferes with the tests and
is currently unused.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7022 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 22:33:53 +00:00
John Criswell
7a73b80b90 Merged in autoconf branch. This provides configuration via the autoconf
system.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7014 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-30 21:59:07 +00:00