Merge branch 'master' into bug-4403-remove-polyfill
[maxima.git] / interfaces / xmaxima / Tkmaxima / Makefile
blobe62a2731a1250d9c2301ef645feb1547238a56f5
1 # -*-mode: makefile; fill-column: 75; tab-width: 8; coding: iso-latin-1-unix -*-
3 # $Id: Makefile,v 1.9 2002-09-19 16:13:49 mikeclarkson Exp $
5 # Developer's convenience targets (not part of the normal make/install).
7 # unused: will try to find procedures that are defined but never used.
8 # It's not foolproof, but it helps spot dead code.
10 ALLFILES = \
11 Header.tcl \
12 Cygwin.tcl \
13 Constants.tcl \
14 Preamble.tcl \
15 Readdata.tcl \
16 Getdata1.tcl \
17 Macros.tcl \
18 Proxy.tcl \
19 Send-some.tcl \
20 Plotting.tcl \
21 Fonts.tcl \
22 Private.tcl \
23 Getopt.tcl \
24 Parse.tcl \
25 Textinsert.tcl \
26 Printops.tcl \
27 Push.tcl \
28 Plotconf.tcl \
29 Adams.tcl \
30 Rk.tcl \
31 Plotdf.tcl \
32 Plot2d.tcl \
33 Matrix.tcl \
34 Plot3d.tcl \
35 NPlot3d.tcl \
36 EOctave.tcl \
37 EOpenplot.tcl \
38 EMaxima.tcl \
39 EHref.tcl \
40 Browser.tcl \
41 Bindings.tcl \
42 Wmenu.tcl \
43 Tryftp2.tcl \
44 Myhtml.tcl \
45 Myhtml1.tcl \
46 Base64.tcl \
47 Bitmaps.tcl \
48 Tryembed.tcl \
49 OpenMath.tcl \
50 NConsole.tcl \
51 String.tcl \
52 CMMenu.tcl \
53 Prefs.tcl \
54 RunMaxima.tcl \
55 Menu.tcl \
56 Gui.tcl \
57 Paths.tcl \
58 ../xmaxima.tcl
61 # junk or unused files: Startup.tcl maxima-local.tcl
63 procs.lis:: $(ALLFILES)
64 grep ^proc $(ALLFILES) | cut -f2 -d' ' | sort | uniq > procs.lis
66 unused:: procs.lis
67 for proc in `cat procs.lis` ; do \
68 grep -v ^proc $(ALLFILES) | grep -v "$$proc.:" | \
69 grep $$proc > /dev/null \
70 || echo $$proc UNUSED ; \
71 done
73 # Developer convenience target
74 # ETAGS for use with Emacs TAGS, epecially for tags-replace
76 TCLSH = tclsh
78 TAGS: $(ALLFILES) Tkmaxima.tcl
79 echo $(ALLFILES) Tkmaxima.tcl | xargs $(TCLSH) ../Utils/etags.tcl
81 tclIndex:: $(ALLFILES)
82 echo "source ../ObjTcl/Object.tcl; auto_mkindex . $(ALLFILES)" | $(TCLSH)