|
Revision 901, 1.2 KB
(checked in by mina, 6 years ago)
|
|
Insignificant cleanup of CVS artifacts after svn migration:
1. Remove unneeded .cvsignore files since ths svn:ignore property is set to the same list
2. Replaced $Header$ macros with $Id$
3. Modify a couple of documentation files referring to CVS to SVN
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | # Run this to generate all the initial makefiles, etc. |
|---|
| 3 | # |
|---|
| 4 | # $Id$ |
|---|
| 5 | |
|---|
| 6 | if [ -r Makefile ] |
|---|
| 7 | then |
|---|
| 8 | echo "Doing distclean" |
|---|
| 9 | make distclean |
|---|
| 10 | fi |
|---|
| 11 | |
|---|
| 12 | if [ "X$1" != "X" ] |
|---|
| 13 | then |
|---|
| 14 | BUILDROOT=`echo "$1" | sed 's/^[^=]*[=]//'` |
|---|
| 15 | |
|---|
| 16 | OLDCC=${CC} |
|---|
| 17 | OLDRANLIB=${RANLIB} |
|---|
| 18 | OLDAR=${AR} |
|---|
| 19 | |
|---|
| 20 | CC=${BUILDROOT}/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-gcc |
|---|
| 21 | RANLIB=${BUILDROOT}/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-ranlib |
|---|
| 22 | AR=${BUILDROOT}/build_mipsel/staging_dir/bin/mipsel-linux-uclibc-ar |
|---|
| 23 | |
|---|
| 24 | POSTCONF=--host=mipsel |
|---|
| 25 | |
|---|
| 26 | export CC |
|---|
| 27 | export RANLIB |
|---|
| 28 | export AR |
|---|
| 29 | else |
|---|
| 30 | OLDCC=${CC} |
|---|
| 31 | OLDRANLIB=${RANLIB} |
|---|
| 32 | OLDAR=${AR} |
|---|
| 33 | POSTCONF= |
|---|
| 34 | fi |
|---|
| 35 | |
|---|
| 36 | echo "Running mkdir -p config" |
|---|
| 37 | mkdir -p config |
|---|
| 38 | |
|---|
| 39 | if [ "X"`uname` = "XDarwin" ] |
|---|
| 40 | then |
|---|
| 41 | echo "Running glibtoolize --force" |
|---|
| 42 | glibtoolize --force |
|---|
| 43 | else |
|---|
| 44 | echo "Running libtoolize --force" |
|---|
| 45 | libtoolize --force |
|---|
| 46 | fi |
|---|
| 47 | |
|---|
| 48 | echo "Running aclocal" |
|---|
| 49 | aclocal |
|---|
| 50 | echo "Running autoheader" |
|---|
| 51 | autoheader |
|---|
| 52 | echo "Running automake -a" |
|---|
| 53 | automake -a |
|---|
| 54 | echo "Running autoconf" |
|---|
| 55 | autoconf |
|---|
| 56 | echo "Running ./configure ${POSTCONF} --enable-maintainer-mode $conf_flags $@" |
|---|
| 57 | ./configure ${POSTCONF} --enable-maintainer-mode $conf_flags "$@" |
|---|
| 58 | |
|---|
| 59 | CC=${OLDCC} |
|---|
| 60 | RANLIB=${OLDRANLIB} |
|---|
| 61 | AR=${OLDAR} |
|---|
| 62 | |
|---|
| 63 | export CC |
|---|
| 64 | export RANLIB |
|---|
| 65 | export AR |
|---|