source: branches/r9/lang/tcl/scripts/Makefile.in @ 4869

Last change on this file since 4869 was 4869, checked in by gah, 8 years ago
File size: 1.5 KB
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10srcdir          = @srcdir@
11
12INSTALL         = @INSTALL@
13INSTALL_PROGRAM = ${INSTALL} -m 755
14INSTALL_DATA    = ${INSTALL} -m 644
15INSTALL_SCRIPT  = ${INSTALL}
16TCL_VERSION     = @TCL_VERSION@
17TCLSH           = $(bindir)/tclsh$(TCL_VERSION)
18VERSION         = @PACKAGE_VERSION@
19VPATH           = $(srcdir)
20
21CXX             = @CXX@
22CC              = @CC@
23CFLAGS_DEBUG    = @CFLAGS_DEBUG@
24CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
25SHLIB_LD        = @SHLIB_LD@
26SHLIB_CFLAGS    = @SHLIB_CFLAGS@
27SHLIB_LDFLAGS   = @SHLIB_LDFLAGS@
28SHLIB_SUFFIX    = @SHLIB_SUFFIX@
29CFLAGS_DEFAULT  = @CFLAGS_DEFAULT@
30LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@
31CFLAGS          = @CFLAGS@
32
33RANLIB          = @RANLIB@
34MKDIR_P         = @MKDIR_P@
35AR              = ar
36RM              = rm -f
37
38destdir         = $(prefix)/lib/Rappture$(VERSION)/scripts
39
40FILES           = \
41                $(srcdir)/library.tcl \
42                $(srcdir)/units.tcl
43
44all:
45
46#
47# Scripts used with the Rappture Tcl bindings are installed in the same
48# directory as the scripts for the Rappture runner.  This means we have to
49# be careful about updating/installing the tclIndex file.
50#
51install:
52        $(MKDIR_P) -m 0755 $(destdir)
53        for i in $(FILES); do \
54            $(INSTALL) -m 0444 $$i $(destdir) ; \
55        done
56        $(TCLSH) $(srcdir)/../../cf/mkindex.tcl --srcdir $(destdir) \
57                --outfile tclIndex
58        $(RM) $(destdir)/tclIndex
59        $(INSTALL) -m 0444 tclIndex $(destdir)
60        $(RM) tclIndex
61
62clean:
63
64distclean: clean
65        $(RM) Makefile *~
Note: See TracBrowser for help on using the repository browser.