=================================================================== RCS file: /home/cvs/OpenXM/src/kxx/Makefile.in,v retrieving revision 1.32 retrieving revision 1.44 diff -u -p -r1.32 -r1.44 --- OpenXM/src/kxx/Makefile.in 2004/06/24 11:59:22 1.32 +++ OpenXM/src/kxx/Makefile.in 2016/03/31 05:27:34 1.44 @@ -1,5 +1,4 @@ -## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.31 2004/06/23 23:04:10 takayama Exp $ -# +## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.43 2016/03/30 08:25:44 takayama Exp $ # Depends on all-kan96xx [source tree of kan96xx at ${Kan96xx} is required] # install-gmp, install-gc, install-util # @@ -29,11 +28,14 @@ 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 CC=@CC@ RANLIB=@RANLIB@ 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= RM=rm @@ -58,8 +60,6 @@ configure-old : Makefile.in configure.in # autoconf # .error "Run ./make-configure" -.c.o: - ${CC} ${CFLAGS} -I${OpenXM_include} -c $< ox.a: ${Kan96xx}/plugin/ox.a /bin/rm -f ox.a ln -s ${Kan96xx}/plugin/ox.a ox.a @@ -67,12 +67,12 @@ ox_kan.h: ${Kan96xx}/plugin/ox_kan.h /bin/rm -f 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 - ${CC} ${STATIC_LINK_FLAG} ${CFLAGS} oxmain.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o -o ox ${LIBS} +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 ${MYSIG} file2.o -o ox ${LIBS} oxmain.o: oxmain.c ox_kan.h serversm.h 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 xtag.o: xtag.c oxd-thread: oxd-thread.o xtag.o ${Kan96xx}/plugin/mytcpio.o ${Kan96xx}/plugin/oxmisc.o file2.o @@ -90,8 +90,8 @@ oxlog: oxlog.o ${CC} ${STATIC_LINK_FLAG} -o oxlog oxlog.o oxlog.o: oxlog.c -ox100start : ox100start.o ${OpenXM_lib}/libox_pathfinder.a - ${CC} -I${OpenXM_include} ${STATIC_LINK_FLAG} -o ox100start ox100start.c -L${OpenXM_lib} -lox_pathfinder +ox100start : ox100start.o ${OpenXM_lib}/libox_pathfinder.a ${MYSIG} + ${CC} -I${OpenXM_include} ${STATIC_LINK_FLAG} -o ox100start ox100start.c ${MYSIG} -L${OpenXM_lib} -lox_pathfinder ox100start.o: ox100start.c file2.o: ${Kan96xx}/plugin/file2.c ${Kan96xx}/plugin/file2.h @@ -149,6 +149,8 @@ install-exec: copy-kan-lib install_lib_bin install_lib_bin: if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ make install_lib_bin_windows ; \ + elif [ "`uname | sed -e 's/_.*$$//'`" = "MSYS" ]; then \ + make install_lib_bin_windows ; \ else \ make install_lib_bin_unix ; \ fi @@ -196,6 +198,7 @@ copy-kan-lib : clean-for-install touch ${OpenXM_lib}/sm1/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_COPIED_FROM_kan96xx_Doc -if [ "`uname | sed -e 's/_.*$$//'`" = "CYGWIN" ]; then \ cp ${Kan96xx}/Doc/* ${OpenXM_lib}/sm1 ; \ + cp -r ${Kan96xx}/Doc/Resource ${OpenXM_lib}/sm1 ; \ mkdir ${OpenXM_lib}/sm1/bin ; \ else \ cp -r ${Kan96xx}/Doc/* ${OpenXM_lib}/sm1 ; \