=================================================================== RCS file: /home/cvs/OpenXM/src/kxx/Makefile.in,v retrieving revision 1.44 retrieving revision 1.46 diff -u -p -r1.44 -r1.46 --- OpenXM/src/kxx/Makefile.in 2016/03/31 05:27:34 1.44 +++ OpenXM/src/kxx/Makefile.in 2016/09/19 07:50:02 1.46 @@ -1,4 +1,4 @@ -## $OpenXM: OpenXM/src/kxx/Makefile.in,v 1.43 2016/03/30 08:25: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] # install-gmp, install-gc, install-util # @@ -22,7 +22,9 @@ OpenXM_bin=${OpenXM_HOME}/bin OpenXM_lib=${OpenXM_HOME}/lib OpenXM_include=${OpenXM_HOME}/include 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 @@ -115,6 +117,9 @@ 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} + +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: -${RM} -f .configure_done