source: branches/geomap/tester/Makefile.in @ 5928

Last change on this file since 5928 was 3471, checked in by ldelgass, 12 years ago

Makefile fixes: make 'install' target always depend on 'all' target. This
ensures that an up to date build exists before installing, and also permits
the use of "make install" in place of "make all install" or "make all; make install". It doesn't affect the existing build scripts. Likewise, make 'distclean'
always depend on 'clean'. Remove empty contour objects example, as there is no
corresponding object class. Also declare all the standard targets 'all, install,
etc' in the .PHONY section for performance.

File size: 1004 bytes
Line 
1
2SHELL           = @SHELL@
3
4srcdir          = @srcdir@
5prefix          = @prefix@
6exec_prefix     = @exec_prefix@
7bindir          = @bindir@
8libdir          = @libdir@
9datadir         = @datadir@
10datarootdir     = @datarootdir@
11mandir          = @mandir@
12includedir      = @includedir@
13
14pkgdatadir      = $(datadir)/$(PKG_DIR)
15pkglibdir       = $(libdir)/$(PKG_DIR)
16pkgincludedir   = $(includedir)/$(PKG_DIR)
17top_builddir    = .
18
19MKDIR_P         = @MKDIR_P@
20TCL_VERSION     = @TCL_VERSION@
21TCLSH           = $(bindir)/tclsh$(TCL_VERSION)
22INSTALL         = @INSTALL@
23
24PACKAGE_VERSION = @PACKAGE_VERSION@
25
26version         = $(PACKAGE_VERSION)
27name            = RapptureTester$(version)
28
29destdir         = $(libdir)/$(name)
30
31.PHONY: all install install-pkg install-scripts clean distclean
32
33all:
34        $(MAKE) -C scripts all
35
36install: install-pkg install-scripts
37
38install-pkg:
39        $(MKDIR_P) -m 0755 $(destdir)
40        $(INSTALL) -m 444 pkgIndex.tcl $(destdir)
41
42install-scripts: scripts
43        $(MAKE) -C scripts install
44
45clean:
46        $(MAKE) -C scripts clean
47        $(RM) example/driver*.xml example/run*.xml
48
49distclean: clean
50        $(RM) Makefile pkgIndex.tcl *~
Note: See TracBrowser for help on using the repository browser.