| version 1.3, 2004/06/24 12:45:15 |
version 1.13, 2022/09/08 10:49:30 |
|
|
| #$OpenXM: OpenXM/src/kan96xx/plugin/Makefile.in,v 1.2 2003/09/11 00:52:06 takayama Exp $ |
#$OpenXM: OpenXM/src/kan96xx/plugin/Makefile.in,v 1.12 2021/03/24 04:58:32 takayama Exp $ |
| # |
# |
| # depends on install-gmp |
# depends on install-gmp |
| # The source directory of gmp must exist. |
# The source directory of gmp must exist. |
|
|
| CC=@CC@ |
CC=@CC@ |
| RANLIB=@RANLIB@ |
RANLIB=@RANLIB@ |
| #CFLAGS+=-g -I${OpenXM_include} -I${Kan96xx}/Kan -D_BSD_SOURCE |
#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 |
all: configure cmo.a file2.a ox.a sample.a sm1Socket.a oxxml.a oxcgi.a |
| configure: Makefile |
configure: Makefile |
| |
|
| Makefile: Makefile.in |
Makefile: Makefile.in |
| ./configure |
./configure |
| |
|
| ## .SUFFIXES: |
|
| .c.o: |
|
| ${CC} ${CFLAGS} -c $< |
|
| |
|
| cmo.a: cmo.o cmo-gmp.o |
cmo.a: cmo.o cmo-gmp.o |
| $(AR) ru $@ $? |
$(AR) ru $@ $? |
| ${RANLIB} $@ |
${RANLIB} $@ |
| Line 40 cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmo |
|
| Line 36 cmo-gmp.o: cmo.h cmo.c cmo-gmp.c file2.h mathcap.h cmo |
|
| oxMessageTag.h oxFunctionId.h |
oxMessageTag.h oxFunctionId.h |
| ${CC} ${CFLAGS} -I${Gmp_sourcedir} -c cmo-gmp.c |
${CC} ${CFLAGS} -I${Gmp_sourcedir} -c cmo-gmp.c |
| |
|
| cmotag.htmp: cmotagToName |
gen-cmotag.htmp: cmotagToName |
| $(RM) -f cmotag.htmp |
$(RM) -f cmotag.htmp |
| ./cmotagToName > cmotag.htmp |
./cmotagToName > cmotag.htmp |
| |
|
|
|
| ${RANLIB} $@ |
${RANLIB} $@ |
| |
|
| file2.o: file2.h file2.c |
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 $@ $? |
${AR} ru $@ $? |
| ${RANLIB} $@ |
${RANLIB} $@ |
| |
|
|
|
| @cat oxx.hh >> ox.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" |
@echo "Making ox_kan.h" |
| @$(RM) -f ox_kan.h |
@$(RM) -f ox_kan.h |
| @echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h |
@echo "/********* DO NOT EDIT THIS FILE *************/" > ox_kan.h |
| @cat mathcap.h file2.h cmotag.h oxMessageTag.h oxFunctionId.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 |
mytcpio.o: ox.h ox.hh ox_kan.h mytcpio.c |
| oxmisc.o: ox.h ox.hh ox_kan.h oxmisc.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 |
oxmisc2.o: cmo.h mathcap.h ox.h ox.hh ox_kan.h oxmisc2.c |
| |
|
| sample.a: sample.o |
sample.a: sample.o |
| Line 98 sm1Socket.a: sm1Socket.o |
|
| Line 97 sm1Socket.a: sm1Socket.o |
|
| |
|
| sm1Socket.o: sm1Socket.h sm1Socket.hh sm1Socket.c |
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: |
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 |
ox.h ox.hh ox_kan.h |
| distclean: clean |
distclean: clean |
| ${RM} -f Makefile |
${RM} -f Makefile |