Annotation of OpenXM/src/kan96xx/Doc/Makefile, Revision 1.5
1.5 ! takayama 1: ## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.4 2000/01/19 06:41:02 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.2 takayama 8:
1.1 maekawa 9: all : ttt.tex onlinehelp.tex
10: echo "The document kan/example is in the file ttt.tex."
11: echo "onlinehelp.tex is a collection of online help."
12: ttt.dvi : ttt.tex
1.2 takayama 13: -latex ttt
14: -latex ttt
1.1 maekawa 15:
16: ttt.tex : ex.tex ole cv0.sm1 cv2.sm1 gbelim.sm1 gblex.sm1 gbrev.sm1 gbrevsim.sm1
17: /bin/rm -f ttt.tex
18: ./ole <ex.tex >ttt.tex
19:
20: onlinehelp.tex :
1.2 takayama 21: -./printOnlineHelp
22:
23: onlinehelp.dvi : onlinehelp.tex
24: -latex onlinehelp
25: -latex onlinehelp
1.1 maekawa 26:
27: ole : ole.c
1.4 takayama 28: ${CC} -o ole ole.c
1.1 maekawa 29:
1.2 takayama 30: ###
31: install-document : onlinehelp.dvi ttt.dvi clean-OpenXM-doc
32: mkdir $(OpenXM_doc)/kan96xx
33: touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED.
34: -cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex
35: -cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex
36: -$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps
37: -$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps
38:
1.3 takayama 39: clean-OpenXM-doc :
1.2 takayama 40: -/bin/rm -rf $(OpenXM_doc)/kan96xx
41:
42: ########## cleaning
43: clean:
44: -/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1
45:
46: clean-document:
47: -/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out
48:
1.1 maekawa 49: ########### kan/library
1.2 takayama 50: CC=gcc
51: KAN_HOME=../Kan
52: GMP_HOME=../gmp
53: LIBGMP=$(GMP_HOME)/libgmp.a
1.1 maekawa 54: ## This line is for buggy linux-gmp.
55: #LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a
56: GC = ../gc/gc.a
57: #GC = /fuji/taka/noro/gc.org.a
58: kanlib1 : kanlib1.c
59: (cd $(KAN_HOME); make kanlib.a)
60: $(CC) -I$(GMP_HOME) -I$(KAN_HOME) -o kanlib1 kanlib1.c $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC)
1.4 takayama 61:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>