version 1.21, 2004/09/24 07:10:06 |
version 1.27, 2022/09/08 10:49:30 |
|
|
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile.in,v 1.20 2004/06/25 04:37:54 takayama Exp $ |
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile.in,v 1.26 2021/03/24 04:58:32 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 14 OpenXM_HOME_debug=../../.. |
|
Line 14 OpenXM_HOME_debug=../../.. |
|
OpenXM_include_debug=${OpenXM_HOME_debug}/include |
OpenXM_include_debug=${OpenXM_HOME_debug}/include |
OpenXM_lib_debug=${OpenXM_HOME_debug}/lib |
OpenXM_lib_debug=${OpenXM_HOME_debug}/lib |
|
|
|
AR=@AR@ |
CC=@CC@ |
CC=@CC@ |
RANLIB=@RANLIB@ |
RANLIB=@RANLIB@ |
LIBS=@LIBS@ |
LIBS=@LIBS@ |
LIBS2 = -L${OpenXM_lib} -lgmp -lgc -lox_pathfinder |
LIBS2_SHARED = -L${OpenXM_lib} -lgmp -lgc -lox_pathfinder |
|
LIBS2_STATIC = -L${OpenXM_lib} ${OpenXM_lib}/libgmp.a ${OpenXM_lib}/libgc.a -lox_pathfinder -Wl,-no_pie |
|
LIBS2 = @LIBS2@ |
#GC = nogc.c |
#GC = nogc.c |
#STATIC_LINK_FLAG = -static |
#STATIC_LINK_FLAG = -static |
STATIC_LINK_FLAG = |
STATIC_LINK_FLAG = |
|
|
#### Optimization level etc. |
#### Optimization level etc. |
#### 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_DEFAULT_SOURCE -D_BSD_SOURCE -Wno-trigraphs -fcommon |
|
|
################### Plugin modules |
################### Plugin modules |
#### (2) cmo, file2, socket |
#### (2) cmo, file2, socket |
Line 112 $(kanlibS4) : $(HEADERS) gradedset.h |
|
Line 115 $(kanlibS4) : $(HEADERS) gradedset.h |
|
kanlib.a : $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) kanlib.o ${OpenXM_lib}/libox_pathfinder.a |
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-decomp2 ${OpenXM_lib}/libox_pathfinder.a) |
(cd plugin-tmp; ../ar-decomp2 ${OpenXM_lib}/libox_pathfinder.a) |
ar ru kanlib.a $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) plugin-tmp/*.o |
if [ ${AR} = ar ]; then \ |
|
ar ru kanlib.a $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) plugin-tmp/*.o ; \ |
|
else \ |
|
libtool -static -o kanlib.a $(kanlibS1) $(kanlibS2) $(kanlibS3) $(kanlibS4) $(kanlibP) $(kanlibK) $(kanlibK2) $(kanlibKclass) $(PLUGIN_LIB) ${OpenXM_lib}/libox_pathfinder.a ; \ |
|
fi |
${RANLIB} kanlib.a |
${RANLIB} kanlib.a |
|
|
############ smacro.h and lookup.h |
############ smacro.h and lookup.h |
Line 121 smacro.h : smacro.sm1 dr.sm1 module1.sm1 sugar.sm1 usa |
|
Line 128 smacro.h : smacro.sm1 dr.sm1 module1.sm1 sugar.sm1 usa |
|
/bin/rm smacro.h |
/bin/rm smacro.h |
cat smacro.sm1 dr.sm1 module1.sm1 sugar.sm1 usage.sm1 $(PLUGIN_SM1) | ./mm >smacro.h |
cat smacro.sm1 dr.sm1 module1.sm1 sugar.sm1 usage.sm1 $(PLUGIN_SM1) | ./mm >smacro.h |
|
|
lookup.h : stackm.h mklookup |
gen-lookup.h : stackm.h mklookup |
touch lookup.h |
touch lookup.h |
/bin/rm lookup.h |
/bin/rm lookup.h |
./mklookup >lookup.h |
./mklookup >lookup.h |
Line 148 plugin.sm1 : Makefile $(PLUGIN_SM1) |
|
Line 155 plugin.sm1 : Makefile $(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 smacro.h *.o *~ *.a mon.out sm1.nogc kanlib.a plugin.h plugin.hh plugin-tmp/*.o Kclass/*.o Kclass/*~ makeconf makeconf.sed |
distclean : clean |
distclean : clean |
rm -f Makefile |
rm -f Makefile |