[BACK]Return to Makefile CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Doc

Annotation of OpenXM/src/kan96xx/Doc/Makefile, Revision 1.4

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

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>