version 1.2, 2000/01/15 22:45:32 |
version 1.7, 2002/04/07 07:18:50 |
|
|
## $OpenXM$ |
## $OpenXM: OpenXM/src/kan96xx/Doc/Makefile,v 1.6 2001/08/12 07:44:34 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." |
Line 23 onlinehelp.dvi : onlinehelp.tex |
|
Line 26 onlinehelp.dvi : onlinehelp.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 : |
|
@if [ ! -f ./.done_install-document ] ; \ |
|
then \ |
|
make install-document2 ; \ |
|
touch ./.done_install-document ; \ |
|
else \ |
|
echo "NOTE: Install-document is already done. Remove .done_install-document for a new install-document." ; \ |
|
fi |
|
|
|
install-document2 : 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 ./.done_install-document |
|
|
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 ./.done_install-document |
|
|
########### 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) |
|
|