version 1.1, 2003/09/02 03:24:50 |
version 1.12, 2021/03/24 04:58:32 |
|
|
#$OpenXM$ |
#$OpenXM: OpenXM/src/kan96xx/plugin/Makefile.in,v 1.11 2020/10/06 11:33:47 takayama Exp $ |
# |
# |
# depends on install-gmp |
# depends on install-gmp |
# The source directory of gmp must exist. |
# The source directory of gmp must exist. |
# |
# |
OpenXM_HOME=../../.. |
OpenXM_HOME=@prefix@ |
OpenXM_include=${OpenXM_HOME}/include |
OpenXM_include=${OpenXM_HOME}/include |
OpenXM_contrib=${OpenXM_HOME}/../OpenXM_contrib |
# |
|
OpenXM_HOME_debug=../../.. |
|
OpenXM_contrib=${OpenXM_HOME_debug}/../OpenXM_contrib |
Kan96xx=.. |
Kan96xx=.. |
Gmp_sourcedir=${OpenXM_contrib}/gmp |
Gmp_sourcedir=${OpenXM_contrib}/gmp |
|
|
|
|
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} $@ |
|
|
${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 96 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 cmptag.htmp \ |
ox.h ox.hh ox_kan.h |
ox.h ox.hh ox_kan.h |
|
distclean: clean |
|
${RM} -f Makefile |