version 1.40, 2008/01/12 11:26:16 |
version 1.48, 2020/10/07 07:47:23 |
|
|
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.39 2006/10/08 23:49:18 takayama Exp $ |
## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.47 2016/09/20 04:47:36 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 |
# |
# |
Line 22 OpenXM_bin=${OpenXM_HOME}/bin |
|
Line 22 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 -Wl,-no_pie |
|
KANLIB=@KANLIB@ |
# |
# |
OpenXM_HOME_for_debug=../.. |
OpenXM_HOME_for_debug=../.. |
OpenXM_bin_for_debug=${OpenXM_HOME_for_debug}/bin |
OpenXM_bin_for_debug=${OpenXM_HOME_for_debug}/bin |
OpenXM_lib_for_debug=${OpenXM_HOME_for_debug}/lib |
OpenXM_lib_for_debug=${OpenXM_HOME_for_debug}/lib |
OpenXM_include_for_debug=${OpenXM_HOME_for_debug}/include |
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 -D_DEFAULT_SOURCE -I${OpenXM_include} |
# University binary is no longer supported. See old configure.in (version 1.7) |
# University binary is no longer supported. See old configure.in (version 1.7) |
#CFLAG2 = @CFLAG2@ |
|
#CFLAG2p = @CFLAG2p@ |
|
CFLAG2 = |
|
CFLAG2p = |
|
# Or use "lipo -create ox-i386 ox-ppc -output ox" |
# Or use "lipo -create ox-i386 ox-ppc -output ox" |
#STATIC_LINK_FLAG=-static |
#STATIC_LINK_FLAG=-static |
STATIC_LINK_FLAG= |
STATIC_LINK_FLAG= |
Line 63 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} ${CFLAG2} -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 72 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} ${CFLAG2p} 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} -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 |
${CC} $(CFLAGS) ${CFLAG2} -DKXX=1 -I${Kan96xx}/plugin -c ${Kan96xx}/plugin/file2.c |
${CC} $(CFLAGS) -DKXX=1 -I${Kan96xx}/plugin -c ${Kan96xx}/plugin/file2.c |
|
|
nullstackmachine.o: nullstackmachine.c ox_kan.h |
nullstackmachine.o: nullstackmachine.c ox_kan.h |
sm1stackmachine.o: sm1stackmachine.c ox_kan.h |
sm1stackmachine.o: sm1stackmachine.c ox_kan.h |
Line 121 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 |
Line 153 install-exec: copy-kan-lib install_lib_bin |
|
Line 153 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} |
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 ; \ |
|
elif [ "`uname | sed -e 's/_.*$$//'`" = "MSYS" ]; then \ |
make install_lib_bin_windows ; \ |
make install_lib_bin_windows ; \ |
else \ |
else \ |
make install_lib_bin_unix ; \ |
make install_lib_bin_unix ; \ |