source: trunk/Makefile.in @ 1189

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

Makefile.in:

Changed "make package" to include the build directory name

(e.g. 20081010).

gui/scripts/field.tcl

Added method "isunirect2d" to field.tcl.


gui/scripts/sequenceviewer.tcl

Added "isunirect2d" test to display surface plots in sequence.

gui/scripts/resultviewer.tcl

Changed test for contours to use new "isunirect2d" method.

packages/vizservers/nanoscale/server.c

Added experimental rotating DISPLAY variable setting for multi GPU
servers.

File size: 2.0 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@
13SHELL           = @SHELL@
14MKDIR_P         = @MKDIR_P@
15RM              = rm -f
16VPATH           = $(srcdir)
17
18build_date      := $(shell date +%Y%m%d)
19machine         := $(shell uname -m | sed 's/\ //')
20os              := $(shell uname -s)
21
22pkg_path        := $(shell dirname $(prefix))
23pkg_name        := $(shell basename $(prefix))
24
25rappture_binary_tarfile = rappture-$(os)-$(machine)-$(build_date).tar.gz
26rappture_source_tarfile = rappture-src-$(build_date).tar.gz
27runtime_source_tarfile = rappture-runtime-src-$(build_date).tar.gz
28
29runtime_repo = https://repo.nanohub.org/svn/rappture-runtime/trunk
30rappture_repo = https://repo.nanohub.org/svn/rappture/trunk
31
32ENABLE_GUI      = @ENABLE_GUI@
33
34TARGETS         = src
35
36ifneq ($(ENABLE_GUI),)
37  TARGETS += gui lang examples lib
38endif
39
40
41.PHONY: $(TARGETS)
42
43all: $(TARGETS)
44
45src:
46        $(MAKE) -C src all
47gui:
48        $(MAKE) -C gui all
49lang:
50        $(MAKE) -C lang all
51lib:
52        $(MAKE) -C lib all
53examples:
54        $(MAKE) -C examples all
55test:
56        #$(MAKE) -C test all
57
58install:
59        for i in $(TARGETS) ; do \
60          $(MAKE) -C $$i install || exit 1 ;\
61        done
62
63clean:
64        $(MAKE) -C examples clean
65        $(MAKE) -C gui clean
66        $(MAKE) -C lang clean
67        $(MAKE) -C lib clean
68        $(MAKE) -C src clean
69        $(MAKE) -C test clean
70
71distclean:
72        $(MAKE) -C examples distclean
73        $(MAKE) -C gui distclean
74        $(MAKE) -C lang distclean
75        $(MAKE) -C lib distclean
76        $(MAKE) -C src distclean
77        $(MAKE) -C test distclean
78        $(RM) Makefile config.status config.log  *~
79
80package:
81        tar -C $(pkg_path) -czlf $(rappture_binary_tarfile) $(pkg_name)
82
83distrib:
84        $(RM) -r exported
85        $(MKDIR_P) exported
86        (cd exported; svn export -q $(rappture_repo) rappture)
87        tar -C exported -czlf $(rappture_source_tarfile) rappture
88        $(RM) -r exported
89
90runtime-distrib:
91        $(RM) -r exported
92        $(MKDIR_P) exported
93        (cd exported; svn export -q $(runtime_repo) runtime)
94        tar -C exported -czlf $(runtime_source_tarfile) runtime
95        $(RM) -r exported
Note: See TracBrowser for help on using the repository browser.