![]() ![]() | ![]() |
version 1.2, 2000/01/15 22:45:32 | version 1.6, 2001/08/12 07:44:34 | ||
---|---|---|---|
|
|
||
## $OpenXM$ | ## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.5 2000/12/25 06:19:10 takayama Exp $ | ||
########## Documents | ########## Documents | ||
OpenXM_ROOT=../../../../OpenXM | TOPDIR=../../../../OpenXM | ||
OpenXM_ROOT=${TOPDIR} | |||
OpenXM_doc=$(OpenXM_ROOT)/doc | OpenXM_doc=$(OpenXM_ROOT)/doc | ||
DVIPS=dvips -f | DVIPS=dvips -f | ||
CC=gcc | |||
LATEX2HTML=latex2html | |||
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." | ||
|
|
||
-latex onlinehelp | -latex onlinehelp | ||
ole : ole.c | ole : ole.c | ||
${CC} -o ole ole.c | |||
make-html-document : onlinehelp.tex ttt.tex | |||
-${LATEX2HTML} onlinehelp | |||
-${LATEX2HTML} ttt | |||
### | ### | ||
install-document : onlinehelp.dvi ttt.dvi clean-OpenXM-doc | install-document : onlinehelp.dvi ttt.dvi clean-OpenXM-doc make-html-document | ||
mkdir $(OpenXM_doc)/kan96xx | mkdir $(OpenXM_doc)/kan96xx | ||
touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. | touch $(OpenXM_doc)/kan96xx/DO_NOT_EDIT_THIS_DIRECTORY._ALL_FILES_ARE_AUTOMATICDALLY_GENERATED. | ||
-cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex | -cp ttt.tex $(OpenXM_doc)/kan96xx/intro.tex | ||
-cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex | -cp onlinehelp.tex $(OpenXM_doc)/kan96xx/onlinehelp.tex | ||
-$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps | -$(DVIPS) ttt >$(OpenXM_doc)/kan96xx/intro.ps | ||
-$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps | -$(DVIPS) onlinehelp >$(OpenXM_doc)/kan96xx/onlinehelp.ps | ||
-cp -r onlinehelp $(OpenXM_doc)/kan96xx | |||
-cp -r ttt $(OpenXM_doc)/kan96xx | |||
clean-OpenXM-doc : clean-document | clean-OpenXM-doc : | ||
-/bin/rm -rf $(OpenXM_doc)/kan96xx | -/bin/rm -rf $(OpenXM_doc)/kan96xx | ||
########## cleaning | ########## cleaning | ||
clean: | clean: | ||
-/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 | -/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out bin/ox bin/oxlog bin/ox_sm1 onlinehelp ttt | ||
clean-document: | clean-document: | ||
-/bin/rm ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out | -/bin/rm -rf ttt.* ole *.dvi *.aux *.log *~ kanlib1 onlinehelp.tex a.out onlinehelp ttt | ||
########### kan/library | ########### kan/library | ||
CC=gcc | CC=gcc | ||
|
|
||
kanlib1 : kanlib1.c | 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) | ||