Commit Graph

98 Commits

Author SHA1 Message Date
Misha Brukman fd3e0afe65 Move the space separator to where it really belongs: in the print statement, not
in a variable assignment.

llvm-svn: 7141
2003-07-10 16:52:41 +00:00
Misha Brukman 6d1871c28b Removed an extra slash that appears in the path name when these variables are
combined with a '/' separating them.

llvm-svn: 7121
2003-07-07 22:27:05 +00:00
John Criswell 7320d2fd32 Renamed all of the LObj* variables (which represent libtool objects) to Obj*.
One of the test Makefiles uses the same variable names for something else,
and this was probably interfering with it.

llvm-svn: 7024
2003-07-01 14:52:28 +00:00
John Criswell 3ef61afb76 Merged in autoconf branch. This provides configuration via the autoconf
system.

llvm-svn: 7014
2003-06-30 21:59:07 +00:00
John Criswell 8224df947c Added the OPTIONAL_DIRS variable for specifying optional directories to build.
llvm-svn: 6926
2003-06-27 16:58:44 +00:00
John Criswell d9b7c5f430 Reverted back to revision 1.91.
llvm-svn: 6812
2003-06-20 21:24:54 +00:00
John Criswell ef1c153975 Added a hack that takes the path relative to the home directory into account
if a home directory is provided by the environment.

llvm-svn: 6805
2003-06-20 18:35:39 +00:00
Chris Lattner f6791e5458 Fix problem building optmized build
llvm-svn: 6798
2003-06-20 15:41:57 +00:00
Chris Lattner 8e31d81bd7 Remove extra line
llvm-svn: 6773
2003-06-18 19:20:11 +00:00
John Criswell 668fbc229a Modified the environment variables that determine where things are located to
do the following:
	1) Determine their default values without $HOME
	2) Configure the default values as full absolute pathnames.
This should help fix the nightly test builds.

llvm-svn: 6719
2003-06-16 19:14:31 +00:00
John Criswell 0607d88385 Modified Makefile.common to handle compilation of projects inside and outside
of the llvm source directory.
The main modification was to add new environment variables: one set for llvm
entities and another set for source entities current being compiled.
This should make the Makefile more flexible and easier to understand as each
environment variable only does one thing.

llvm-svn: 6679
2003-06-11 13:55:44 +00:00
John Criswell 857ec18910 Added configurable options for the Linker and Archiver.
llvm-svn: 6432
2003-05-30 15:50:31 +00:00
Dinakar Dhurjati 55512b1873 Added documentation for the project options
llvm-svn: 6418
2003-05-29 21:49:00 +00:00
Chris Lattner db34fb511d Get rid of extraneous ""s
llvm-svn: 6416
2003-05-29 20:40:32 +00:00
Misha Brukman 3484432e4e Added a path to the current version of the built TableGen.
llvm-svn: 6409
2003-05-29 20:09:23 +00:00
John Criswell 9cca31fb4e Removed configuration options that are better served in Makefile.config.
Fixed the LibInstDir macro.
Added the use of the FLEX variable.

llvm-svn: 6405
2003-05-29 18:52:10 +00:00
Dinakar Dhurjati 41f7748489 Added project options to the Makefile.common
llvm-svn: 6402
2003-05-29 16:18:20 +00:00
Chris Lattner 021249f3f3 Add facilities for building source that is outside of the current directory
llvm-svn: 6238
2003-05-15 21:28:55 +00:00
Chris Lattner c2bd7cf9fa Fix several bugs in the build system, including the use of the Debug version of Burg no matter what configuration is currently configured.
llvm-svn: 5744
2003-03-14 20:25:22 +00:00
Chris Lattner 61493ff1d6 Fix warnings compiling C files
llvm-svn: 5600
2003-02-19 22:12:20 +00:00
Chris Lattner 4bb0806f91 Fix profile builds
llvm-svn: 5551
2003-02-13 16:56:30 +00:00
Chris Lattner 936e61bcbc Add -fomit-frame-pointer when optimizing
llvm-svn: 5547
2003-02-12 20:45:45 +00:00
Chris Lattner d119b565fd Fix strip issue Joel ran into
llvm-svn: 5449
2003-01-31 19:00:26 +00:00
Chris Lattner 9e46166980 Fix problem with flex scanners and huge token sizes
llvm-svn: 5410
2003-01-23 16:33:10 +00:00
Chris Lattner 3ecb776d34 Fix lli build problem with parallel makes
llvm-svn: 5396
2003-01-22 16:13:31 +00:00
Chris Lattner db644ddfe7 Simplify and correct rules for building lex/yacc files. Make sure to delete
output upon make clean

