Annotation of OpenXM/src/kan96xx/trans/Makefile.in, Revision 1.4
1.4 ! takayama 1: # $OpenXM: OpenXM/src/kan96xx/trans/Makefile.in,v 1.3 2003/12/04 07:54:51 takayama Exp $
1.1 takayama 2: OpenXM_HOME=../../..
3: OpenXM_include=${OpenXM_HOME}/include
4: OpenXM_lib=${OpenXM_HOME}/lib
5: CFLAGS = @CFLAGS@ -g -I${OpenXM_include} -I../Kan -D_BSD_SOURCE
6: AR=ar
7: CC=@CC@
8: RANLIB=@RANLIB@
1.3 takayama 9: LIBS=@LIBS@
1.4 ! takayama 10: #YACC=yacc -d
! 11: YACC=@YACC@
1.1 takayama 12: KANHEADERS=../Kan/datatype.h ../Kan/stackm.h ../Kan/extern.h ../Kan/gradedset.h ../Kan/extern2.h ../Kan/kclass.h ../plugin/file2.h
13:
1.2 takayama 14: all: trans.a polymake2tfb
1.1 takayama 15:
16: configure: Makefile
17:
18: Makefile: Makefile.in
19: ./configure
20:
21: .c.o:
22: ${CC} ${CFLAGS} -c $<
23:
24: trans.a: tree2polymake.o
25: ${AR} ru $@ $?
26: ${RANLIB} $@
27: tree2polymake.o: tree2polymake.c trans.h ${KANHEADERS}
28:
29: ## Data converters
30: kanlibConverter=yylex_polymake.o yy_polymake.tab.o
31:
32: polymake2tfb: yymain_polymake.o yylex_polymake.o yy_polymake.tab.o
1.3 takayama 33: ${CC} $(CFLAGS) -o polymake2tfb yymain_polymake.o yylex_polymake.o yy_polymake.tab.o -L${OpenXM_lib} -lgc ${LIBS}
1.1 takayama 34: yymain_polymake.o:yymain_polymake.c yy_polymake.tab.h
35: yylex_polymake.o:yylex_polymake.c yylex_polymake.h yy_polymake.tab.h
36: yy_polymake.tab.o : yy_polymake.tab.c
37: yy_polymake.tab.c : yy_polymake.y yylex_polymake.h
1.4 ! takayama 38: ${YACC} -d -b yy_polymake -p PM yy_polymake.y
1.1 takayama 39: yy_polymake.tab.h : yy_polymake.y yylex_polymake.h
1.4 ! takayama 40: ${YACC} -d -b yy_polymake -p PM yy_polymake.y
1.1 takayama 41:
42: clean:
43: rm -r -f *.o *~ *.tab.* polymake2tfb
44: distclean: clean
45:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>