blob: 61aa5c4c82d8414ae7653c1137495cd7dda48212 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
#--------------------------framework
framework:
cp -pr $(prefix)/ds9/library $(LIBDIR)/.
cp -pr $(prefix)/ds9/msgs $(LIBDIR)/.
cp -pr $(prefix)/ds9/doc $(LIBDIR)/.
cp -pr $(prefix)/ds9/cmaps $(LIBDIR)/.
cp -pr $(prefix)/ds9/template $(LIBDIR)/.
# must do it this way for win
cd $(LIBDIR)/library; \
echo "pkg_mkIndex . *.tcl; exit" | $(TCLSH_PROG)
#--------------------------tkblt
tkblt :
mkdir $(LIBDIR)/tkblt
cp -p $(prefix)/tkblt/library/*.tcl $(LIBDIR)/tkblt/.
# must do it this way for win
cd $(LIBDIR)/tkblt; \
echo "pkg_mkIndex . *.tcl; exit" | $(TCLSH_PROG)
#--------------------------tkcon
tkcon :
mkdir $(LIBDIR)/tkcon
cp -p $(prefix)/tkcon/*.tcl $(LIBDIR)/tkcon/.
# must do it this way for win
cd $(LIBDIR)/tkcon; \
echo "pkg_mkIndex . *.tcl; exit" | $(TCLSH_PROG)
#--------------------------tcllib
tcllib : base64 ftp log textutil math
base64 :
mkdir $(LIBDIR)/base64
cp -r $(prefix)/tcllib/modules/base64/*.tcl $(LIBDIR)/base64/.
ftp :
mkdir $(LIBDIR)/ftp
cp -r $(prefix)/tcllib/modules/ftp/*.tcl $(LIBDIR)/ftp/.
log :
mkdir $(LIBDIR)/log
cp -r $(prefix)/tcllib/modules/log/*.tcl $(LIBDIR)/log/.
textutil:
mkdir $(LIBDIR)/textutil
cp -r $(prefix)/tcllib/modules/textutil/*.tcl $(LIBDIR)/textutil/.
math :
mkdir $(LIBDIR)/math
cp -r $(prefix)/tcllib/modules/math/*.tcl $(LIBDIR)/math/.
#--------------------------distclean
.PHONY : distclean
distclean: clean
-rm -f Makefile config.cache config.log config.status
-rm -rf autom4te.cache
$(RM) -rf $(APPDIR)
|