1 # -*-mode: makefile; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
3 # $Id: Makefile.am,v 1.50 2011-03-09 11:30:45 villate Exp $
6 include $(top_srcdir)/common.mk
12 SUBDIRS = msgs $(DOC_DIR)
21 genericdir = $(xmaximadir)
23 genericdirDATA = demos.html examples.html intro.html plotmaxima.html net.sourceforge.maxima.png net.sourceforge.maxima.svg net.sourceforge.maxima.gif maxima-icon.ico maxima-icon.png maxima-icon.gif
25 appicondir = $(datarootdir)/icons
26 dist_appicon_DATA = xmaxima.png xmaxima.svg
31 Tkmaxima/COPYING.tcl \
33 Tkmaxima/Constants.tcl \
34 Tkmaxima/Preamble.tcl \
35 Tkmaxima/Readdata.tcl \
36 Tkmaxima/Getdata1.tcl \
39 Tkmaxima/Send-some.tcl \
40 Tkmaxima/Plotting.tcl \
43 Tkmaxima/Private.tcl \
46 Tkmaxima/Textinsert.tcl \
47 Tkmaxima/Printops.tcl \
49 Tkmaxima/Plotconf.tcl \
57 Tkmaxima/NPlot3d.tcl \
58 Tkmaxima/EOctave.tcl \
59 Tkmaxima/EOpenplot.tcl \
60 Tkmaxima/EMaxima.tcl \
62 Tkmaxima/Browser.tcl \
63 Tkmaxima/Bindings.tcl \
66 Tkmaxima/Myhtml1.tcl \
68 Tkmaxima/Bitmaps.tcl \
69 Tkmaxima/Tryembed.tcl \
70 Tkmaxima/OpenMath.tcl \
71 Tkmaxima/NConsole.tcl \
74 Tkmaxima/RunMaxima.tcl \
81 XMAXIMA_FILES = $(TKSOURCES)
82 XMAXIMASOURCES = Tkmaxima/Header.tcl $(TKSOURCES) autoconf-variables.tcl xmaxima-trailer.tcl
84 xmaxima: $(XMAXIMASOURCES)
86 cat Tkmaxima/Header.tcl > xmaxima && \
87 (cd "$(abs_top_srcdir)/interfaces/xmaxima/" ; cat $(XMAXIMA_FILES)) >> xmaxima && \
88 cat autoconf-variables.tcl >> xmaxima && \
89 cat "$(abs_top_srcdir)/interfaces/xmaxima/xmaxima-trailer.tcl" >> xmaxima && \
92 EXTRA_DIST = $(genericdirDATA) $(XMAXIMA_FILES) Tkmaxima/Header.tcl.in xmaxima-trailer.tcl maxima-icon.png
95 # Developer convenience target
96 # ETAGS for use with Emacs TAGS, epecially for tags-replace
101 echo x*.tcl Tkmaxima/*.tcl | xargs $(TCLSH) ./Utils/etags.tcl
103 tclIndex:: $(TKSOURCES)
104 echo "source ../ObjTcl/Object.tcl; auto_mkindex . $(TKSOURCES)" | $(TCLSH)
106 # Create Tkmaxima/tclIndex if tclsh is available. Otherwise, create empty file
108 Tkmaxima/tclIndex: $(TKSOURCES)
109 $(TCLSH) < /dev/null > /dev/null 2>&1 && \
111 echo "source ../ObjTcl/Object.tcl; auto_mkindex . $(ALLFILES)" | \
113 touch Tkmaxima/tclIndex
117 rm -f Tkmaxima/tclIndex