1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
Commit Graph

139 Commits

Author SHA1 Message Date
Misha Brukman
71c7e40966 Removed trailing whitespace from Makefiles.
llvm-svn: 61991
2009-01-09 16:44:42 +00:00
Chris Lattner
6aece93d5c remove attributions from the rest of the llvm makefiles.
llvm-svn: 45416
2007-12-29 20:11:13 +00:00
Reid Spencer
f8b966ff96 Update comments to reflect new variable names. Patch contributed by
Vladimir Merzliakov.

llvm-svn: 20174
2005-02-14 16:02:19 +00:00
Reid Spencer
bf8f3f5e13 Make this file capable of being used by both LLVM and its projects
llvm-svn: 19588
2005-01-16 02:20:30 +00:00
Chris Lattner
f7f0cc323e No really, this is LLVM!
llvm-svn: 17352
2004-10-30 00:57:52 +00:00
Misha Brukman
ebb3422358 Standardize header comments of top-level Makefiles.
llvm-svn: 13143
2004-04-24 00:10:56 +00:00
John Criswell
0a6ca076e4 Added LLVM copyright notice.
llvm-svn: 9319
2003-10-21 14:33:46 +00:00
John Criswell
e84e43b4a6 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).

llvm-svn: 8377
2003-09-06 14:44:17 +00:00
Chris Lattner
32a2f9698f Slightly simplify make logic
llvm-svn: 8211
2003-08-29 14:07:02 +00:00
Misha Brukman
1aa0f15bd0 Start using llvm-as' instead of as'.
llvm-svn: 8193
2003-08-28 21:45:08 +00:00
Chris Lattner
ccf9e52d5f Refactor code slightly. Make code compiled with llvmgcc use the warning options
as well.  Compile with -fshort-enums whether in debug or release mode, because it breaks the ABI

llvm-svn: 8164
2003-08-27 18:26:44 +00:00
Chris Lattner
3984e3eac5 Fix typeo
llvm-svn: 8069
2003-08-23 15:56:38 +00:00
Chris Lattner
277f72713c Remove last remenants of cleandeps
Allow disabling generation of .d files for a whole directory

