version 1.7, 2003/09/02 03:24:48 |
version 1.10, 2003/11/20 06:04:04 |
|
|
### $OpenXM: OpenXM/src/kan96xx/Kan/Makefile.in,v 1.6 2003/07/21 13:36:41 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 37 PLUGIN_LINKFLAG = |
|
Line 37 PLUGIN_LINKFLAG = |
|
configure: Makefile |
configure: Makefile |
|
|
Makefile: Makefile.in |
Makefile: Makefile.in |
./configure |
sh ./configure |
|
|
|
|
HEADERS = datatype.h stackm.h lookup.h extern.h kclass.h |
HEADERS = datatype.h stackm.h lookup.h extern.h kclass.h |
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 |
|
distclean : clean |
|
rm -f Makefile |