version 1.9, 2003/09/11 00:52:05 |
version 1.10, 2003/11/20 06:04:04 |
|
|
### $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.9 2003/09/11 00:52:05 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 |
|
|
|
YACC=yacc -d |
|
|
|
|
################### Plugin modules |
################### Plugin modules |
#### (2) cmo, file2, socket |
#### (2) cmo, file2, socket |
PLUGIN = ../plugin |
PLUGIN = ../plugin |
Line 141 plugin.sm1 : Makefile $(PLUGIN_SM1) |
|
Line 141 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 |
|
|
|
## Data converters |
|
kanlibConverter=yylex_polymake.o yy_polymake.tab.o |
|
|
|
polymake2tfb: yymain_polymake.o yylex_polymake.o yy_polymake.tab.o |
|
${CC} $(CFLAGS) -o polymake2tfb yymain_polymake.o yylex_polymake.o yy_polymake.tab.o -L${OpenXM_lib} -lgc |
|
yymain_polymake.o:yymain_polymake.c yy_polymake.tab.h |
|
yylex_polymake.o:yylex_polymake.c yylex_polymake.h yy_polymake.tab.h |
|
yy_polymake.tab.o : yy_polymake.tab.c |
|
yy_polymake.tab.c : yy_polymake.y yylex_polymake.h |
|
${YACC} -b yy_polymake -p PM yy_polymake.y |
|
yy_polymake.tab.h : yy_polymake.y yylex_polymake.h |
|
${YACC} -b yy_polymake -p PM yy_polymake.y |
|
|
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 |