version 1.9, 2003/09/11 00:52:05 |
version 1.13, 2003/11/24 02:33:39 |
|
|
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile.in,v 1.8 2003/09/02 03:31:12 takayama Exp $ |
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile.in,v 1.12 2003/11/24 02:13:40 takayama Exp $ |
# |
# |
# depends on install-gmp, install-gc [install-asir-gc] |
# depends on install-gmp, install-gc [install-asir-gc] |
# ( cd ../plugin ; make ) |
# ( cd ../plugin ; make ) |
Line 22 STATIC_LINK_FLAG = |
|
Line 22 STATIC_LINK_FLAG = |
|
#### option for gdb CFLAGS = -g, optimize -O, profile -p, -DNOGC |
#### option for gdb CFLAGS = -g, optimize -O, profile -p, -DNOGC |
CFLAGS = @CFLAGS@ -D_BSD_SOURCE |
CFLAGS = @CFLAGS@ -D_BSD_SOURCE |
|
|
|
|
|
|
################### Plugin modules |
################### Plugin modules |
#### (2) cmo, file2, socket |
#### (2) cmo, file2, socket |
PLUGIN = ../plugin |
PLUGIN = ../plugin |
Line 51 kanlibS3 = usage.o option.o |
|
Line 49 kanlibS3 = usage.o option.o |
|
kanlibS4 = primitive.o |
kanlibS4 = primitive.o |
kanlibK = matrix.o poly4.o replace.o poly3.o poly3a.o poly.o output.o coeff.o order.o switch.o poly2.o parser.o parserpass0.o rat.o ext.o |
kanlibK = matrix.o poly4.o replace.o poly3.o poly3a.o poly.o output.o coeff.o order.o switch.o poly2.o parser.o parserpass0.o rat.o ext.o |
kanlibK2 = gradedset.o red.o gb.o gbGM.o syz0.o redm.o sugar.o resol.o hilbert.o ecart.o |
kanlibK2 = gradedset.o red.o gb.o gbGM.o syz0.o redm.o sugar.o resol.o hilbert.o ecart.o |
kanlibKclass = Kclass/sample.o Kclass/rawcmo.o Kclass/indeterminate.o |
kanlibKclass = Kclass/sample.o Kclass/rawcmo.o Kclass/indeterminate.o Kclass/tree.o |
|
|
##### Add also to Kclass/Makefile |
##### Add also to Kclass/Makefile |
Kclass/sample.o : $(HEADERS) Kclass/sample.c |
Kclass/sample.o : $(HEADERS) Kclass/sample.c |
Line 60 Kclass/rawcmo.o : $(HEADERS) Kclass/rawcmo.c |
|
Line 58 Kclass/rawcmo.o : $(HEADERS) Kclass/rawcmo.c |
|
(cd Kclass ; make CC=${CC} OpenXM_HOME=../${OpenXM_HOME} CFLAGS='${CFLAGS}' rawcmo.o ) |
(cd Kclass ; make CC=${CC} OpenXM_HOME=../${OpenXM_HOME} CFLAGS='${CFLAGS}' rawcmo.o ) |
Kclass/indeterminate.o : $(HEADERS) Kclass/indeterminate.c |
Kclass/indeterminate.o : $(HEADERS) Kclass/indeterminate.c |
(cd Kclass ; make CC=${CC} OpenXM_HOME=../${OpenXM_HOME} CFLAGS='${CFLAGS}' indeterminate.o ) |
(cd Kclass ; make CC=${CC} OpenXM_HOME=../${OpenXM_HOME} CFLAGS='${CFLAGS}' indeterminate.o ) |
|
Kclass/tree.o : $(HEADERS) Kclass/tree.c |
|
(cd Kclass ; make CC=${CC} OpenXM_HOME=../${OpenXM_HOME} CFLAGS='${CFLAGS}' tree.o ) |
|
|
|
|
###### |
###### |
Line 89 coeff.o : extern2.h $(HEADERS) |
|
Line 89 coeff.o : extern2.h $(HEADERS) |
|
output.o : extern2.h $(HEADERS) |
output.o : extern2.h $(HEADERS) |
poly.o : extern2.h $(HEADERS) |
poly.o : extern2.h $(HEADERS) |
rat.o : extern2.h $(HEADERS) |
rat.o : extern2.h $(HEADERS) |
ext.o : extern2.h $(HEADERS) plugin.h plugin.hh |
ext.o : extern2.h $(HEADERS) plugin.h plugin.hh Kclass/tree.hh |
sm.o : sm.c $(HEADERS) |
sm.o : sm.c $(HEADERS) |
|
|
sm1 : sm.o $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) |
sm1 : sm.o $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) |
Line 140 plugin.h : Makefile $(PLUGIN_PROTOTYPE) |
|
Line 140 plugin.h : Makefile $(PLUGIN_PROTOTYPE) |
|
plugin.sm1 : Makefile $(PLUGIN_SM1) |
plugin.sm1 : Makefile $(PLUGIN_SM1) |
rm -f plugin.sm1 |
rm -f plugin.sm1 |
echo '%% Do not edit this file.' > plugin.sm1 |
echo '%% Do not edit this file.' > plugin.sm1 |
|
|
|
|
clean : |
clean : |
rm -f mklookup mm core sm1 lookup.h smacro.h *.o *~ *.a mon.out sm1.nogc kanlib.a plugin.h plugin.hh plugin-tmp/*.o Kclass/*.o Kclass/*~ makeconf makeconf.sed |
rm -f mklookup mm core sm1 lookup.h smacro.h *.o *~ *.a mon.out sm1.nogc kanlib.a plugin.h plugin.hh plugin-tmp/*.o Kclass/*.o Kclass/*~ makeconf makeconf.sed |