Annotation of OpenXM/src/kan96xx/Doc/Makefile, Revision 1.9
1.9 ! takayama 1: ## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.8 2003/09/07 08:58:03 takayama Exp $
1.1 maekawa 2: ########## Documents
1.8 takayama 3: OpenXM_HOME=../../..
4: OpenXM_doc=$(OpenXM_HOME)/doc
5: OpenXM_lib=${OpenXM_HOME}/lib
1.2 takayama 6: DVIPS=dvips -f
1.4 takayama 7: CC=gcc
1.6 takayama 8: LATEX2HTML=latex2html
1.2 takayama 9:
1.1 maekawa 10: all : ttt.tex onlinehelp.tex
11: echo "The document kan/example is in the file ttt.tex."
12: echo "onlinehelp.tex is a collection of online help."
13: ttt.dvi : ttt.tex
1.2 takayama 14: -latex ttt
15: -latex ttt
1.1 maekawa 16:
17: ttt.tex : ex.tex ole cv0.sm1 cv2.sm1 gbelim.sm1 gblex.sm1 gbrev.sm1 gbrevsim.sm1
18: /bin/rm -f ttt.tex
19: ./ole <ex.tex >ttt.tex
20:
21: onlinehelp.tex :
1.8 takayama 22: -./printOnlineHelp ${OpenXM_lib}
1.2 takayama 23:
24: onlinehelp.dvi : onlinehelp.tex
25: -latex onlinehelp
26: -latex onlinehelp
1.1 maekawa 27:
28: ole : ole.c
1.4 takayama 29: ${CC} -o ole ole.c
1.1 maekawa 30:
1.6 takayama 31: make-html-document : onlinehelp.tex ttt.tex
32: -${LATEX2HTML} onlinehelp
33: -${LATEX2HTML} ttt
34:
1.2 takayama 35: ###
1.7 takayama 36: install-document :
37: @if [ ! -f ./.done_install-document ] ; \
38: then \
39: make install-document2 ; \
40: touch ./.done_install-document ; \
41: else \
42: echo "NOTE: Install-document is already done. Remove .done_install-document for a new install-document." ; \
43: fi
44:
45: install-document2 : onlinehelp.dvi ttt.dvi clean-OpenXM-doc make-html-document
1.2 takayama 46: mkdir $(OpenXM_doc)/kan96xx
47: touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
48: -cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex
49: -cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex
50: -$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps
51: -$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps
1.6 takayama 52: -cp -r onlinehelp $(OpenXM_doc)/kan96xx
53: -cp -r ttt $(OpenXM_doc)/kan96xx
1.2 takayama 54:
1.3 takayama 55: clean-OpenXM-doc :
1.2 takayama 56: -/bin/rm -rf $(OpenXM_doc)/kan96xx
57:
58: ########## cleaning
59: clean:
1.7 takayama 60: -/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 onlinehelp ttt ./.done_install-document
1.2 takayama 61:
62: clean-document:
1.7 takayama 63: -/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out onlinehelp ttt ./.done_install-document
1.2 takayama 64:
1.9 ! takayama 65: distclean: clean clean-document
1.1 maekawa 66: ########### kan/library
1.2 takayama 67: CC=gcc
68: KAN_HOME=../Kan
69: GMP_HOME=../gmp
70: LIBGMP=$(GMP_HOME)/libgmp.a
1.1 maekawa 71: ## This line is for buggy linux-gmp.
72: #LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a
73: GC = ../gc/gc.a
74: #GC = /fuji/taka/noro/gc.org.a
75: kanlib1 : kanlib1.c
76: (cd $(KAN_HOME); make kanlib.a)
77: $(CC) -I$(GMP_HOME) -I$(KAN_HOME) -o kanlib1 kanlib1.c $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC)
1.4 takayama 78:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>