source: trunk/lang/tcl/Makefile.in @ 1095

Last change on this file since 1095 was 1090, checked in by gah, 16 years ago

various fixes

File size: 1.6 KB
Line 
1
2bindir          = @bindir@
3datadir         = @datadir@
4datarootdir     = @datarootdir@
5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
10
11destdir         = $(libdir)/Rappture$(PACKAGE_VERSION)
12
13PACKAGE_VERSION = @PACKAGE_VERSION@
14
15INSTALL         = @INSTALL@
16
17CXX             = @CXX@
18CC              = @CC@
19CFLAGS_DEBUG    = @CFLAGS_DEBUG@
20CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
21STLIB_LD        = @STLIB_LD@
22SHLIB_LD        = @SHLIB_LD@
23SHLIB_CFLAGS    = @SHLIB_CFLAGS@
24SHLIB_LDFLAGS   = @SHLIB_LDFLAGS@
25SHLIB_SUFFIX    = @SHLIB_SUFFIX@
26CFLAGS_DEFAULT  = @CFLAGS_DEFAULT@
27LIB_SEARCH_DIRS = @LIB_SEARCH_DIRS@
28CFLAGS          = @CFLAGS@
29TCL_VERSION     = @TCL_VERSION@
30TK_VERSION      = @TK_VERSION@
31
32RANLIB          = @RANLIB@
33MKDIR_P         = @MKDIR_P@
34AR              = ar
35RM              = rm -f
36
37tcllib          = $$RAPPTURE_INSTALL_DIR/lib/tcl$(TCL_VERSION)
38tklib           = $$RAPPTURE_INSTALL_DIR/lib/tk$(TK_VERSION)
39envfile         = _tcl.env
40
41# The script directory is moved from src/tcl.
42
43.PHONY: src scripts tests
44
45all: $(envfile)
46        $(MAKE) -C src all
47        $(MAKE) -C scripts all
48
49$(envfile):
50        echo 'export TCL_LIBRARY=$(tcllib):$$TCL_LIBRARY' > $(envfile)
51        echo 'export TK_LIBRARY=$(tklib):$$TK_LIBRARY' >> $(envfile)
52
53install:
54        $(MKDIR_P) $(destdir)
55        $(INSTALL) -m 0444 pkgIndex.tcl $(destdir)
56        $(MAKE) -C src install
57        $(MAKE) -C scripts install
58        $(INSTALL) -m 0555 $(envfile) $(bindir)
59
60test:   
61        $(MAKE) -C tests all
62
63clean:
64        $(MAKE) -C src clean
65        $(MAKE) -C tests clean
66        $(MAKE) -C scripts clean
67
68distclean: clean
69        $(MAKE) -C src distclean
70        $(MAKE) -C tests distclean
71        $(MAKE) -C scripts distclean
72        $(RM) Makefile
73
Note: See TracBrowser for help on using the repository browser.