Annotation of OpenXM/src/kan96xx/Doc/Makefile, Revision 1.6
1.6 ! takayama 1: ## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.5 2000/12/25 06:19:10 takayama Exp $
1.1 maekawa 2: ########## Documents
1.5 takayama 3: TOPDIR=../../../../OpenXM
4: OpenXM_ROOT=${TOPDIR}
1.2 takayama 5: OpenXM_doc=$(OpenXM_ROOT)/doc
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.2 takayama 22: -./printOnlineHelp
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.6 ! takayama 36: install-document : onlinehelp.dvi ttt.dvi clean-OpenXM-doc make-html-document
1.2 takayama 37: mkdir $(OpenXM_doc)/kan96xx
38: touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
39: -cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex
40: -cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex
41: -$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps
42: -$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps
1.6 ! takayama 43: -cp -r onlinehelp $(OpenXM_doc)/kan96xx
! 44: -cp -r ttt $(OpenXM_doc)/kan96xx
1.2 takayama 45:
1.3 takayama 46: clean-OpenXM-doc :
1.2 takayama 47: -/bin/rm -rf $(OpenXM_doc)/kan96xx
48:
49: ########## cleaning
50: clean:
1.6 ! takayama 51: -/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 onlinehelp ttt
1.2 takayama 52:
53: clean-document:
1.6 ! takayama 54: -/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out onlinehelp ttt
1.2 takayama 55:
1.1 maekawa 56: ########### kan/library
1.2 takayama 57: CC=gcc
58: KAN_HOME=../Kan
59: GMP_HOME=../gmp
60: LIBGMP=$(GMP_HOME)/libgmp.a
1.1 maekawa 61: ## This line is for buggy linux-gmp.
62: #LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a
63: GC = ../gc/gc.a
64: #GC = /fuji/taka/noro/gc.org.a
65: kanlib1 : kanlib1.c
66: (cd $(KAN_HOME); make kanlib.a)
67: $(CC) -I$(GMP_HOME) -I$(KAN_HOME) -o kanlib1 kanlib1.c $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC)
1.4 takayama 68:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>