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

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

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

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