=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/Makefile.in,v retrieving revision 1.1 retrieving revision 1.11 diff -u -p -r1.1 -r1.11 --- OpenXM/src/kan96xx/plugin/Makefile.in 2003/09/02 03:24:50 1.1 +++ OpenXM/src/kan96xx/plugin/Makefile.in 2020/10/06 11:33:47 1.11 @@ -1,11 +1,13 @@ -#$OpenXM$ +#$OpenXM: OpenXM/src/kan96xx/plugin/Makefile.in,v 1.10 2016/03/31 05:27:34 takayama Exp $ # # depends on install-gmp # The source directory of gmp must exist. # -OpenXM_HOME=../../.. +OpenXM_HOME=@prefix@ OpenXM_include=${OpenXM_HOME}/include -OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib +# +OpenXM_HOME_debug=../../.. +OpenXM_contrib=${OpenXM_HOME_debug}/../OpenXM_contrib Kan96xx=.. Gmp_sourcedir=${OpenXM_contrib}/gmp @@ -15,18 +17,14 @@ 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 -all: configure cmo.a file2.a ox.a sample.a sm1Socket.a +all: configure cmo.a file2.a ox.a sample.a sm1Socket.a oxxml.a oxcgi.a configure: Makefile Makefile: Makefile.in ./configure -## .SUFFIXES: -.c.o: - ${CC} ${CFLAGS} -c $< - cmo.a: cmo.o cmo-gmp.o $(AR) ru $@ $? ${RANLIB} $@ @@ -56,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 + +ox.a: mytcpio.o oxmisc.o oxmisc2.o ${OpenXM_HOME}/lib/mysig.o ${AR} ru $@ $? ${RANLIB} $@ @@ -73,15 +73,16 @@ 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 sample.a: sample.o @@ -96,8 +97,21 @@ sm1Socket.a: sm1Socket.o sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c +oxxml.a: oxxml.o + ${AR} ru oxxml.a oxxml.o + ${RANLIB} oxxml.a +oxxml.o: oxxml.h oxxml.hh oxxml.c + +oxcgi.a: oxcgi.o + ${AR} ru oxcgi.a oxcgi.o + ${RANLIB} oxcgi.a + +oxcgi.o: oxcgi.h oxcgi.hh oxcgi.c + + clean: ${RM} -f *.a *.o a.out cmo.h cmotag.hh cmotagToName cmptag.htmp \ ox.h ox.hh ox_kan.h - +distclean: clean + ${RM} -f Makefile