=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/Makefile.in,v retrieving revision 1.8 retrieving revision 1.13 diff -u -p -r1.8 -r1.13 --- OpenXM/src/kan96xx/plugin/Makefile.in 2016/03/30 08:25:43 1.8 +++ OpenXM/src/kan96xx/plugin/Makefile.in 2022/09/08 10:49:30 1.13 @@ -1,4 +1,4 @@ -#$OpenXM: OpenXM/src/kan96xx/plugin/Makefile.in,v 1.7 2010/08/18 07:23:32 ohara Exp $ +#$OpenXM: OpenXM/src/kan96xx/plugin/Makefile.in,v 1.12 2021/03/24 04:58:32 takayama Exp $ # # depends on install-gmp # The source directory of gmp must exist. @@ -17,7 +17,7 @@ RM=rm CC=@CC@ RANLIB=@RANLIB@ #CFLAGS+=-g -I${OpenXM_include} -I${Kan96xx}/Kan -D_BSD_SOURCE -CFLAGS=@CFLAGS@ -g -I${OpenXM_include} -I${Kan96xx}/Kan -D_BSD_SOURCE +CFLAGS=@CFLAGS@ -g -I${OpenXM_include} -I${Kan96xx}/Kan -D_DEFAULT_SOURCE -D_BSD_SOURCE -fcommon all: configure cmo.a file2.a ox.a sample.a sm1Socket.a oxxml.a oxcgi.a configure: Makefile @@ -36,7 +36,7 @@ cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmo oxMessageTag.h oxFunctionId.h ${CC} ${CFLAGS} -I${Gmp_sourcedir} -c cmo-gmp.c -cmotag.htmp: cmotagToName +gen-cmotag.htmp: cmotagToName $(RM) -f cmotag.htmp ./cmotagToName > cmotag.htmp @@ -54,8 +54,10 @@ file2.a: file2.o ${RANLIB} $@ file2.o: file2.h file2.c + ${CC} ${CFLAGS} -I${OpenXM_include} -c file2.c -ox.a: mytcpio.o oxmisc.o oxmisc2.o mysig.o + +ox.a: mytcpio.o oxmisc.o oxmisc2.o ${OpenXM_HOME}/lib/mysig.o ${AR} ru $@ $? ${RANLIB} $@ @@ -71,17 +73,17 @@ ox.hh: oxx.hh @cat oxx.hh >> ox.hh -ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h +ox_kan.h: cmotag.h file2.h mathcap.h oxFunctionId.h oxMessageTag.h oxKan0.h ${OpenXM_HOME}/include/mysig.h @echo "Making ox_kan.h" @$(RM) -f ox_kan.h @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.h \ - oxKan0.h >> ox_kan.h + oxKan0.h ${OpenXM_HOME}/include/mysig.h >> ox_kan.h mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.c + ${CC} ${CFLAGS} -I${OpenXM_include} -c oxmisc.c oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c -mysig.o: mysig.h mysig.c sample.a: sample.o ${AR} ru $@ $? @@ -109,7 +111,7 @@ oxcgi.o: oxcgi.h oxcgi.hh oxcgi.c clean: - ${RM} -f *.a *.o a.out cmo.h cmotag.hh cmotagToName cmptag.htmp \ + ${RM} -f *.a *.o a.out cmo.h cmotag.hh cmotagToName \ ox.h ox.hh ox_kan.h distclean: clean ${RM} -f Makefile