Commit Graph

34 Commits

Author SHA1 Message Date
Reid Spencer b795c434e5 Make sample project -pedantic clean.
llvm-svn: 31391
2006-11-03 00:09:53 +00:00
Reid Spencer e6458c3fb2 For PR780:
1. Change the usage of LOADABLE_MODULE so that it implies all the things
   necessary to make a loadable module. This reduces the user's burdern to
   get a loadable module correctly built.
2. Document the usage of LOADABLE_MODULE in the MakefileGuide
3. Adjust the makefile for lib/Transforms/Hello to use the new specification
   for building loadable modules
4. Adjust the sample project to not attempt to build a shared library for
   its little library. This was just wasteful and not instructive at all.

llvm-svn: 29551
2006-08-07 23:12:15 +00:00
Reid Spencer a62f097c96 For PR786:
Turn -pedantic and -Wno-long-long compile flags on by default. In a few
places, avoid the warnings by removing these options in the local makefile.
One notable exception: lib/Target/CBackend/Writer.cpp. These warnings are
left on as a reminder to developers to clean them up.

llvm-svn: 28614
2006-06-01 01:55:21 +00:00
Reid Spencer b687ce80cd Have the AutoRegen.sh script prompt the user for the LLVM src and obj
directories if it can't find them. Then, replace those values into the
configure.ac script and pass them to the LLVM_CONFIG_PROJECT so that the
values become the default for llvm_src and llvm_obj variables. In this way
the user is required to input this exactly once, and the scripts take it
from there.

llvm-svn: 27798
2006-04-18 06:27:47 +00:00
Reid Spencer f90ea1d2aa Ignored generated files.
llvm-svn: 27016
2006-03-23 23:53:13 +00:00
Robert Bocchino cdd229a82e Fixed Makefile so it does, indeed, build a dynamic library.
llvm-svn: 25135
2006-01-06 22:51:19 +00:00
Andrew Lenharth 8c220defa8 oops
llvm-svn: 22334
2005-07-05 16:36:18 +00:00
Andrew Lenharth a1f37d616e updates
llvm-svn: 22333
2005-07-05 15:18:33 +00:00
Jeff Cohen 8047f13a88 Eliminate tabs and trailing spaces
llvm-svn: 21479
2005-04-23 21:26:11 +00:00
Reid Spencer 206bed0b97 Update to reflect various changes in the autoconf directory. THe
recommended configuration of projects is now much simplified and depends
on LLVM file presence rather than local project file presence.

llvm-svn: 20312
2005-02-24 18:53:47 +00:00
Reid Spencer 51d736301a Remove auxilliary files that are now picked up from llvm/autoconf. This
avoids version conflict problems with ltmain.sh (libtool), mkinstalldirs
and install-sh. This prevents projects from becoming stale when the LLVM
build system is upgraded or modified.

llvm-svn: 20311
2005-02-24 18:52:22 +00:00
Reid Spencer 0354a9ce35 * Move all the "standard" configuration stuff to the start of the file
* Make the auxilliary directory be llvm/autoconf not the project's
* Use the LLVM_CONFIG_PROJECT macro to get the --with-llvm{src,obj} args

llvm-svn: 20310
2005-02-24 18:50:53 +00:00
Reid Spencer 797f910736 Don't put generated files into CVS.
llvm-svn: 20309
2005-02-24 18:49:37 +00:00
Reid Spencer 07068a53ab * Fix an output message
* Make aclocal look in LLVM's autoconf/m4 directory for macros
* Don't force generation of missing files

llvm-svn: 20307
2005-02-24 18:42:34 +00:00
Reid Spencer 22978217af Update per new Makefile requirements for projects
llvm-svn: 19594
2005-01-16 02:21:42 +00:00
Reid Spencer c770a0f243 Ignore autoconf/aclocal generated stuff.
llvm-svn: 19292
2005-01-05 17:26:00 +00:00
Reid Spencer 6a0c6f6bf1 Cleanup configuration for Cygwin
llvm-svn: 19284
2005-01-05 06:41:10 +00:00
Reid Spencer 97d6cf262f Update to autoconf 2.59 standards.
llvm-svn: 19207
2005-01-01 09:26:55 +00:00
Reid Spencer c6c87c1378 Make sure the include files get distributed.
llvm-svn: 17247
2004-10-26 07:03:39 +00:00
Reid Spencer 83e5e2801f Fix nightly build by avoiding shared library construction.
llvm-svn: 17187
2004-10-23 15:30:30 +00:00
Reid Spencer 30d8baea8d Adjust to changes in Makefile.rules
llvm-svn: 17167
2004-10-22 21:02:08 +00:00
Reid Spencer 7c16caa336 Changes For Bug 352
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.

llvm-svn: 16137
2004-09-01 22:55:40 +00:00
John Criswell 3ea4445600 Removed LLVM copyright from sample Makefile.
llvm-svn: 9326
2003-10-21 15:33:12 +00:00
John Criswell f9924ce362 Removed LLVM copyright notice from sample Makefile.
llvm-svn: 9325
2003-10-21 15:31:36 +00:00
John Criswell ac028f18af Added LLVM copyrights to Makefiles.
llvm-svn: 9313
2003-10-20 22:28:01 +00:00
John Criswell 7d13d565af Adding license information for the sample project.
llvm-svn: 9209
2003-10-17 21:37:26 +00:00
John Criswell b9c70bb653 Modified the Makefile so that the sample library is linked dynamically.
llvm-svn: 9194
2003-10-17 17:47:08 +00:00
John Criswell dd8d7829b3 Adding autoconf support to the sample project.
llvm-svn: 9150
2003-10-16 01:45:35 +00:00
John Criswell 419c0dab18 Adding autoconf support for the sample project.
This should make setting up a new project much easier.

llvm-svn: 9149
2003-10-16 01:45:10 +00:00
John Criswell 334a2ed2d1 Adding autoconf support for the sample project.
llvm-svn: 9148
2003-10-16 01:44:20 +00:00
John Criswell bc4511c074 Checkin of autoconf-style object root.
Modified Makefiles to use the new Makefile setup in LLVM.

llvm-svn: 8380
2003-09-06 15:03:24 +00:00
Chris Lattner ce4e6ee671 Remove commented out declaration
llvm-svn: 8032
2003-08-21 22:22:24 +00:00
Chris Lattner 256e28f916 Disable sample project until it works
llvm-svn: 7287
2003-07-23 23:28:57 +00:00
John Criswell e17afeb1b4 Adding in sample project tree.
llvm-svn: 7018
2003-06-30 22:13:48 +00:00