version 1.23, 2003/09/02 03:24:51 |
version 1.31, 2004/06/23 23:04:10 |
|
|
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.22 2003/08/22 23:56:28 takayama Exp $ |
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.30 2004/06/23 22:49:17 takayama Exp $ |
# |
# |
# Depends on all-kan96xx [source tree of kan96xx at ${Kan96xx} is required] |
# Depends on all-kan96xx [source tree of kan96xx at ${Kan96xx} is required] |
# install-gmp, install-gc, install-util |
# install-gmp, install-gc, install-util |
|
|
## Nothing to do for now. |
## Nothing to do for now. |
## If you change this file, do not forget to run autoconf and remove .configure_done |
## If you change this file, do not forget to run autoconf and remove .configure_done |
######### configurations. |
######### configurations. |
OpenXM_HOME=../.. |
#OpenXM_HOME=../.. |
|
OpenXM_HOME=@prefix@ |
Kan96xx=../kan96xx |
Kan96xx=../kan96xx |
OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib |
|
OpenXM_bin=${OpenXM_HOME}/bin |
OpenXM_bin=${OpenXM_HOME}/bin |
OpenXM_lib=${OpenXM_HOME}/lib |
OpenXM_lib=${OpenXM_HOME}/lib |
OpenXM_include=${OpenXM_HOME}/include |
OpenXM_include=${OpenXM_HOME}/include |
OXWEAVE=${OpenXM_bin}/oxweave |
OXWEAVE=${OpenXM_bin}/oxweave |
KANLIB = ${Kan96xx}/Kan/kanlib.a ${OpenXM_lib}/libgmp.a ${OpenXM_lib}/libgc.a |
KANLIB = ${Kan96xx}/Kan/kanlib.a -L${OpenXM_lib} -lgmp -lgc |
|
# |
|
OpenXM_HOME_for_debug=../.. |
|
OpenXM_bin_for_debug=${OpenXM_HOME_for_debug}/bin |
|
OpenXM_lib_for_debug=${OpenXM_HOME_for_debug}/lib |
|
OpenXM_include_for_debug=${OpenXM_HOME_for_debug}/include |
########## end of configurations |
########## end of configurations |
CC=@CC@ |
CC=@CC@ |
RANLIB=@RANLIB@ |
RANLIB=@RANLIB@ |
|
|
### Set the server name in oxmain.c if you do not use the environmental |
### Set the server name in oxmain.c if you do not use the environmental |
### variable LOAD_SM1_PATH. cf. $Kan96xx/lib/ox.sm1 |
### variable LOAD_SM1_PATH. cf. $Kan96xx/lib/ox.sm1 |
|
|
all : configure ox ox_sm1 oxlog ox100start |
all : configure ox ox_sm1 oxlog ox100start ox_texmacs |
|
|
all2 : ox ox_sm1 testclient oxlog |
all2 : ox ox_sm1 testclient oxlog |
|
|
Line 108 testclient2 : testclient2.o ${Kan96xx}/Kan/kanlib.a ox |
|
Line 113 testclient2 : testclient2.o ${Kan96xx}/Kan/kanlib.a ox |
|
${CC} ${CFLAGS} -I${Kan96xx}/Kan testclient2.c -o testclient2 ${LIBS} ${KANLIB} |
${CC} ${CFLAGS} -I${Kan96xx}/Kan testclient2.c -o testclient2 ${LIBS} ${KANLIB} |
testclient2.o: testclient.c ox_kan.h |
testclient2.o: testclient.c ox_kan.h |
|
|
|
ox_texmacs: ox_texmacs.o ${Kan96xx}/Kan/kanlib.a |
|
${CC} ${STATIC_LINK_FLAG} ${CFLAGS} ox_texmacs.o -o ox_texmacs ${LIBS} ${KANLIB} |
|
|
clean-done: |
clean-done: |
-${RM} -f .configure_done |
-${RM} -f .configure_done |
clean: clean-done |
clean: clean-done |
-${RM} -f ox testclient ox_null ox_sm1 testclient2 core *.o a.out *.dvi *.aux openxxx.log ox_sm1 oxlog *~ openxm-eg.tex openxm-jp.tex ox100start |
-${RM} -f ox testclient ox_null ox_sm1 testclient2 core *.o a.out *.dvi *.aux openxxx.log ox_sm1 oxlog *~ openxm-eg.tex openxm-jp.tex ox100start .prog.ox100bin* .in.ox100bin* ox_texmacs |
distclean : clean clean-for-install |
distclean : clean clean-for-install |
/bin/rm -f config.status config.cache config.log |
/bin/rm -f config.status config.cache config.log |
|
|
## install targets. |
## install targets. |
install-for-debug : clean-for-install install_lib_bin-for-debug |
install-for-debug : clean-for-install install_lib_bin-for-debug |
${RM} -f ../bin/ox ../bin/ox_sm1 ../bin/oxlog ../bin/ox100start |
${RM} -f ${OpenXM_bin_for_debug}/ox ${OpenXM_bin_for_debug}/ox_sm1 ${OpenXM_bin_for_debug}/oxlog ${OpenXM_bin_for_debug}/ox100start ${OpenXM_bin_for_debug}/ox_texmacs |
ln -f -s ../src/kxx/ox ../bin/ox |
ln -f -s ../src/kxx/ox ${OpenXM_bin_for_debug}/ox |
ln -f -s ../src/kxx/ox_sm1 ../bin/ox_sm1 |
ln -f -s ../src/kxx/ox_sm1 ${OpenXM_bin_for_debug}/ox_sm1 |
ln -f -s ../src/kxx/oxlog ../bin/oxlog |
ln -f -s ../src/kxx/oxlog ${OpenXM_bin_for_debug}/oxlog |
ln -f -s ../src/kxx/ox100start ../bin/ox100start |
ln -f -s ../src/kxx/ox100start ${OpenXM_bin_for_debug}/ox100start |
|
ln -f -s ../src/kxx/ox_texmacs ${OpenXM_bin_for_debug}/ox_texmacs |
|
|
install_lib_bin-for-debug : |
install_lib_bin-for-debug : |
ln -f -s ../src/kan96xx/Doc ${OpenXM_lib}/sm1 |
ln -f -s ../src/kan96xx/Doc ${OpenXM_lib_for_debug}/sm1 |
${RM} -f ${OpenXM_lib}/sm1/bin/ox* |
${RM} -f ${OpenXM_lib_for_debug}/sm1/bin/ox* |
ln -f -s ../../../bin/ox ${OpenXM_lib}/sm1/bin/ox |
ln -f -s ../../../../bin/ox ${OpenXM_lib_for_debug}/sm1/bin/ox |
ln -f -s ../../../bin/oxlog ${OpenXM_lib}/sm1/bin/oxlog |
ln -f -s ../../../../bin/oxlog ${OpenXM_lib_for_debug}/sm1/bin/oxlog |
ln -f -s ../../../bin/ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1 |
ln -f -s ../../../../bin/ox_sm1 ${OpenXM_lib_for_debug}/sm1/bin/ox_sm1 |
ln -f -s ./ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_forAsir |
ln -f -s ./ox_sm1 ${OpenXM_lib_for_debug}/sm1/bin/ox_sm1_forAsir |
ln -f -s ./ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_gnuplot |
ln -f -s ./ox_sm1 ${OpenXM_lib_for_debug}/sm1/bin/ox_sm1_gnuplot |
ln -f -s ./ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_phc |
ln -f -s ./ox_sm1 ${OpenXM_lib_for_debug}/sm1/bin/ox_sm1_phc |
ln -f -s ./ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_tigers |
ln -f -s ./ox_sm1 ${OpenXM_lib_for_debug}/sm1/bin/ox_sm1_tigers |
ln -f -s ./ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_basicCD |
ln -f -s ./ox_sm1 ${OpenXM_lib_for_debug}/sm1/bin/ox_sm1_basicCD |
install: install-exec |
install: install-exec |
install-exec: copy-kan-lib install_lib_bin |
install-exec: copy-kan-lib install_lib_bin |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
install ox ox_sm1 oxlog ox100start ox_texmacs ${OpenXM_bin} |
cp -f ox.exe ox_sm1.exe oxlog.exe ox100start.exe ${OpenXM_bin} ; \ |
|
else \ |
|
cp -f ox ox_sm1 oxlog ox100start ${OpenXM_bin} ; \ |
|
fi |
|
install_lib_bin: |
install_lib_bin: |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
make install_lib_bin_windows ; \ |
make install_lib_bin_windows ; \ |
Line 161 install_lib_bin_unix: |
|
Line 165 install_lib_bin_unix: |
|
install_lib_bin_windows : |
install_lib_bin_windows : |
-mkdir ${OpenXM_lib}/sm1/bin |
-mkdir ${OpenXM_lib}/sm1/bin |
${RM} -f ${OpenXM_lib}/sm1/bin/ox* |
${RM} -f ${OpenXM_lib}/sm1/bin/ox* |
|
install ox ${OpenXM_lib}/sm1/bin/ox |
|
install oxlog ${OpenXM_lib}/sm1/bin/oxlog |
|
install ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1 |
|
install ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_forAsir |
|
install ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_gnuplot |
|
install ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_phc |
|
install ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_tigers |
|
install ox_sm1 ${OpenXM_lib}/sm1/bin/ox_sm1_basicCD |
|
#obsolete, it should be removed later |
|
install_lib_bin_windows_old : |
|
-mkdir ${OpenXM_lib}/sm1/bin |
|
${RM} -f ${OpenXM_lib}/sm1/bin/ox* |
cp ox.exe ${OpenXM_lib}/sm1/bin/ox.exe |
cp ox.exe ${OpenXM_lib}/sm1/bin/ox.exe |
cp oxlog.exe ${OpenXM_lib}/sm1/bin/oxlog.exe |
cp oxlog.exe ${OpenXM_lib}/sm1/bin/oxlog.exe |
cp ox_sm1.exe ${OpenXM_lib}/sm1/bin/ox_sm1.exe |
cp ox_sm1.exe ${OpenXM_lib}/sm1/bin/ox_sm1.exe |
Line 189 copy-kan-lib : clean-for-install |
|
Line 205 copy-kan-lib : clean-for-install |
|
cp ${Kan96xx}/Kan/var.sm1 ${OpenXM_lib}/sm1 |
cp ${Kan96xx}/Kan/var.sm1 ${OpenXM_lib}/sm1 |
clean-for-install : |
clean-for-install : |
-/bin/rm -rf ${OpenXM_lib}/sm1 |
-/bin/rm -rf ${OpenXM_lib}/sm1 |
-/bin/rm -rf ${OpenXM_bin}/oxlog ${OpenXM_bin}/ox_sm1 ${OpenXM_bin}/ox ${OpenXM_bin}/ox100start |
-/bin/rm -rf ${OpenXM_bin}/oxlog ${OpenXM_bin}/ox_sm1 ${OpenXM_bin}/ox ${OpenXM_bin}/ox100start ${OpenXM_bin}/ox_texmacs |
|
|
|
|
|
|