version 1.28, 2004/02/29 03:00:37 |
version 1.46, 2016/09/19 07:50:02 |
|
|
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.27 2003/11/20 11:41:44 takayama Exp $ |
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.45 2016/03/31 06:34:29 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 -L${OpenXM_lib} -lgmp -lgc |
KANLIB_SHARED = ${Kan96xx}/Kan/kanlib.a -L${OpenXM_lib} -lgmp -lgc |
|
KANLIB_STATIC = ${Kan96xx}/Kan/kanlib.a -L${OpenXM_lib} ${OpenXM_lib}/libgmp.a ${OpenXM_lib}/libgc.a |
|
KANLIB=@KANLIB@ |
|
# |
|
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 |
|
MYSIG=${OpenXM_lib}/mysig.o |
########## end of configurations |
########## end of configurations |
CC=@CC@ |
CC=@CC@ |
RANLIB=@RANLIB@ |
RANLIB=@RANLIB@ |
LIBS=@LIBS@ |
LIBS=@LIBS@ |
CFLAGS = @CFLAGS@ -g -D_BSD_SOURCE |
CFLAGS = @CFLAGS@ -g -D_BSD_SOURCE -I${OpenXM_include} |
|
# University binary is no longer supported. See old configure.in (version 1.7) |
|
# Or use "lipo -create ox-i386 ox-ppc -output ox" |
#STATIC_LINK_FLAG=-static |
#STATIC_LINK_FLAG=-static |
STATIC_LINK_FLAG= |
STATIC_LINK_FLAG= |
RM=rm |
RM=rm |
|
|
### 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 |
|
|
configure: Makefile |
configure: Makefile |
|
|
Makefile: Makefile.in |
Makefile: Makefile.in |
./configure |
(rm -f .configure_done ; ./make-configure) |
|
|
# configure is added to repo for a while. |
# configure is added to repo for a while. |
configure-old : Makefile.in configure.in |
configure-old : Makefile.in configure.in |
Line 53 configure-old : Makefile.in configure.in |
|
Line 62 configure-old : Makefile.in configure.in |
|
# autoconf |
# autoconf |
# .error "Run ./make-configure" |
# .error "Run ./make-configure" |
|
|
.c.o: |
|
${CC} ${CFLAGS} -I${OpenXM_include} -c $< |
|
ox.a: ${Kan96xx}/plugin/ox.a |
ox.a: ${Kan96xx}/plugin/ox.a |
/bin/rm -f ox.a |
/bin/rm -f ox.a |
ln -s ${Kan96xx}/plugin/ox.a ox.a |
ln -s ${Kan96xx}/plugin/ox.a ox.a |
Line 62 ox_kan.h: ${Kan96xx}/plugin/ox_kan.h |
|
Line 69 ox_kan.h: ${Kan96xx}/plugin/ox_kan.h |
|
/bin/rm -f ox_kan.h |
/bin/rm -f ox_kan.h |
ln -s ${Kan96xx}/plugin/ox_kan.h ox_kan.h |
ln -s ${Kan96xx}/plugin/ox_kan.h ox_kan.h |
|
|
ox: oxmain.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o |
ox: oxmain.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o ${MYSIG} file2.o |
${CC} ${STATIC_LINK_FLAG} ${CFLAGS} oxmain.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o -o ox ${LIBS} |
${CC} ${STATIC_LINK_FLAG} ${CFLAGS} oxmain.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o ${MYSIG} file2.o -o ox ${LIBS} |
oxmain.o: oxmain.c ox_kan.h serversm.h |
oxmain.o: oxmain.c ox_kan.h serversm.h |
|
|
oxd: oxd.o xtag.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o |
oxd: oxd.o xtag.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o |
${CC} ${STATIC_LINK_FLAG} ${CFLAGS} oxd.o xtag.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o -o oxd ${LIBS} |
${CC} ${STATIC_LINK_FLAG} ${CFLAGS} oxd.o xtag.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o -o oxd ${LIBS} -L{OpenXM_lib} -lgc |
oxd.o: oxd.c ox_kan.h serversm.h |
oxd.o: oxd.c ox_kan.h serversm.h |
xtag.o: xtag.c |
xtag.o: xtag.c |
oxd-thread: oxd-thread.o xtag.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o |
oxd-thread: oxd-thread.o xtag.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o |
|
|
${CC} ${STATIC_LINK_FLAG} -o oxlog oxlog.o |
${CC} ${STATIC_LINK_FLAG} -o oxlog oxlog.o |
oxlog.o: oxlog.c |
oxlog.o: oxlog.c |
|
|
ox100start : ox100start.o ${OpenXM_lib}/libox_pathfinder.a |
ox100start : ox100start.o ${OpenXM_lib}/libox_pathfinder.a ${MYSIG} |
${CC} -I${OpenXM_include} ${STATIC_LINK_FLAG} -o ox100start ox100start.c -L${OpenXM_lib} -lox_pathfinder |
${CC} -I${OpenXM_include} ${STATIC_LINK_FLAG} -o ox100start ox100start.c ${MYSIG} -L${OpenXM_lib} -lox_pathfinder |
ox100start.o: ox100start.c |
ox100start.o: ox100start.c |
|
|
file2.o: ${Kan96xx}/plugin/file2.c ${Kan96xx}/plugin/file2.h |
file2.o: ${Kan96xx}/plugin/file2.c ${Kan96xx}/plugin/file2.h |
Line 111 testclient2.o: testclient.c ox_kan.h |
|
Line 118 testclient2.o: testclient.c ox_kan.h |
|
ox_texmacs: ox_texmacs.o ${Kan96xx}/Kan/kanlib.a |
ox_texmacs: ox_texmacs.o ${Kan96xx}/Kan/kanlib.a |
${CC} ${STATIC_LINK_FLAG} ${CFLAGS} ox_texmacs.o -o ox_texmacs ${LIBS} ${KANLIB} |
${CC} ${STATIC_LINK_FLAG} ${CFLAGS} ox_texmacs.o -o ox_texmacs ${LIBS} ${KANLIB} |
|
|
|
sample_kanlib: sample_kanlib.c |
|
${CC} -O2 -g -D_BSD_SOURCE -I${OpenXM_include} sample_kanlib.c -o sample_kanlib -ldl ../kan96xx/Kan/kanlib.a -L../../lib -lgmp -lgc |
|
|
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 .prog.ox100bin* .in.ox100bin* |
-${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 ${OpenXM_bin}/ox ${OpenXM_bin}/ox_sm1 ${OpenXM_bin}/oxlog ${OpenXM_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 ${OpenXM_bin}/ox |
ln -f -s ../src/kxx/ox ${OpenXM_bin_for_debug}/ox |
ln -f -s ../src/kxx/ox_sm1 ${OpenXM_bin}/ox_sm1 |
ln -f -s ../src/kxx/ox_sm1 ${OpenXM_bin_for_debug}/ox_sm1 |
ln -f -s ../src/kxx/oxlog ${OpenXM_bin}/oxlog |
ln -f -s ../src/kxx/oxlog ${OpenXM_bin_for_debug}/oxlog |
ln -f -s ../src/kxx/ox100start ${OpenXM_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 |
install ox ox_sm1 oxlog ox100start ${OpenXM_bin} |
install ox ox_sm1 oxlog ox100start ox_texmacs ${OpenXM_bin} |
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 ; \ |
|
elif [ "`uname | sed -e 's/_.*$$//'`" = "MSYS" ]; then \ |
|
make install_lib_bin_windows ; \ |
else \ |
else \ |
make install_lib_bin_unix ; \ |
make install_lib_bin_unix ; \ |
fi |
fi |
Line 190 copy-kan-lib : clean-for-install |
|
Line 203 copy-kan-lib : clean-for-install |
|
touch ${OpenXM_lib}/sm1/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_COPIED_FROM_kan96xx_Doc |
touch ${OpenXM_lib}/sm1/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_COPIED_FROM_kan96xx_Doc |
-if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
-if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ |
cp ${Kan96xx}/Doc/* ${OpenXM_lib}/sm1 ; \ |
cp ${Kan96xx}/Doc/* ${OpenXM_lib}/sm1 ; \ |
|
cp -r ${Kan96xx}/Doc/Resource ${OpenXM_lib}/sm1 ; \ |
mkdir ${OpenXM_lib}/sm1/bin ; \ |
mkdir ${OpenXM_lib}/sm1/bin ; \ |
else \ |
else \ |
cp -r ${Kan96xx}/Doc/* ${OpenXM_lib}/sm1 ; \ |
cp -r ${Kan96xx}/Doc/* ${OpenXM_lib}/sm1 ; \ |
Line 199 copy-kan-lib : clean-for-install |
|
Line 213 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 |
|
|
|
|
|
|