version 1.6, 2007/02/22 07:49:25 |
version 1.14, 2010/07/31 10:05:51 |
|
|
# Moved from misc-2005/12/xcode/Makefile. |
# Moved from misc-2005/12/xcode/Makefile. |
BUILD=${HOME}/tmp/misc-2005/A1/cfep/build |
|
OpenXM_HOME=${HOME}/OX4/OpenXM |
OpenXM_HOME=${HOME}/OX4/OpenXM |
|
BUILD=${OpenXM_HOME}/src/cfep/build |
usage: |
usage: |
@echo ${BUILD} |
@echo ${BUILD} |
@echo "setup-cfep (developer), clean, " |
@echo "setup-cfep (developer), clean, " |
|
|
rm -f ${BUILD}/Debug/cfep.app/OpenXM |
rm -f ${BUILD}/Debug/cfep.app/OpenXM |
rm -rf ${BUILD}/Release/cfep.app/OpenXM |
rm -rf ${BUILD}/Release/cfep.app/OpenXM |
mkdir -p ${BUILD}/Debug/cfep.app |
mkdir -p ${BUILD}/Debug/cfep.app |
(cd ${BUILD}/Debug/cfep.app ; ln -s ${OpenXM_HOME} .) |
(cd ${BUILD}/Debug/cfep.app ; ln -s ~/OX4/OpenXM .) |
mkdir -p ${BUILD}/Release/cfep.app |
mkdir -p ${BUILD}/Release/cfep.app |
(cd ${BUILD}/Release/cfep.app ; ln -s ${OpenXM_HOME} .) |
(cd ${BUILD}/Release/cfep.app ; ln -s ~/OX4/OpenXM .) |
rm -f ${BUILD}/Default/cfep.app/OpenXM |
rm -f ${BUILD}/Default/cfep.app/OpenXM |
mkdir -p ${BUILD}/Default/cfep.app |
mkdir -p ${BUILD}/Default/cfep.app |
(cd ${BUILD}/Default/cfep.app ; ln -s ${OpenXM_HOME} .) |
(cd ${BUILD}/Default/cfep.app ; ln -s ~/OX4/OpenXM .) |
make setup-cfep-fix |
make setup-cfep-fix |
# To debug html intro at ../doc |
# To debug html intro at ../doc |
(cd ../doc ; ln -s ${OpenXM_HOME}/doc/cfep/html-ja_JP.utf8 .) |
(cd ../doc ; ln -s ${OpenXM_HOME}/doc/cfep/html-ja_JP.utf8 .) |
cp `which nkf` ${OpenXM_HOME}/bin |
-cp `which nkf` ~/OX4/OpenXM/bin |
setup-cfep-fix: |
setup-cfep-fix: |
(rm -f ${OpenXM_HOME}/lib/asir/cfep-init.rr ; cd ${OpenXM_HOME}/lib/asir ; ln -s ${OpenXM_HOME}/src/asir-contrib/packages/src/cfep-init.rr .) |
(rm -f ~/OX4/OpenXM/lib/asir/cfep-init.rr ; cd ~/OX4/OpenXM/lib/asir ; ln -s ~/OX4/OpenXM/src/asir-contrib/packages/src/cfep-init.rr .) |
|
|
install: cfep-grep |
install: cfep-grep |
mkdir -p ${OpenXM_HOME}/doc/cfep |
mkdir -p ${OpenXM_HOME}/doc/cfep |
Line 35 install: cfep-grep |
|
Line 35 install: cfep-grep |
|
cp cfep.init ${OpenXM_HOME}/lib/cfep |
cp cfep.init ${OpenXM_HOME}/lib/cfep |
cp cfep-grep ${OpenXM_HOME}/bin |
cp cfep-grep ${OpenXM_HOME}/bin |
cp ../tests/cfep-opengl.rr ${OpenXM_HOME}/lib/asir-contrib |
cp ../tests/cfep-opengl.rr ${OpenXM_HOME}/lib/asir-contrib |
cp `which nkf` ~/OX4/OpenXM/bin |
-cp `which nkf` ~/OX4/OpenXM/bin |
|
|
clean: |
clean: |
rm -f tmp-* gendoc cfep-grep |
rm -f tmp-* gendoc cfep-grep ../doc/html-ja_JP.utf8 |
|
|
dist-cfep: gentar install |
dist-cfep: gentar install |
rm -rf work |
rm -rf work |
mkdir work |
mkdir work |
|
-cp install.txt work |
(cd work ; (cd ${OpenXM_HOME}/.. ; \ |
(cd work ; (cd ${OpenXM_HOME}/.. ; \ |
tar cf - OpenXM/lib/libgc* OpenXM/lib/libgmp* OpenXM/rc \ |
tar cf - OpenXM/lib/libgc* OpenXM/lib/libgmp* OpenXM/rc \ |
OpenXM/bin/ox OpenXM/bin/ox_asir OpenXM/bin/asir \ |
OpenXM/bin/ox OpenXM/bin/ox_asir OpenXM/bin/asir \ |
OpenXM/lib/cfep OpenXM/lib/sm1/bin \ |
OpenXM/lib/cfep OpenXM/lib/sm1/bin \ |
OpenXM/doc/cfep ) | tar xvf -) |
OpenXM/doc/cfep ) | tar xvf -) |
(cd work ; (cd ${OpenXM_HOME}/.. ; \ |
(cd work ; (cd ${OpenXM_HOME}/.. ; \ |
tar cf - --exclude help --exclude help-jp --exclude help-eg OpenXM/lib/asir ) | tar xvf -) |
tar cf - --exclude help --exclude help-ja --exclude help-en OpenXM/lib/asir ) | tar xvf -) |
(cd work/OpenXM/rc ; make clean) |
(cd work/OpenXM/rc ; make clean) |
rm -rf work/OpenXM/lib/asir/help* work/OpenXM/lib/asir/cfep-init.rr |
rm -rf work/OpenXM/lib/asir/help* work/OpenXM/lib/asir/cfep-init.rr |
mkdir work/OpenXM/lib/asir-contrib |
mkdir work/OpenXM/lib/asir-contrib |
Line 68 dist-cfep: gentar install |
|
Line 70 dist-cfep: gentar install |
|
(cp ${OpenXM_HOME}/bin/nkf work/OpenXM/bin) |
(cp ${OpenXM_HOME}/bin/nkf work/OpenXM/bin) |
(cp ${OpenXM_HOME}/bin/sm1 work/OpenXM/bin) |
(cp ${OpenXM_HOME}/bin/sm1 work/OpenXM/bin) |
(cp ${OpenXM_HOME}/bin/ox_k0 work/OpenXM/bin) |
(cp ${OpenXM_HOME}/bin/ox_k0 work/OpenXM/bin) |
|
(cp ${OpenXM_HOME}/bin/cpp work/OpenXM/bin) |
(mkdir -p work/OpenXM/lib/sm1 ; cp -r ${OpenXM_HOME}/lib/sm1/*.sm1 work/OpenXM/lib/sm1) |
(mkdir -p work/OpenXM/lib/sm1 ; cp -r ${OpenXM_HOME}/lib/sm1/*.sm1 work/OpenXM/lib/sm1) |
(cp ${OpenXM_HOME}/lib/sm1/*.asir work/OpenXM/lib/sm1) |
(cp ${OpenXM_HOME}/lib/sm1/*.asir work/OpenXM/lib/sm1) |
(cp -r ${OpenXM_HOME}/lib/sm1/Resource work/OpenXM/lib/sm1) |
(cp -r ${OpenXM_HOME}/lib/sm1/Resource work/OpenXM/lib/sm1) |
|
|
# Do it at orange2 |
# Do it at orange2 |
gentar-html: |
gentar-html: |
@if [ ! -f tmp-OpenXM-html.tar.gz ]; then \ |
@if [ ! -f tmp-OpenXM-html.tar.gz ]; then \ |
(cd /home/web/OpenXM/Current ; tar czvf - doc/asir2000/html-jp) >tmp-OpenXM-html.tar.gz ; \ |
(cd /home/web/OpenXM/Current ; tar czvf - doc/asir2000/html-ja) >tmp-OpenXM-html.tar.gz ; \ |
fi |
fi |
|
|
copy-intro-ja: |
copy-intro-ja: |