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.
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
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
; \
73 # Developer convenience target
74 # ETAGS for use with Emacs TAGS, epecially for tags-replace
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
)