diff options
Diffstat (limited to 'Build/source/utils/asymptote/Makefile.in')
-rw-r--r-- | Build/source/utils/asymptote/Makefile.in | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/Build/source/utils/asymptote/Makefile.in b/Build/source/utils/asymptote/Makefile.in index e33778b1806..b57dfc988d7 100644 --- a/Build/source/utils/asymptote/Makefile.in +++ b/Build/source/utils/asymptote/Makefile.in @@ -33,13 +33,13 @@ FILES = $(CAMP) $(SYMBOL_FILES) env genv main stm dec errormsg \ envcompleter process constructor array Delaunay predicates \ $(PRC) glrender tr arcball algebra3 quaternion svnrevision -DIST = camp.tab.h camp.tab.cc lex.yy.cc runtime.h runtime.cc keywords.cc \ - asy-keywords.el +DIST = camp.tab.h camp.tab.cc lex.yy.cc runtime.cc keywords.cc \ + asy-keywords.el $(RUNTIME_FILES:=.cc) $(RUNTIME_FILES:=.h) asy.list \ + allsymbols.h opsymbols.h $(SYMBOL_FILES:=.symbols.h) NAME = asy XNAME = x$(NAME) -CLEAN = camp.output asy.list svnrevision.cc doc/version.texi \ - $(SYMBOL_FILES:=.symbols.h) allsymbols.h opsymbols.h \ - GUI/xasyVersion.py $(XNAME) +CLEAN = camp.output svnrevision.cc base/version.asy doc/version.texi \ + GUI/xasyVersion.py $(XNAME) doc/asy-latex.pdf EXTRA = asy-mode.el asy-init.el asy.vim asy-kate.sh asymptote.py reload.js \ nopapersize.ps EXEXTRA = piicon.eps *.views *.dat @@ -50,8 +50,7 @@ CONTEXTFILES = colo-asy.tex ASY = ./asy -dir base -config "" -render=0 DEFS = @DEFS@ @OPTIONS@ \ - -DPRESYM -DFASTCAST -DCALLEE_SEARCH -DEXACT_MATCH -DTEST_ADDED_OPS \ - -DNO_FUNC_OPS -DTRANSJUMP + -DTRANSJUMP CFLAGS = @CPPFLAGS@ @CFLAGS@ OPTS = $(DEFS) $(CFLAGS) INCL = -I . @INCL@ @@ -111,7 +110,7 @@ asy.o: asy.rc asy.ico Makefile cat asy.rc | sed -e "s/ASYMPTOTE_VERSION/@VERSION@$(revision)/" | \ windres -o asy.o -all: asy man faq asy-keywords.el +all: asy sty man faq asy-keywords.el $(GCLIB): $(GC).tar.gz gunzip -c $(GC).tar.gz > $(GC).tar @@ -122,7 +121,7 @@ $(GCLIB): $(GC).tar.gz fi if test "$(GC)" = "gc-7.0"; then \ cd $(GC)/include/private && \ - patch < ../../../patches/gc-7.0nomem.patch;\ + patch < ../../../patches/gc-7.0nomem.patch; \ fi cd $(GC); \ ./configure $(GCOPTIONS); \ @@ -130,30 +129,33 @@ $(GCLIB): $(GC).tar.gz $(GCPPLIB): $(GCLIB) -dvi: asy +sty: + cd doc && $(MAKE) asy-latex.pdf + +dvi: asy sty cd doc && $(MAKE) dvi -html: asy +html: asy sty cd doc && $(MAKE) doc -man: asy +man: asy sty cd doc && $(MAKE) man -faq: asy +faq: asy sty cd doc && $(MAKE) faq $(RUNTIME_FILES:=.cc): %.cc: runtime.pl opsymbols.h runtimebase.in %.in - ./runtime.pl $(@:.cc=) + perl ./runtime.pl $(@:.cc=) $(SYMBOL_FILES:=.symbols.h): %.symbols.h: findsym.pl %.cc $(CXX) -E -DNOSYM $(OPTS) $(INCL) $(@:.symbols.h=.cc) | \ - ./findsym.pl $@ - + perl ./findsym.pl $@ - $(SYMBOL_FILES:=.o): %.o: %.symbols.h allsymbols.h: findsym.pl $(SYMBOL_FILES:=.cc) $(CXX) -E -DNOSYM $(OPTS) $(INCL) $(SYMBOL_FILES:=.cc) | \ - ./findsym.pl $@ - + perl ./findsym.pl $@ - symbol.o: opsymbols.h allsymbols.h @@ -168,10 +170,10 @@ lex.yy.cc: camp.l lex.yy.d: $(GCLIB) lex.yy.cc camp.tab.h keywords.cc: keywords.pl camp.l process.cc - ./keywords.pl + perl ./keywords.pl opsymbols.h: opsymbols.pl camp.l - ./opsymbols.pl + perl ./opsymbols.pl envcompleter.d: keywords.cc @@ -180,25 +182,25 @@ asy-keywords.el: asy $(ASY) -l > asy.list ls $(addsuffix /*.asy,$(KEYWORDS)) | grep -v plain\* | \ grep -v three_\* | grep -v featpost3D | xargs $(ASY) -l >> asy.list - ./asy-list.pl asy.list @VERSION@ + perl ./asy-list.pl asy.list @VERSION@ -install: asy-keywords.el install-texhash install-man +install: asy-keywords.el install-man install-texhash + ${INSTALL} -p -m 644 asy-keywords.el $(asydir) -install-all: asy-keywords.el install-texhash install-html +install-all: install install-html install-texhash: install-asy -if test -z "$(DESTDIR)"; then \ texhash; \ fi -install-asy: asy +install-asy: asy sty ${INSTALL} -d $(bindir) $(asydir) $(GUIdir) $(exampledir) \ $(animationsdir) -${INSTALL} -d $(latexdir) -${INSTALL} -d $(contextdir) ${INSTALL} -p -m 755 $(NAME) $(bindir) - ${INSTALL} -p -m 644 asy-keywords.el base/*.asy \ - $(addprefix base/,$(EXTRA)) $(asydir) + ${INSTALL} -p -m 644 base/*.asy $(addprefix base/,$(EXTRA)) $(asydir) ${INSTALL} -p -m 755 GUI/*.py $(GUIdir) ln -sf @datadir@/asymptote/GUI/xasy.py $(bindir)/$(XNAME) ${INSTALL} -p -m 644 examples/*.asy $(addprefix examples/,$(EXEXTRA)) \ |