llvm-svn: 5347
2003-01-16 22:44:19 +00:00
Chris Lattner 23d4739e17 Add helper
llvm-svn: 5342
2003-01-16 21:06:18 +00:00
Chris Lattner e48c528442 Add support for a recursive test target
llvm-svn: 5332
2003-01-16 20:02:30 +00:00
Vikram S. Adve 879874e602 Use -Wl,-x instead of -s: it is more portable, and in particular,
is needed on BSD (MacOS).
Also, use -Ldir instead of -L dir on the link line.  Same reason...

llvm-svn: 5068
2002-12-16 01:31:18 +00:00
Misha Brukman 8b6e7d50b7 On `make clean', kill the core files produced, which are of the form:
core.### where ### is the process ID. We use core.[0-9][0-9]* to avoid killing
core.c, core.cpp, and core.h files which may be part of benchmarks.

llvm-svn: 4913
2002-12-04 17:08:15 +00:00
Chris Lattner f131358f59 Generalize ExportSymbols into PLATFORMLINKOPTS
llvm-svn: 4542
2002-11-04 20:50:33 +00:00
Chris Lattner 2ec11d03d8 Don't link tools with -g objects!
llvm-svn: 4370
2002-10-29 15:15:22 +00:00
Chris Lattner 1ad7c12018 Patch submited by Casey to remove obnoxious warnings.
llvm-svn: 4278
2002-10-25 14:32:42 +00:00
Chris Lattner cf388bb247 Disable optimization that doesn't apply to C
llvm-svn: 4264
2002-10-22 23:35:28 +00:00
Chris Lattner d3fcf42efc Fix misspelled variable
llvm-svn: 4262
2002-10-22 23:28:23 +00:00
Vikram S. Adve a12d4c0065 Warn when we are linking an executable without symbols.
llvm-svn: 4236
2002-10-20 21:45:49 +00:00
Vikram S. Adve 7fc4b5c779 Remove outdated line which of course cvs merging never detects...
llvm-svn: 4175
2002-10-15 01:59:45 +00:00
Vikram S. Adve 53738841e6 Allow the Source variable to be overridden completely if needed.
llvm-svn: 4172
2002-10-14 16:40:04 +00:00
Chris Lattner 8d081dd436 Make sure to print message when linking a debug .o file
llvm-svn: 3918
2002-09-25 17:15:22 +00:00
Chris Lattner a8ce09e2de * Minor fixes to support C files.
* Build burg as a utility now, change its location
* Clean up other rules

llvm-svn: 3876
2002-09-22 02:47:15 +00:00
Vikram S. Adve 6a2258b230 Fix yet another profile linking issue.
llvm-svn: 3865
2002-09-20 18:16:20 +00:00
Vikram S. Adve a0abb97e71 Fix link error for profile version. Also, build Burg differently
for different architectures.

llvm-svn: 3862
2002-09-20 16:15:57 +00:00
Vikram S. Adve 20aa62f1cb The ENABLE_PROFILING flag now builds the profiled libraries and executables
into a Profile/ directory to keep them separate from the Debug/ and
Release/ versions.  Also, it turns on ENABLE_OPTIMIZED automatically.

llvm-svn: 3854
2002-09-20 14:03:13 +00:00
Chris Lattner c58930c52c Move the burg option out of Makefile.config into Makefile.common since
it no longer needs to be configured.

llvm-svn: 3828
2002-09-19 19:42:24 +00:00
Vikram S. Adve d141c281a4 Strip tools/Debug/ executables by default. Define KEEP_SYMBOLS to
turn off stripping for any executable.

llvm-svn: 3812
2002-09-18 11:55:13 +00:00
Anand Shukla 8c2a0eeacb corrected small bug, to handle when DIRS is not defined.
llvm-svn: 3810
2002-09-18 04:29:30 +00:00
Chris Lattner f3dd5f5888 Add support for the new PARALLEL_DIRS option
llvm-svn: 3807
2002-09-18 03:22:27 +00:00
Chris Lattner 59ded8e5c0 Allow the VERBOSE=1 option to turn on output of recursive make behavior
llvm-svn: 3796
2002-09-17 23:45:34 +00:00
Chris Lattner 539a23cffa Fix parallel recursive make to build directories in order
llvm-svn: 3794
2002-09-17 23:35:02 +00:00
Chris Lattner 0100eab505 Comment line of the makefile
llvm-svn: 3770
2002-09-16 22:36:42 +00:00