~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to BUILD/FINISH.sh

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
cflags="$c_warnings $extra_flags"
 
2
cxxflags="$cxx_warnings $base_cxxflags $extra_flags"
 
3
extra_configs="$extra_configs $local_infile_configs"
 
4
configure="./configure $base_configs $extra_configs"
 
5
 
 
6
commands="\
 
7
$make -k maintainer-clean || true 
 
8
/bin/rm -rf */.deps/*.P configure config.cache storage/*/configure storage/*/config.cache autom4te.cache storage/*/autom4te.cache;
 
9
 
 
10
path=`dirname $0`
 
11
. \"$path/autorun.sh\""
 
12
 
 
13
if [ -z "$just_clean" ]
 
14
then
 
15
commands="$commands
 
16
CC=\"$CC\" CFLAGS=\"$cflags\" CXX=\"$CXX\" CXXFLAGS=\"$cxxflags\" CXXLDFLAGS=\"$CXXLDFLAGS\" \
 
17
$configure"
 
18
fi
 
19
 
 
20
if [ -z "$just_configure" -a -z "$just_clean" ]
 
21
then
 
22
  commands="$commands
 
23
 
 
24
$make $AM_MAKEFLAGS"
 
25
 
 
26
  if [ "x$strip" = "xyes" ]
 
27
  then
 
28
    commands="$commands
 
29
 
 
30
mkdir -p tmp
 
31
nm --numeric-sort sql/mysqld  > tmp/mysqld.sym
 
32
objdump -d sql/mysqld > tmp/mysqld.S
 
33
strip sql/mysqld"
 
34
  fi
 
35
fi
 
36
 
 
37
if test -z "$just_print"
 
38
then
 
39
  eval "set -x; $commands"
 
40
else
 
41
  echo "$commands"
 
42
fi