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

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

1.7     ! takayama    1: ## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.6 2001/08/12 07:44:34 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.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.1       maekawa    65: ########### kan/library
1.2       takayama   66: CC=gcc
                     67: KAN_HOME=../Kan
                     68: GMP_HOME=../gmp
                     69: LIBGMP=$(GMP_HOME)/libgmp.a
1.1       maekawa    70: ## This line is for buggy linux-gmp.
                     71: #LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a
                     72: GC = ../gc/gc.a
                     73: #GC = /fuji/taka/noro/gc.org.a
                     74: kanlib1 : kanlib1.c
                     75:        (cd $(KAN_HOME); make kanlib.a)
                     76:        $(CC) -I$(GMP_HOME) -I$(KAN_HOME) -o kanlib1 kanlib1.c $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC)
1.4       takayama   77:

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