Commit Graph

42 Commits

Author SHA1 Message Date
Vikram S. Adve 728de92db4 Simplified significantly by pulling out local configuration options
into Makefile.config.

llvm-svn: 3527
2002-08-29 23:28:46 +00:00
Vikram S. Adve 0bfb4cc5d1 Factor out /shared/... path to simplify changing it.
llvm-svn: 3521
2002-08-29 18:40:51 +00:00
Vikram S. Adve fddb117695 Fix clean command to clean in /shared when that is used.
llvm-svn: 3449
2002-08-22 03:20:27 +00:00
Chris Lattner 56b56d90f0 Throw purify temporary files into /shared if we have it.
llvm-svn: 3365
2002-08-17 21:39:58 +00:00
Chris Lattner 01f68c6d78 - Makefile changes:
- Now build executables into /shared
   - New BUILD_ROOT_TOP variable which is basically = $(BUILD_ROOT)/$(LEVEL) but
     cleaner and works for llvm/test/*
   - Use := more in Makefile.common

llvm-svn: 3291
2002-08-12 21:19:28 +00:00
Chris Lattner e5b0f6574b Oops, I accidentally broke the .d files. Fixed thusly
llvm-svn: 3272
2002-08-09 19:18:12 +00:00
Chris Lattner 77330fa15c * Remove some bogus dependencies on Depend/.dir
* Build into the machine local /shared directory instead of using local
  Debug/Depend/Release directories

llvm-svn: 3269
2002-08-09 15:41:55 +00:00
Chris Lattner ead864f089 Comment options that may be enabled
llvm-svn: 3237
2002-08-03 20:19:30 +00:00
Vikram S. Adve 15bd3ad996 Don't build Debug/ versions when ENABLE_OPTIMIZED is on.
llvm-svn: 3216
2002-08-02 18:34:12 +00:00
Chris Lattner d711a5e493 Cleanup Makefile a bit
llvm-svn: 3192
2002-07-31 21:32:05 +00:00
Chris Lattner d1a72292ef Changes to allow building lib/Target/Sparc the FIRST time.
llvm-svn: 3078
2002-07-25 15:01:19 +00:00
Chris Lattner 570c6a6114 Allow directories to specify that they want to be built as a shared object by default
llvm-svn: 3027
2002-07-23 19:21:31 +00:00
Chris Lattner 76d98ba598 Enable USEDLIBS to contain .a and .o files
llvm-svn: 3003
2002-07-23 17:56:16 +00:00
Vikram S. Adve 24132e8983 Add makefile-mode flag for emacs.
llvm-svn: 2841
2002-07-09 12:04:21 +00:00
Chris Lattner 198d5eb1c4 * Allow a profile'd code build to be done with a simple 'make ENABLE_PROFILING=1'
* Only build tags for include, lib, and tools, not tests
* Turn on verbose output from bison to get information about shift/reduce
  conficts (why isn't this the default??)

llvm-svn: 2603
2002-05-10 18:51:54 +00:00
Chris Lattner c0427b9ce9 Hopefully this change will make the makefile work for other people without hacking it.
llvm-svn: 2128
2002-04-07 06:18:40 +00:00
Chris Lattner f0a88d107f * Allow purify builds to be enabled without hacking the makefile. Now you
just have to run: make ENABLE_PURIFY=1
* Add command to the link line that makes the broken GCC 3.0 compiler work
  without affecting 2.95.3

llvm-svn: 2116
2002-04-05 18:56:58 +00:00
Chris Lattner 0559443280 Try to fix build error
llvm-svn: 1723
2002-02-11 17:12:03 +00:00
Chris Lattner 068f8222dc Add := to make stuff more efficient
llvm-svn: 1551
2002-01-23 05:46:01 +00:00
Chris Lattner 1677feaf72 Reenable warning now that Chuck fixed GCC
llvm-svn: 1517
2002-01-21 23:15:20 +00:00
Chris Lattner 7f74a56e24 Changes to build successfully with GCC 3.02
llvm-svn: 1503
2002-01-20 22:54:45 +00:00
Chris Lattner 75586e2ace 1. -Winline emits spurious warnings that aren't useful right now
2. Fix the "rebuild everything if I change one file" problem

llvm-svn: 1176
2001-11-07 14:50:58 +00:00
Chris Lattner b20b290c5e Add easy way to enable purify support
llvm-svn: 1045
2001-10-30 20:24:08 +00:00
Vikram S. Adve 4dedee5dc4 Simplify etags command.
llvm-svn: 954
2001-10-22 13:58:22 +00:00
Chris Lattner ee6e199f0e Change Sources specifier to ExtraSources
llvm-svn: 874
2001-10-18 01:48:09 +00:00
Vikram S. Adve bd9cae260d Allow only extra Source files to be listed in a local Makefile.
Needed for automatically generated .cpp files.

llvm-svn: 853
2001-10-17 12:33:55 +00:00
Chris Lattner 082479a583 Burg files should come out of the Debug Directory for temporary files
llvm-svn: 790
2001-10-14 17:23:55 +00:00
Vikram S. Adve a0e99085b2 Fixed tags target so it only happens at root level.
llvm-svn: 787
2001-10-13 12:26:59 +00:00
Chris Lattner 1fd501fff5 Each tools should not make tags
llvm-svn: 730
2001-10-13 05:10:29 +00:00
Vikram S. Adve fa9dc58c9e Added a rule for building TAGS.
llvm-svn: 723
2001-10-10 22:35:00 +00:00
Chris Lattner f0afd8bac7 Add support for tool specified linker options
llvm-svn: 527
2001-09-10 04:49:26 +00:00
Chris Lattner d196e04234 Fix automatic dependence on static libs
llvm-svn: 513
2001-09-09 20:59:28 +00:00
Chris Lattner 07c7c19f7d Support TOOLNAME and USEDLIBS options for easier tool building
llvm-svn: 498
2001-09-07 22:57:58 +00:00
Vikram S. Adve 88bee9f363 Added InstrSched library to link line.
llvm-svn: 386
2001-08-28 21:33:33 +00:00
Vikram S. Adve 75b9add9fa And add rule to create a .cpp source file from burg input file!
llvm-svn: 345
2001-08-06 19:06:43 +00:00
Vikram S. Adve ca4a382bf7 Add path and options for burg.
llvm-svn: 343
2001-08-06 19:01:20 +00:00
Vikram S. Adve 6b1d4f349a Remove lib/LLC library.
llvm-svn: 314
2001-07-28 04:39:27 +00:00
Vikram S. Adve 7161ef83f9 Added support for getting the dependence of an executable on its libs,
using a variable to get the list of libraries on the link path.
BUG: If the library in the same directory as the executable is missing,
BUG: gnumake will build the library but then fail when linking the executable
BUG: saying the library was not found.  Need a better hack.

llvm-svn: 225
2001-07-21 12:38:14 +00:00
Chris Lattner 6244d18477 Compile source files in alphabetical order
llvm-svn: 202
2001-07-18 23:43:37 +00:00
Vikram S. Adve fe34689e55 Changed default to building library archives instead of shared objects.
Added support for compiling *.c files.

llvm-svn: 197
2001-07-15 13:16:47 +00:00
Chris Lattner 44601ba46a Fixed the obnoxious problem that caused an entire directory to rebuild
even if you only change one .cpp file. Yaay

llvm-svn: 97
2001-06-29 05:20:16 +00:00
Chris Lattner 2f7c963559 Initial revision
llvm-svn: 2
2001-06-06 20:29:01 +00:00