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

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

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

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