version 1.29, 2004/03/01 09:48:45 |
version 1.41, 2010/08/18 07:23:32 |
|
|
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.28 2004/02/29 03:00:37 takayama Exp $ |
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.40 2008/01/12 11:26:16 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 = ${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@ |
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 |
Line 43 all2 : ox ox_sm1 testclient oxlog |
|
Line 49 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 59 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 67 ox: oxmain.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/pl |
|
Line 71 ox: oxmain.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/pl |
|
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 |
Line 120 distclean : clean clean-for-install |
|
Line 124 distclean : clean clean-for-install |
|
|
|
## 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 ${OpenXM_bin}/ox_texmacs |
${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}/ox_texmacs |
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 ox_texmacs ${OpenXM_bin} |
install ox ox_sm1 oxlog ox100start ox_texmacs ${OpenXM_bin} |
Line 191 copy-kan-lib : clean-for-install |
|
Line 195 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 ; \ |