Commit Graph

10 Commits

Author SHA1 Message Date
Chris Lattner
26a5b85cf6 make is the standard name, not gmake
llvm-svn: 22573
2005-08-02 00:10:52 +00:00
Vikram S. Adve
20aa586801 Really use a search path as described in the log message for the last
version (instead of 2 fixed choices).

llvm-svn: 8525
2003-09-15 11:18:36 +00:00
Vikram S. Adve
73370cb070 Update makellvm to work with the brave new world of separate obj-root trees.
With these changes, you can still run makellvm directly from your source tree
as follows:
  % makellvm [toolname]	## looks for obj-root in default places (see below)
or
  % makellvm -obj obj-root [toolname]	## specify obj-root explicitly.

With the first from, `makellvm' checks the following places in order
and uses the first one that contains the file `Makefile.config':
(1) Your src-root directory
(2) /localhome/$USER/llvm
Other choices can be added to this list.

llvm-svn: 8509
2003-09-14 23:44:31 +00:00
Vikram S. Adve
9d5c5835aa Fix syntax error when makellvm is run in an invalid directory.
Add debugging support.

llvm-svn: 8389
2003-09-08 15:32:47 +00:00
Vikram S. Adve
f5e0c07db6 (1) Pass 'VAR=string' arguments to gmake
(2) Detect LLVMDIR using the LEVEL variable in Makefile.
(3) To perform #2 propertly, use the same Makefile search rules as gmake.

llvm-svn: 7228
2003-07-22 12:35:28 +00:00
Vikram S. Adve
5771a8b11d Add support for passing in arbitrary flags to gmake (except -n and -h
which are interpreted by this script).

llvm-svn: 3818
2002-09-19 14:54:53 +00:00
Vikram S. Adve
4de8721e87 Fix to work in new location (utils/) and to use gmake instead of gnumake
since gnumake doesn't exist on our new spiffy Linux machines.

llvm-svn: 3815
2002-09-18 23:22:27 +00:00
Vikram S. Adve
b3d0d57038 Simplify significantly (and fix syntax error).
llvm-svn: 3730
2002-09-15 18:22:47 +00:00
Vikram S. Adve
9b33ad41dc Use much better method to find the llvmbase directory.
Also, add -h option to print usage information.

llvm-svn: 3729
2002-09-15 16:58:30 +00:00
Vikram S. Adve
acd7cde1d8 Shell-script to build current directory and then link one tool (default: opt)
llvm-svn: 3727
2002-09-15 16:33:32 +00:00