version 1.1.1.1, 1999/10/08 02:12:02 |
version 1.4, 2000/01/19 06:41:02 |
|
|
|
## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.3 2000/01/17 13:02:14 takayama Exp $ |
########## Documents |
########## Documents |
|
OpenXM_ROOT=../../../../OpenXM |
|
OpenXM_doc=$(OpenXM_ROOT)/doc |
|
DVIPS=dvips -f |
|
CC=gcc |
|
|
all : ttt.tex onlinehelp.tex |
all : ttt.tex onlinehelp.tex |
echo "The document kan/example is in the file ttt.tex." |
echo "The document kan/example is in the file ttt.tex." |
echo "onlinehelp.tex is a collection of online help." |
echo "onlinehelp.tex is a collection of online help." |
ttt.dvi : ttt.tex |
ttt.dvi : ttt.tex |
latex ttt ; latex ttt |
-latex ttt |
|
-latex ttt |
|
|
ttt.tex : ex.tex ole cv0.sm1 cv2.sm1 gbelim.sm1 gblex.sm1 gbrev.sm1 gbrevsim.sm1 |
ttt.tex : ex.tex ole cv0.sm1 cv2.sm1 gbelim.sm1 gblex.sm1 gbrev.sm1 gbrevsim.sm1 |
/bin/rm -f ttt.tex |
/bin/rm -f ttt.tex |
./ole <ex.tex >ttt.tex |
./ole <ex.tex >ttt.tex |
|
|
onlinehelp.tex : |
onlinehelp.tex : |
./printOnlineHelp |
-./printOnlineHelp |
latex onlinehelp ; latex onlinehelp |
|
|
|
|
onlinehelp.dvi : onlinehelp.tex |
|
-latex onlinehelp |
|
-latex onlinehelp |
|
|
ole : ole.c |
ole : ole.c |
|
${CC} -o ole ole.c |
|
|
|
### |
|
install-document : onlinehelp.dvi ttt.dvi clean-OpenXM-doc |
|
mkdir $(OpenXM_doc)/kan96xx |
|
touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. |
|
-cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex |
|
-cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex |
|
-$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps |
|
-$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps |
|
|
|
clean-OpenXM-doc : |
|
-/bin/rm -rf $(OpenXM_doc)/kan96xx |
|
|
|
########## cleaning |
|
clean: |
|
-/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 |
|
|
|
clean-document: |
|
-/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out |
|
|
########### kan/library |
########### kan/library |
CC = gcc |
CC=gcc |
KAN_HOME = ../Kan |
KAN_HOME=../Kan |
GMP_HOME = ../gmp |
GMP_HOME=../gmp |
LIBGMP = $(GMP_HOME)/libgmp.a |
LIBGMP=$(GMP_HOME)/libgmp.a |
## This line is for buggy linux-gmp. |
## This line is for buggy linux-gmp. |
#LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a |
#LIBGMP = $(GMP_HOME)/libgmp.a $(GMP_HOME)/mpn/libmpn.a |
GC = ../gc/gc.a |
GC = ../gc/gc.a |
Line 28 kanlib1 : kanlib1.c |
|
Line 58 kanlib1 : kanlib1.c |
|
(cd $(KAN_HOME); make kanlib.a) |
(cd $(KAN_HOME); make kanlib.a) |
$(CC) -I$(GMP_HOME) -I$(KAN_HOME) -o kanlib1 kanlib1.c $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC) |
$(CC) -I$(GMP_HOME) -I$(KAN_HOME) -o kanlib1 kanlib1.c $(KAN_HOME)/kanlib.a $(LIBGMP) $(GC) |
|
|
########## cleaning |
|
clean: |
|
/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 |
|
|
|
clean2: |
|
/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out |
|