aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
Commit message (Collapse)AuthorAgeFilesLines
...
* Implement an alternative way of handling generated lex files in CVS. ThisChris Lattner2006-02-141-5/+15
| | | | | | | | should solve the "updating cvs when .l files change give me conflict markers that break my build" issue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26160 91177308-0d34-0410-b5e6-96231b3b80d8
* Wrap a couple more long linesChris Lattner2006-02-141-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26159 91177308-0d34-0410-b5e6-96231b3b80d8
* wrap long linesChris Lattner2006-02-141-9/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@26158 91177308-0d34-0410-b5e6-96231b3b80d8
* * Eliminate FAKE_SOURCESChris Lattner2006-01-271-50/+46
| | | | | | | | | | * Make runtimes and projects build with the new front-end by not relying on 'llvm-gcc -c' to build a .bc file. Instead, use llvm-gcc -S -emit-llvm, then an explicit invocation of gccas. Also, don't use llvm-gcc to link .bc files together, use gccld directly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@25707 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR625:Reid Spencer2005-12-231-1/+3
| | | | | | | | Don't install contents of CVS directories and don't double install when srcdir == objdir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24998 91177308-0d34-0410-b5e6-96231b3b80d8
* Some simple cleanups:Reid Spencer2005-12-211-6/+12
| | | | | | | | | | | | 1. When srcdir == objdir have "spotless" say that it isn't supported in that mode rather than just let make say "no such target" 2. Minor doc cleanups 3. Fix the double rebuild problem with yacc files. A missing dependency caused parallel builds to skip building the .cpp file after the .cpp file was regenerated by bison. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24924 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement fix for PR471:Reid Spencer2005-12-211-0/+2
| | | | | | | | | * Add --enable-debug-runtime option, defaults to disabled * Pass the new config var, DEBUG_RUNTIME, to Makefiles * Don't use -Wa,-strip-debug if debug-runtime is enabled git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24891 91177308-0d34-0410-b5e6-96231b3b80d8
* Move some constant folding code shared by Analysis and Transform passesJohn Criswell2005-10-271-1/+1
| | | | | | | | | into the LLVMAnalysis library. This allows LLVMTranform and LLVMTransformUtils to be archives and linked with LLVMAnalysis.a, which provides any missing definitions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24036 91177308-0d34-0410-b5e6-96231b3b80d8
* 1. Remove libraries no longer created from the list of libraries linked into theJohn Criswell2005-10-261-3/+3
| | | | | | | | | | | SparcV9 JIT. 2. Make LLVMTransformUtils a relinked object file and always link it before LLVMAnalysis.a. These two libraries have circular dependencies on each other which creates problem when building the SparcV9 JIT. This change fixes the dependency on all platforms problems with a minimum of fuss. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24023 91177308-0d34-0410-b5e6-96231b3b80d8
* analyses after transformationsChris Lattner2005-10-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23977 91177308-0d34-0410-b5e6-96231b3b80d8
* Now that all libraries are built in either .o or .a form, make BUILD_ARCHIVEChris Lattner2005-10-241-2/+10
| | | | | | | default to turning off building of relinked objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23939 91177308-0d34-0410-b5e6-96231b3b80d8
* pull in the .a version of scalaropts lib to reduce the size of programsChris Lattner2005-10-241-1/+1
| | | | | | | using the JIT git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23930 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove redundant flag.Jeff Cohen2005-10-231-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23889 91177308-0d34-0410-b5e6-96231b3b80d8
* When a function takes a variable number of pointer arguments, with a zeroJeff Cohen2005-10-231-1/+1
| | | | | | | | | | | | | | pointer marking the end of the list, the zero *must* be cast to the pointer type. An un-cast zero is a 32-bit int, and at least on x86_64, gcc will not extend the zero to 64 bits, thus allowing the upper 32 bits to be random junk. The new END_WITH_NULL macro may be used to annotate a such a function so that GCC (version 4 or newer) will detect the use of un-casted zero at compile time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23888 91177308-0d34-0410-b5e6-96231b3b80d8
* Plugin new subtarget backend into the build.Jim Laskey2005-10-211-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23870 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure targets depend on TargetSelectionDAG.tdChris Lattner2005-10-141-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23732 91177308-0d34-0410-b5e6-96231b3b80d8
* Add some rules for building preprocessed filesChris Lattner2005-10-051-0/+17
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23629 91177308-0d34-0410-b5e6-96231b3b80d8
* allow for a target to ask for a dag iselChris Lattner2005-09-031-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23237 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement PR614:Reid Spencer2005-08-271-12/+16
| | | | | | | | | | | These changes modify the makefiles so that the output of flex and bison are placed in the SRC directory, not the OBJ directory. It is intended that they be checked in as any other LLVM source so that platforms without convenient access to flex/bison can be compiled. From now on, if you change a .y or .l file you *must* also commit the generated .cpp and .h files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23115 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR614:Reid Spencer2005-08-251-21/+1
| | | | | | | | | | | Move the implementation of the fix from Makefile.rules to Makefile. This ensures that it is only checked on a top-level rebuild, and not in every single subdirectory. This removes some annoying messages from the build and numerous executions of config.status if the .in file changes but not substantively enough to cause the .h file to be modified by config.status. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23039 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't attempt to update LLVM configured header files from a build in aReid Spencer2005-08-251-0/+5
| | | | | | | project. Thanks to Chris for pointing out this deficiency. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23037 91177308-0d34-0410-b5e6-96231b3b80d8
* Whoops, don't use PROJ variables, these are all LLVM headers. This allowsReid Spencer2005-08-241-3/+3
| | | | | | | projects to compile properly. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23007 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR619:Reid Spencer2005-08-241-0/+16
| | | | | | | | | | | | | Make any header files that are automatically generated be preconditions of the compilation. This ensures that if a *.h.in file is changed then its corresponding *.h file gets updated on the next rebuild. Note that this can lead to confusing (but correct) results if the *.h.in file changed unsubstantially so that autoheader doesn't update the *.h file. In that case, manually touch the *.h file in question to restore order. Moral of the story, if you're going to "touch" a *.in file then modify it substantially. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23006 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix grammarMisha Brukman2005-08-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22821 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix oversized GOT problem with gcc-4 on alphaAndrew Lenharth2005-08-131-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22777 91177308-0d34-0410-b5e6-96231b3b80d8
* No, really, it's an Alpha! And you probably thought it was a PowerPC.Misha Brukman2005-07-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22506 91177308-0d34-0410-b5e6-96231b3b80d8
* I know PowerPC wishes it could be alpha, but it cannot. so thereAndrew Lenharth2005-07-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22504 91177308-0d34-0410-b5e6-96231b3b80d8
* Alpha has JITAndrew Lenharth2005-07-221-0/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22501 91177308-0d34-0410-b5e6-96231b3b80d8
* Two dist-check related changes:Reid Spencer2005-05-241-5/+12
| | | | | | | | | | | | | 1. Allow DIST_CHECK_CONFIG_OPTION to specify a set of options to be passed to the configure script during the dist-check target. This allows things to be passed down on a project basis so the configure doesn't fail. 2. Use the tar | (cd ; tar ) idiom to copy files which is more flexible than using the cp command. THis allows us to exclude CVS .svn directories at source rather than stripping them out of the tar ball. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22166 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure that tool names don't have any leading or trailing spaces in them.Reid Spencer2005-05-191-2/+2
| | | | | | | If they do, it screws up the concatenation of the .exe suffix on cygwin. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22141 91177308-0d34-0410-b5e6-96231b3b80d8
* Build the install directories just exactly as any others. Hopefully thisReid Spencer2005-05-191-11/+4
| | | | | | | helps out cygwin build. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22140 91177308-0d34-0410-b5e6-96231b3b80d8
* Two changes to support building shared libraries that contain multipleReid Spencer2005-05-191-65/+84
| | | | | | | | | | | | | llvm archive or re-linked libraries: 1. Permit the "JIT" special keyword on LLVMLIBS to be recognized when building a library, not just for building tools 2. If LINK_LIBS_IN_SHARED is set, the LLVMLIBS and USEDLIBS can be specified when linking a shared library and the libraries listed will be incorported into the shared library. THis is only used when the SHARED_LIBRARY variable is set. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22127 91177308-0d34-0410-b5e6-96231b3b80d8
* hp-ux needs this to get through the System/Support libsDuraid Madina2005-05-161-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22078 91177308-0d34-0410-b5e6-96231b3b80d8
* * Make some warning messages stand out a bit by putting **** at the endReid Spencer2005-05-131-3/+3
| | | | | | | * Fix a typo that prevents BuildMode from being printed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21954 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove extraneous spacesMisha Brukman2005-03-111-6/+6
| | | | | | | * Convert some tabs to spaces git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20560 91177308-0d34-0410-b5e6-96231b3b80d8
* Add SelectionDAG library to PPC JIT so that lli will link whenNate Begeman2005-03-111-1/+1
| | | | | | | PPC32ISelPattern.cpp is present. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20559 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct a typo in Makefile.rules.Reid Spencer2005-03-011-1/+1
| | | | | | | Patch idea contributed by Vladimir Merzliakov. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20384 91177308-0d34-0410-b5e6-96231b3b80d8
* Add llc to tools.Alkis Evlogimenos2005-02-271-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20345 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't try to strip bytecode files!Reid Spencer2005-02-241-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20320 91177308-0d34-0410-b5e6-96231b3b80d8
* The install program doesn't know how to strip bytecode files so installReid Spencer2005-02-241-1/+1
| | | | | | | bytecode as data, not program. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20319 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the other half of PR528 .. don't try to strip header files!Reid Spencer2005-02-241-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20301 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR528:Reid Spencer2005-02-241-11/+16
| | | | | | | | | | | | * Consolidate all "install" usage to the install program/script found by autoconf which includes the autoconf/install-sh script if necessary * Change Makefile.rules to not use the -D flag to install but use the MKDIR command as necessary. * Change Makefile.rules to differentiate between installation of executable files and regular data files to get the permission modes correct. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20294 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix installation of configuration files.Reid Spencer2005-02-161-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20215 91177308-0d34-0410-b5e6-96231b3b80d8
* * Don't flatten the directory hierarchy when installing headersReid Spencer2005-02-161-8/+13
| | | | | | | | | * Make it possible to have the Install program run in verbose mode when the TOOL_VERBOSE=1 option is set * Ensure non-executable installed files do not install with execute perms. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20214 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't use pax for installing header files. Use the install program instead.Reid Spencer2005-02-161-6/+8
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20213 91177308-0d34-0410-b5e6-96231b3b80d8
* For PR496:Reid Spencer2005-02-141-2/+10
| | | | | | | | | | | When llvm-gcc is not available, bypass rules for Modules and Bytecode Libraries that require llvm-gcc and emit instead a warning that llvm-gcc is not available. This permits "make LLVMGCC=" to build LLVM completely without error and provides warnings about the modules and bc libs that could not be constructed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20185 91177308-0d34-0410-b5e6-96231b3b80d8
* non-ieee arith crashes passes on alphaAndrew Lenharth2005-02-131-0/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20144 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix installation of configured headers when objdir != srcdir. PatchChris Lattner2005-02-091-3/+11
| | | | | | | contributed by Vladimir Merzliakov! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20084 91177308-0d34-0410-b5e6-96231b3b80d8
* Add support for .cc and .hpp files. Patch contributed by Vladimir Merzliakov!Chris Lattner2005-02-041-2/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20042 91177308-0d34-0410-b5e6-96231b3b80d8
* Add variable for bugpoint.Alkis Evlogimenos2005-02-021-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19981 91177308-0d34-0410-b5e6-96231b3b80d8