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 | |
---|
2 | bindir = @bindir@ |
---|
3 | datadir = @datadir@ |
---|
4 | datarootdir = @datarootdir@ |
---|
5 | exec_prefix = @exec_prefix@ |
---|
6 | includedir = @includedir@ |
---|
7 | libdir = @libdir@ |
---|
8 | mandir = @mandir@ |
---|
9 | prefix = @prefix@ |
---|
10 | srcdir = @srcdir@ |
---|
11 | |
---|
12 | INSTALL = @INSTALL@ |
---|
13 | SHELL = @SHELL@ |
---|
14 | MKDIR_P = @MKDIR_P@ |
---|
15 | RM = rm -f |
---|
16 | VPATH = $(srcdir) |
---|
17 | |
---|
18 | build_date := $(shell date +%Y%m%d) |
---|
19 | machine := $(shell uname -m | sed 's/\ //') |
---|
20 | os := $(shell uname -s) |
---|
21 | |
---|
22 | pkg_path := $(shell dirname $(prefix)) |
---|
23 | pkg_name := $(shell basename $(prefix)) |
---|
24 | |
---|
25 | rappture_binary_tarfile = rappture-$(os)-$(machine)-$(build_date).tar.gz |
---|
26 | rappture_source_tarfile = rappture-src-$(build_date).tar.gz |
---|
27 | runtime_source_tarfile = rappture-runtime-src-$(build_date).tar.gz |
---|
28 | |
---|
29 | runtime_repo = https://repo.nanohub.org/svn/rappture-runtime/trunk |
---|
30 | rappture_repo = https://repo.nanohub.org/svn/rappture/trunk |
---|
31 | |
---|
32 | ENABLE_GUI = @ENABLE_GUI@ |
---|
33 | |
---|
34 | TARGETS = src |
---|
35 | |
---|
36 | ifneq ($(ENABLE_GUI),) |
---|
37 | TARGETS += gui lang examples lib |
---|
38 | endif |
---|
39 | |
---|
40 | |
---|
41 | .PHONY: $(TARGETS) |
---|
42 | |
---|
43 | all: $(TARGETS) |
---|
44 | |
---|
45 | src: |
---|
46 | $(MAKE) -C src all |
---|
47 | gui: |
---|
48 | $(MAKE) -C gui all |
---|
49 | lang: |
---|
50 | $(MAKE) -C lang all |
---|
51 | lib: |
---|
52 | $(MAKE) -C lib all |
---|
53 | examples: |
---|
54 | $(MAKE) -C examples all |
---|
55 | test: |
---|
56 | #$(MAKE) -C test all |
---|
57 | |
---|
58 | install: |
---|
59 | for i in $(TARGETS) ; do \ |
---|
60 | $(MAKE) -C $$i install || exit 1 ;\ |
---|
61 | done |
---|
62 | |
---|
63 | clean: |
---|
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 | |
---|
71 | distclean: |
---|
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 | |
---|
80 | package: |
---|
81 | tar -C $(pkg_path) -czlf $(rappture_binary_tarfile) $(pkg_name) |
---|
82 | |
---|
83 | distrib: |
---|
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 | |
---|
90 | runtime-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.