From 15807e15ade01ea275cb91ba5ea6b660b996406f Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Sun, 4 Jul 2010 17:26:20 +0000 Subject: asy 2.00 git-svn-id: svn://tug.org/texlive/trunk@19227 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/utils/asymptote/Makefile.in | 33 +++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) (limited to 'Build/source/utils/asymptote/Makefile.in') diff --git a/Build/source/utils/asymptote/Makefile.in b/Build/source/utils/asymptote/Makefile.in index eab0bd238f3..13040078e88 100644 --- a/Build/source/utils/asymptote/Makefile.in +++ b/Build/source/utils/asymptote/Makefile.in @@ -21,14 +21,14 @@ RUNTIME_FILES = runtime runbacktrace runpicture runlabel runhistory runarray \ runmath # Files to be scanned for pre-translated symbols defined by SYM(name). -SYMBOL_FILES = types builtin $(RUNTIME_FILES) +SYMBOL_FILES = types builtin gsl $(RUNTIME_FILES) PRC = PRCbitStream oPRCFile PRCdouble writePRC -FILES = $(CAMP) $(RUNTIME_FILES) env genv main stm dec errormsg \ - callable name symbol types entry exp newexp stack camp.tab lex.yy \ - access virtualfieldaccess absyn record interact fileio builtin fftw++ \ - simpson coder coenv \ +FILES = $(CAMP) $(SYMBOL_FILES) env genv main stm dec errormsg \ + callable name symbol entry exp newexp stack camp.tab lex.yy \ + access virtualfieldaccess absyn record interact fileio \ + fftw++ simpson coder coenv \ @getopt@ locate parser program application varinit fundec refaccess \ envcompleter process constructor array Delaunay predicates \ $(PRC) glrender tr arcball algebra3 quaternion svnrevision @@ -37,8 +37,11 @@ DIST = camp.tab.h camp.tab.cc lex.yy.cc runtime.h runtime.cc keywords.cc \ asy-keywords.el NAME = asy XNAME = x$(NAME) -CLEAN = camp.output asy.list svnrevision.cc doc/version.texi GUI/xasyVersion.py $(XNAME) -EXTRA = asy-mode.el asy-init.el asy.vim asy-kate.sh asymptote.py reload.js nopapersize.ps +CLEAN = camp.output asy.list svnrevision.cc doc/version.texi \ + $(SYMBOL_FILES:=.symbols.h) allsymbols.h opsymbols.h \ + GUI/xasyVersion.py $(XNAME) +EXTRA = asy-mode.el asy-init.el asy.vim asy-kate.sh asymptote.py reload.js \ + nopapersize.ps EXEXTRA = piicon.eps *.views *.dat DOCEXTRA = *.asy *.csv *.dat latexusage.tex externalprc.tex pixel.pdf KEYWORDS = base $(ASYMPTOTE_SITEDIR) @@ -118,7 +121,8 @@ $(GCLIB): $(GC).tar.gz cd $(GC)/include && patch < ../../patches/gc6.8_AIX.patch; \ fi if test "$(GC)" = "gc-7.0"; then \ - cd $(GC)/include/private && patch < ../../../patches/gc-7.0nomem.patch;\ + cd $(GC)/include/private && \ + patch < ../../../patches/gc-7.0nomem.patch;\ fi cd $(GC); \ ./configure $(GCOPTIONS); \ @@ -142,12 +146,14 @@ $(RUNTIME_FILES:=.cc): %.cc: runtime.pl opsymbols.h runtimebase.in %.in ./runtime.pl $(@:.cc=) $(SYMBOL_FILES:=.symbols.h): %.symbols.h: findsym.pl %.cc - ./findsym.pl $@ $(@:.symbols.h=.cc) + $(CXX) -E -DNOSYM $(OPTS) $(INCL) $(@:.symbols.h=.cc) | \ + ./findsym.pl $@ - $(SYMBOL_FILES:=.o): %.o: %.symbols.h allsymbols.h: findsym.pl $(SYMBOL_FILES:=.cc) - ./findsym.pl $@ $(SYMBOL_FILES:=.cc) + $(CXX) -E -DNOSYM $(OPTS) $(INCL) $(SYMBOL_FILES:=.cc) | \ + ./findsym.pl $@ - symbol.o: opsymbols.h allsymbols.h @@ -191,7 +197,8 @@ install-asy: asy -${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 asy-keywords.el 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)) \ @@ -262,6 +269,10 @@ check: asy FORCE ./wce $(MAKE) -C tests +check-all: asy FORCE + ./wce + $(MAKE) -C tests all + .SUFFIXES: .c .cc .o .d .cc.o: $(CXX) $(OPTS) $(INCL) -o $@ -c $< -- cgit v1.2.3