~mshinke/nvdajp/MiscellaneousDependencies

« back to all changes in this revision

Viewing changes to include/jtalk/libopenjtalk/lib/rebuild_dll.sh

  • Committer: Masataka Shinke
  • Date: 2012-08-16 00:30:22 UTC
  • mfrom: (26.1.74 MiscellaneousDependencies)
  • Revision ID: mshinke@users.sourceforge.jp-20120816003022-m6e51gheyl0bxnig
mergedĀ lp:~nishimotz/nvdajp/MiscellaneousDependenciesĀ 100

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# for cygwin gcc3
2
 
export CXX='g++ -mno-cygwin'
3
 
export CC='gcc -mno-cygwin'
4
 
if [ -f /usr/bin/set-gcc-default-3.sh ] ; then
5
 
  bash /usr/bin/set-gcc-default-3.sh
6
 
fi
7
 
echo 'building htsengineapi'
8
 
pushd ../../htsengineapi
9
 
  if [ -f Makefile ] ; then
10
 
    make clean
11
 
  fi
12
 
  autoreconf
13
 
  autoconf
14
 
  ./configure --build=i686-pc-mingw32
15
 
  make
16
 
popd
17
 
echo 'building libopenjtalk'
18
 
pushd ..
19
 
  if [ -f Makefile ] ; then
20
 
    make clean
21
 
  fi
22
 
  autoreconf
23
 
  autoheader
24
 
  aclocal
25
 
  automake
26
 
  autoconf
27
 
  bash do_configure_mingw32.sh
28
 
  # autoconf
29
 
  make
30
 
popd
31
 
echo 'building DLL'
32
 
make -f Makefile.mingw32 clean
33
 
make -f Makefile.mingw32 clean-dll htsengineapi njd_set_unvoiced_vowel libjpcommon libopenjtalk.dll
34
 
strip libopenjtalk.dll
 
1
# for cygwin gcc3
 
2
export CXX='g++ -mno-cygwin'
 
3
export CC='gcc -mno-cygwin'
 
4
if [ -f /usr/bin/set-gcc-default-3.sh ] ; then
 
5
  bash /usr/bin/set-gcc-default-3.sh
 
6
fi
 
7
echo 'building htsengineapi'
 
8
pushd ../../htsengineapi
 
9
  if [ -f Makefile ] ; then
 
10
    make clean
 
11
  fi
 
12
  autoreconf
 
13
  autoconf
 
14
  ./configure --build=i686-pc-mingw32
 
15
  make
 
16
popd
 
17
echo 'building libopenjtalk'
 
18
pushd ..
 
19
  if [ -f Makefile ] ; then
 
20
    make clean
 
21
  fi
 
22
  autoreconf
 
23
  autoheader
 
24
  aclocal
 
25
  automake
 
26
  autoconf
 
27
  bash do_configure_mingw32.sh
 
28
  # autoconf
 
29
  make
 
30
popd
 
31
echo 'building DLL'
 
32
make -f Makefile.mingw32 clean
 
33
make -f Makefile.mingw32 clean-dll htsengineapi njd_set_unvoiced_vowel libjpcommon libopenjtalk.dll
 
34
strip libopenjtalk.dll