File:  [Public] / Amaya / amaya / Makefile.math
Revision 1.21: download - view: text, annotated - select for diffs
Sat Apr 4 19:56:11 2009 UTC (15 years, 2 months ago) by wang
Branches: MAIN
CVS tags: HEAD, Amaya-11-2
Mathedit parser

#
# Makefile.math
# Autoconf Fragment when using Math
# Daniel Veillard and Irene Vatton 1997
#

AMAYA_MATH_OPTIONS=

AMAYA_MATH_OBJ= \
	MathMLAPP.o \
	MathMLbuilder.o \
	Mathedit.o \
	Mathedit_parser.o

AMAYA_MATH_SRC= \
        MathML.h \
	MathMLAPP.c 

AMAYA_MATH_LIBS= 

AMAYA_MATH_EXTRA_LIBS= 

AMAYA_MATH_INCLUDES= 

MATH_SCHEMAS= $(AMAYA)/MathML.S $(AMAYA)/MathMLP.P $(AMAYA)/MathMLT.T

math_schema= compMATH compMATHP compMATHT MathML.h

#
# Structure schema compilation.
#
compMATH: $(AMAYA)/MathML.STR
$(AMAYA)/MathML.STR : $(AMAYA)/MathML.S ../bin/str ../bin/prs ../bin/tra
	STR=`pwd`/../bin/str;PRS=`pwd`/../bin/prs;TRA=`pwd`/../bin/tra;\
	cd $(AMAYA); THOTDIR=`pwd`/.. ;export THOTDIR; \
	$$STR $(ALL_AMAYA_OPTIONS) MathML ; \
	$$PRS $(ALL_AMAYA_OPTIONS) MathMLP ; \
	$$TRA $(ALL_AMAYA_OPTIONS) -DXML MathMLT MathMLTX ; \
	$$TRA $(ALL_AMAYA_OPTIONS) MathMLT

#
# Presentation schemas compilation
#
compMATHP: $(AMAYA)/MathMLP.PRS
$(AMAYA)/MathMLP.PRS : $(AMAYA)/MathMLP.P ../bin/prs
	PRS=`pwd`/../bin/prs;\
	cd $(AMAYA); THOTDIR=`pwd`/.. ;export THOTDIR; \
	$$PRS $(ALL_AMAYA_OPTIONS) MathMLP

#
# Traduction schemas compilation
#
compMATHT: $(AMAYA)/MathMLT.TRA
$(AMAYA)/MathMLT.TRA : $(AMAYA)/MathMLT.T ../bin/tra
	TRA=`pwd`/../bin/tra;\
	cd $(AMAYA); THOTDIR=`pwd`/.. ;export THOTDIR; \
	$$TRA $(ALL_AMAYA_OPTIONS) -DXML MathMLT MathMLTX ; \
	$$TRA $(ALL_AMAYA_OPTIONS) MathMLT

#
# Interface schemas compilation
#
MathML.h MathMLAPP.c: $(AMAYA)/MathML.STR $(AMAYA)/MathML.A ../bin/app
	(if test "$(AMAYA)" != "" -a "$(AMAYA)" != "." ; then \
	    $(CP) $(AMAYA)/MathML.A .  ; \
	    $(CP) $(AMAYA)/MathML.STR .  ; \
	fi)
	THOTDIR=$(THOTDIR) ; export THOTDIR ; \
	../bin/app $(ALL_AMAYA_OPTIONS) MathML.A

Webmaster