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

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

various fixes

File size: 1.6 KB
RevLine 
[528]1
[1018]2bindir          = @bindir@
[951]3datadir         = @datadir@
4datarootdir     = @datarootdir@
[1018]5exec_prefix     = @exec_prefix@
6includedir      = @includedir@
7libdir          = @libdir@
8mandir          = @mandir@
9prefix          = @prefix@
[528]10
[1018]11destdir         = $(libdir)/Rappture$(PACKAGE_VERSION)
[528]12
[1018]13PACKAGE_VERSION = @PACKAGE_VERSION@
[528]14
15INSTALL         = @INSTALL@
16
[1018]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@
[1082]29TCL_VERSION     = @TCL_VERSION@
30TK_VERSION      = @TK_VERSION@
[528]31
[1018]32RANLIB          = @RANLIB@
[1082]33MKDIR_P         = @MKDIR_P@
[1018]34AR              = ar
35RM              = rm -f
[528]36
[1082]37tcllib          = $$RAPPTURE_INSTALL_DIR/lib/tcl$(TCL_VERSION)
38tklib           = $$RAPPTURE_INSTALL_DIR/lib/tk$(TK_VERSION)
[1090]39envfile         = _tcl.env
[1082]40
[1018]41# The script directory is moved from src/tcl.
[528]42
[1018]43.PHONY: src scripts tests
[528]44
[1090]45all: $(envfile)
[1018]46        $(MAKE) -C src all
47        $(MAKE) -C scripts all
[528]48
[1090]49$(envfile):
50        echo 'export TCL_LIBRARY=$(tcllib):$$TCL_LIBRARY' > $(envfile)
51        echo 'export TK_LIBRARY=$(tklib):$$TK_LIBRARY' >> $(envfile)
[1082]52
[1018]53install:
[1082]54        $(MKDIR_P) $(destdir)
[1018]55        $(INSTALL) -m 0444 pkgIndex.tcl $(destdir)
56        $(MAKE) -C src install
57        $(MAKE) -C scripts install
[1090]58        $(INSTALL) -m 0555 $(envfile) $(bindir)
[528]59
[1018]60test:   
61        $(MAKE) -C tests all
[528]62
[1018]63clean:
64        $(MAKE) -C src clean
65        $(MAKE) -C tests clean
66        $(MAKE) -C scripts clean
[528]67
68distclean: clean
[1018]69        $(MAKE) -C src distclean
70        $(MAKE) -C tests distclean
71        $(MAKE) -C scripts distclean
72        $(RM) Makefile
[528]73
Note: See TracBrowser for help on using the repository browser.