version 1.1, 2001/05/20 07:48:19 |
version 1.5, 2003/07/21 12:41:24 |
|
|
### $OpenXM$ |
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile.in,v 1.4 2003/07/17 12:32:08 takayama Exp $ |
all : sm1 |
all : sm1 |
# .SUFFIXES: |
# .SUFFIXES: |
########################## configuration ############################## |
########################## configuration ############################## |
TOPDIR=../../../../OpenXM |
TOPDIR=../../../../OpenXM |
OpenXM_HOME=${TOPDIR} |
OpenXM_HOME=${TOPDIR} |
OpenXM_include=$(OpenXM_HOME)/include |
OpenXM_include=$(OpenXM_HOME)/include |
|
OpenXM_lib=$(OpenXM_HOME)/lib |
#### What C compiler do you use? |
#### What C compiler do you use? |
CC = gcc |
CC = gcc |
#### Gargabe collector? If GC = nogc.c, then you need to define -DNOGC. |
#### Gargabe collector? If GC = nogc.c, then you need to define -DNOGC. |
Line 18 STATIC_LINK_FLAG = |
|
Line 19 STATIC_LINK_FLAG = |
|
|
|
#### Optimization level etc. |
#### Optimization level etc. |
#CFLAGS = |
#CFLAGS = |
#### option for dbx |
#### option for gdb CFLAGS = -g |
CFLAGS = -O |
CFLAGS = -O |
#### optimizer which seems not to be reliable at level 2,3 and 4. |
#### optimizer which seems not to be reliable at level 2,3 and 4. |
#CFLAGS = -O |
#CFLAGS = -O |
Line 87 kanlibS1 = stackmachine.o |
|
Line 88 kanlibS1 = stackmachine.o |
|
kanlibS2 = scanner.o scanner2.o list.o global.o kclass.o |
kanlibS2 = scanner.o scanner2.o list.o global.o kclass.o |
kanlibS3 = usage.o option.o |
kanlibS3 = usage.o option.o |
kanlibS4 = primitive.o |
kanlibS4 = primitive.o |
kanlibK = matrix.o poly4.o replace.o poly3.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 |
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 |
|
|
##### Add also to Kclass/Makefile |
##### Add also to Kclass/Makefile |
Line 110 gbGM.o : extern2.h gradedset.h $(HEADERS) |
|
Line 111 gbGM.o : extern2.h gradedset.h $(HEADERS) |
|
gb.o : extern2.h gradedset.h $(HEADERS) |
gb.o : extern2.h gradedset.h $(HEADERS) |
red.o : extern2.h gradedset.h $(HEADERS) |
red.o : extern2.h gradedset.h $(HEADERS) |
gradedset.o : extern2.h gradedset.h $(HEADERS) |
gradedset.o : extern2.h gradedset.h $(HEADERS) |
|
ecart.o : extern2.h gradedset.h $(HEADERS) |
|
|
######## |
######## |
matrix.o : extern2.h matrix.h $(HEADERS) |
matrix.o : extern2.h matrix.h $(HEADERS) |
poly4.o : extern2.h matrix.h $(HEADERS) |
poly4.o : extern2.h matrix.h $(HEADERS) |
replace3.o : extern2.h $(HEADERS) |
replace3.o : extern2.h $(HEADERS) |
poly3.o : extern2.h $(HEADERS) |
poly3.o : extern2.h $(HEADERS) |
|
poly3a.o : extern2.h $(HEADERS) |
parserpass0.o : extern2.h $(HEADERS) |
parserpass0.o : extern2.h $(HEADERS) |
parser.o : extern2.h $(HEADERS) |
parser.o : extern2.h $(HEADERS) |
poly2.o : extern2.h $(HEADERS) |
poly2.o : extern2.h $(HEADERS) |
Line 145 $(kanlibS3) : $(HEADERS) gradedset.h extern2.h |
|
Line 148 $(kanlibS3) : $(HEADERS) gradedset.h extern2.h |
|
$(kanlibS4) : $(HEADERS) gradedset.h |
$(kanlibS4) : $(HEADERS) gradedset.h |
|
|
|
|
kanlib.a : $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) kanlib.o |
kanlib.a : $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) kanlib.o ${OpenXM_lib}/libox_pathfinder.a |
(cd plugin-tmp; /bin/rm -f *.o; ../ar-decomp $(PLUGIN_LIB) ; cp ../kanlib.o .) |
(cd plugin-tmp; /bin/rm -f *.o; ../ar-decomp $(PLUGIN_LIB) ; cp ../kanlib.o .) |
|
(cd plugin-tmp; ../ar-decomp ${OpenXM_lib}/libox_pathfinder.a) |
ar ru kanlib.a $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) plugin-tmp/*.o |
ar ru kanlib.a $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) plugin-tmp/*.o |
../gc/if_not_there ../gc/on_sparc_sunos5 ranlib kanlib.a |
../gc/if_not_there ../gc/on_sparc_sunos5 ranlib kanlib.a |
|
|