Reid Spencer
4e181e731a
Provide support for auto-detection and use of compression libraries.
...
llvm-svn: 16643
2004-10-04 07:05:07 +00:00
John Criswell
68146eb40a
Corrected spelling of Makefile variable, thereby re-enabling profile
...
builds for projects.
llvm-svn: 16540
2004-09-28 14:52:58 +00:00
Reid Spencer
898eca3260
Missed one $*.a -> $@ conversion for the Release build.
...
llvm-svn: 16494
2004-09-23 06:07:24 +00:00
Reid Spencer
ef18cc48db
Correct the rules for making shared libraries per libtool 1.5.10
...
llvm-svn: 16489
2004-09-23 00:58:06 +00:00
Reid Spencer
3f2f555690
libtool's name is now back to mklib.
...
llvm-svn: 16423
2004-09-20 01:43:00 +00:00
John Criswell
30a0c10269
Add dependencies so that project tools are recompiled if LLVM libraries
...
are updated.
llvm-svn: 16378
2004-09-16 14:11:25 +00:00
Brian Gaeke
52a4e667e8
Use libtool, not mklib (which somehow doesn't get generated anymore)
...
llvm-svn: 16243
2004-09-07 19:03:35 +00:00
Reid Spencer
7650c06a45
Add LLVMC as a supported tool.
...
llvm-svn: 16183
2004-09-05 16:39:01 +00:00
Reid Spencer
b9c90a2b02
Get rid of an un-needed and un-used GCCism. ATTR_DEPRECATED is used nowhere
...
in the LLVM source base.
llvm-svn: 16162
2004-09-03 23:38:25 +00:00
Reid Spencer
6f7407880f
Remove even the slightest chance of a race condition occurring :)
...
llvm-svn: 15951
2004-08-20 09:32:32 +00:00
Reid Spencer
cc51e7b358
Added a set of rules for installing configuration files. You can now say
...
CONFIG_FILES=a b c
in a Makefile and when you "make install" the files a b and c will get
installed into the $prefix/etc directory.
llvm-svn: 15948
2004-08-20 09:20:05 +00:00
Misha Brukman
53bba06e37
* Uncomment rule for location of LLI (formerly commented out: typo?)
...
* Add space between VAR and `='
llvm-svn: 15074
2004-07-21 12:47:40 +00:00
Brian Gaeke
e2e0637a77
Move LLVM tool definitions to Makefile.rules
...
llvm-svn: 15049
2004-07-21 01:31:47 +00:00
Chris Lattner
9ab4d88ab6
Really, it is not necessary to recompile all files in a profile build every
...
time!
llvm-svn: 14680
2004-07-08 03:42:20 +00:00
Brian Gaeke
223b345279
Explicitly specify libtool tag "CXX" so that if you setenv CXX to something
...
libtool can't parse, e.g., "/path/to/g++ -some-funny-options",
then it will still be able to compile and link.
llvm-svn: 14072
2004-06-08 18:52:45 +00:00
Chris Lattner
4f120545a7
Make tool names end with .exe on windows. This isn't needed to run the
...
tools, but is required for rules that depend on the executables, e.g.:
a: b $(LLVMAS)
llvm-svn: 13926
2004-06-01 19:06:43 +00:00
Misha Brukman
144c77b515
Pass the Makefile flags to recursive makes in {PARALLEL,OPTIONAL}_DIRS targets.
...
llvm-svn: 13623
2004-05-21 23:21:11 +00:00
Misha Brukman
3e810058a7
Pass given flags on to recursive sub-makes.
...
llvm-svn: 13616
2004-05-21 00:09:21 +00:00
Alkis Evlogimenos
e716bafbc8
Change DEPRECATED macro to ATTR_DEPRECATED as this conflicts with some
...
java constants.
llvm-svn: 13611
2004-05-20 21:31:43 +00:00
Misha Brukman
7426c893f0
Standardize header comments of top-level Makefiles.
...
llvm-svn: 13143
2004-04-24 00:10:56 +00:00
Brian Gaeke
0f31060c5a
Add support for 'install-bytecode' target, used for ONLY installing
...
bytecode-libs.
llvm-svn: 12268
2004-03-10 17:38:01 +00:00
Alkis Evlogimenos
1aa50dfae5
Define DEPRECATED so that it can be used in function and variable
...
declarations.
llvm-svn: 11391
2004-02-13 20:05:44 +00:00
Brian Gaeke
12705d56ef
Fix bug in installation process: MKDIR must respect DESTDIR.
...
llvm-svn: 11236
2004-02-09 17:38:52 +00:00
Brian Gaeke
fe66239860
Always replace instead of appending when creating archive files. It may be
...
slightly slower, but I think we can handle it, especially if it means
BytecodeLibs are correctly regenerated.
llvm-svn: 11122
2004-02-04 21:41:23 +00:00
Brian Gaeke
ecc92bfe6e
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.
llvm-svn: 10964
2004-01-22 22:53:48 +00:00
Brian Gaeke
83d485cfed
Move support for building tags database from Makefile.rules to Makefile, because
...
it's only used in the top-level directory.
llvm-svn: 10960
2004-01-22 21:54:51 +00:00
Brian Gaeke
96deb7dd86
Give the ".../llvm-gcc/bytecode-libs" directory a variable of its own,
...
called bytecode_libdir. Make install-bytecode-library depend on
the existence of that directory, and add a rule for creating it if
it does not exist by calling mkinstalldirs.
llvm-svn: 10946
2004-01-21 23:57:21 +00:00
Brian Gaeke
ec2a01f5fd
Add DESTDIR support for installation, to support RPM etc.
...
llvm-svn: 10940
2004-01-21 21:20:44 +00:00
Brian Gaeke
6cbf285b37
Maybe Misha isn't so buggy after all. He caught the rest of my huge thinko
...
w.r.t. SHLIBEXT starting with a dot.
:-)
llvm-svn: 10939
2004-01-21 21:17:37 +00:00
Brian Gaeke
e00d637c15
Remember, SHLIBEXT begins with a period.
...
llvm-svn: 10936
2004-01-21 19:59:19 +00:00
Brian Gaeke
8625f68ca5
Modified version of patch from mkahl@apple.com to stop hardcoding ".so".
...
llvm-svn: 10935
2004-01-21 19:53:11 +00:00
Brian Gaeke
eac97bf984
Take settings of LCC and LCC1XX from configure.
...
llvm-svn: 10899
2004-01-16 21:31:20 +00:00
Brian Gaeke
6fb3da0c1b
I'm fairly certain this was just a typo.
...
llvm-svn: 10897
2004-01-16 21:12:34 +00:00
John Criswell
1b921c486e
Allow C++ programs to end in .cc. This allows C++ test programs in the
...
test suite to compile.
llvm-svn: 10644
2003-12-29 22:02:12 +00:00
Brian Gaeke
bbe0f1d795
Add install target for libraries.
...
llvm-svn: 10519
2003-12-18 20:57:48 +00:00
Brian Gaeke
0f148bcbc0
Add support for installing tool executables.
...
llvm-svn: 10351
2003-12-10 00:26:28 +00:00
Chris Lattner
dca8b84bde
Stop using the -fshort-enum compile option
...
llvm-svn: 10296
2003-12-06 20:59:45 +00:00
Chris Lattner
e0da6ec8b6
Make stripped-bytecode a recursive target
...
llvm-svn: 10283
2003-12-01 07:28:25 +00:00
Chris Lattner
fe8f8b4947
Simplify some rules
...
Move LGCCLDPROG from test/Makefile.tests
llvm-svn: 10256
2003-11-29 09:50:15 +00:00
John Criswell
6df35dd70d
All directory targets now install the Makefile only if it is missing.
...
Directory targets no longer check for existance of the directory in the
object tree; if the Makefile doesn't exist, we will re-create the directory.
This seems to be a pretty good assumption and saves us from checking
directory existance each time.
llvm-svn: 10211
2003-11-25 19:32:22 +00:00
John Criswell
e8eab29899
Added a pseudo-hack: The Makefile now copies Makefiles from source tree to
...
object tree if it is missing. This means that new Makefiles should get
picked up automagically, requiring less bothersome re-configuring after
updates.
llvm-svn: 10209
2003-11-25 17:49:22 +00:00
John Criswell
b1367f4af7
Modified directory building rules so that using the cd program/alias is
...
not necessary.
llvm-svn: 10199
2003-11-24 18:31:01 +00:00
Misha Brukman
b617253a16
Shorten the "updating Makefile" status print-out.
...
llvm-svn: 9874
2003-11-11 00:05:29 +00:00
Misha Brukman
b891ffbc7e
If the source tree's Makefile is more up-to-date, copy it over into the build
...
tree.
llvm-svn: 9836
2003-11-09 21:36:19 +00:00
Chris Lattner
c129e009eb
Fix broken makefile dependency generation
...
llvm-svn: 9810
2003-11-08 21:23:06 +00:00
Chris Lattner
cd4f3e601c
Fix a really bad build problem for users who have .o in their build directory!
...
Thanks to Reid Spencer for figuring this out! :)
llvm-svn: 9763
2003-11-07 04:39:53 +00:00
Misha Brukman
8330f2be73
Output only the .y filename, not the full path to it for ease of reading.
...
llvm-svn: 9729
2003-11-05 06:41:14 +00:00
John Criswell
28f8fc669d
Modified build rules so that a messages appears before and after linking.
...
This helps to disambiguate when linking begins and when the library/program
is linked and ready to be used.
This is sort of as preference thing, so feel free to modify/revert the change.
llvm-svn: 9687
2003-11-03 21:12:49 +00:00
Dinakar Dhurjati
043b4b0bc3
Fixed LinkO, LinkP error in TOOLLINKOPTSB
...
llvm-svn: 9591
2003-10-29 20:34:13 +00:00
Dinakar Dhurjati
3ac83a9bb3
Added TOOLLINKOPTSB to pass options to the linker (e.g. adding search
...
path for external libraries).
llvm-svn: 9582
2003-10-29 14:28:35 +00:00