llvm-svn: 8053
2003-08-22 14:10:16 +00:00
Chris Lattner
e63f08044c Ugh, really fix it now... :(
llvm-svn: 8047
2003-08-22 05:22:13 +00:00
Chris Lattner
0ac32902d8 Fix computation of LLVM_OBJ_ROOT for non-projects :(
llvm-svn: 8046
2003-08-22 05:18:49 +00:00
Chris Lattner
31338eca2e Include the top-level Makefile.config from the LLVM tree for projects
llvm-svn: 8035
2003-08-21 22:28:46 +00:00
Chris Lattner
d77d621dbf Projects no longer need to specify LLVM_OBJ_ROOT. Also, for the prdirs target, don't let make print out all of the echo commands before the echos get echo'd
llvm-svn: 8034
2003-08-21 22:23:49 +00:00
Misha Brukman
4c8f0c41d9 The word dependence' and its derivatives have no a'.
llvm-svn: 8028
2003-08-21 22:02:18 +00:00
Chris Lattner
532962d643 Make the tags rule tolerate lack of one of the standard directories
llvm-svn: 8027
2003-08-21 21:53:38 +00:00
Chris Lattner
de5780a502 * Remove cleandeps target
* Implement much nicer .d files, as suggested by Casey Carter

llvm-svn: 8020
2003-08-21 20:39:08 +00:00
Chris Lattner
d58cc1bfa5 fix dependency
llvm-svn: 8004
2003-08-21 15:47:37 +00:00
Chris Lattner
99eb396cc0 Point to the correct cc1/cc1plus binaries
llvm-svn: 7997
2003-08-20 22:11:45 +00:00
John Criswell
519d7f9e50 Modified the SUFFIXES pseudo targets so that we remove all default suffixes
and explicitly declare all the ones we're using for LLVM.
This quickly cancels many of GNU Make's implicit rules and reduces build time.
The only caveat is that any new suffixes may need to be explictly added to
the .SUFFIXES pseudo target.

Removed the -only-static option as it is no longer used.

llvm-svn: 7979
2003-08-20 15:18:41 +00:00
Chris Lattner
0a017f68c9 Add new cleandeps target, to allow easy cleaning out of .d files
llvm-svn: 7954
2003-08-18 17:27:40 +00:00
Chris Lattner
aee049613e Remove extraneous ;'s, no functional changes
llvm-svn: 7902
2003-08-15 20:00:47 +00:00
Chris Lattner
9e8f3b6a49 Add llvm tools to path of LLVMGCC
llvm-svn: 7882
2003-08-15 15:20:52 +00:00
Chris Lattner
40351fc323 Make sure to create the directory before we cram a .bc file into it
llvm-svn: 7864
2003-08-15 03:02:52 +00:00
Chris Lattner
7b45e00414 Implement BYTECODE_LIBRARY support
llvm-svn: 7855
2003-08-15 02:18:35 +00:00
Chris Lattner
1b6f820a48 Simplifications to Makefile.common, remove support for Purify since it was
broken by libtoolification anyways, and noone can use it because purify doesn't
support the 64-bit sparc compilers even if it weren't broken!

llvm-svn: 7850
2003-08-14 21:10:25 +00:00
John Criswell
b84423a6e8 Merged in changes between PRE11_ROOT and LLVM_PRE111 (i.e. the beginning of
the pre-release 1.1 branch and pre-release 1.1.1).
Made the USE_SPEC option work.
Silenced unnecessary error output from the cmp command when checking for
updates to lex/yacc generated files.  This fixes a problem where we get error
messages the first time the file is generated.
Fixed the distclean option.  It is now in the Makefile (i.e. only runs in the
top level source directory), removes more files, and plays nicely with
external project Makefiles.

llvm-svn: 7780
2003-08-12 18:51:51 +00:00
Brian Gaeke
e45b89dee3 Makefile.common: Remove commented-out and duplicate rules.
llvm-svn: 7650
2003-08-06 21:44:22 +00:00
John Criswell
bc2e14bd15 Reverted back to using OR for cmp/mv operations for lex/yacc output.
The shell AND/OR operators short-circuit on command success/failure, which is
the inverse of exit status (i.e. 0 means success, non-zero means failure).

llvm-svn: 7616
2003-08-05 21:38:28 +00:00
John Criswell
a40b9262ec Switched from using diff to cmp for two reasons:
o Not all versions of diff have the -q option
	o The cmp program is probably faster than diff
Fixed the logic that only copies the file over if no differences are found.

llvm-svn: 7615
2003-08-05 21:21:58 +00:00
Chris Lattner
cae5e0ed1a Urg, do not print "foo has changed" messages
llvm-svn: 7573
2003-08-04 20:07:01 +00:00
Chris Lattner
006e8b7d49 While I'm looking at it, line up the SED lines
llvm-svn: 7572
2003-08-04 19:48:10 +00:00
Chris Lattner
08f4aa071b * Don't print out HOW we are running Flex unless in verbose mode. We already
hide the bison command line.
* If running flex or bison gives us the files we already have, don't overwrite
  the ones we have, which cause unnecessary compilation.  I demand the ability
  to make meaningless changes without penalty!

llvm-svn: 7571
2003-08-04 19:47:06 +00:00
John Criswell
e5f28ccd36 Modified the use of libtool so that we don't compile every file twice.
This can be done using the disable-shared tag that comes with libtool.
This change also required changing how .o libraries are linked.

llvm-svn: 7458
2003-07-31 20:58:51 +00:00
John Criswell
8a92405de7 Renamed libtool to mklib for your tab completion pleasure.
llvm-svn: 7255
2003-07-23 16:52:50 +00:00
John Criswell
75a7bcd904 Marked some of the phony targets are PHONY. This will hopefully speed
up builds a little bit since it will prevent GNU make from matching these
phony targets against implicit rules.

llvm-svn: 7183
2003-07-16 20:26:06 +00:00
Misha Brukman
0b5999cca1 The word separate' only has one e'.
llvm-svn: 7174
2003-07-14 17:26:34 +00:00
Vikram S. Adve
3737338edd Add phony target "bytecode" to ensure that it works in recursive makes.
llvm-svn: 7147
2003-07-10 19:25:29 +00:00
Misha Brukman
cbaa8f3bfe 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
e377ce4ef6 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
53ded3e020 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
258dfc0319 Merged in autoconf branch. This provides configuration via the autoconf
system.

llvm-svn: 7014
2003-06-30 21:59:07 +00:00
John Criswell
0ac290e21c Added the OPTIONAL_DIRS variable for specifying optional directories to build.
llvm-svn: 6926
2003-06-27 16:58:44 +00:00
John Criswell
756e7b93ef Reverted back to revision 1.91.
llvm-svn: 6812
2003-06-20 21:24:54 +00:00
John Criswell
0619cdf430 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
23718ce92a Fix problem building optmized build
llvm-svn: 6798
2003-06-20 15:41:57 +00:00
Chris Lattner
9798527411 Remove extra line
llvm-svn: 6773
2003-06-18 19:20:11 +00:00