~ubuntu-branches/ubuntu/precise/boinc/precise

« back to all changes in this revision

Viewing changes to sea/Makefile.am

Tags: 6.12.8+dfsg-1
* New upstream release.
* Simplified debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
## -*- mode: makefile; tab-width: 4 -*-
2
 
EXTRA_DIST = make-sea.sh
3
 
 
4
 
vers = \
5
 
  @BOINC_MAJOR_VERSION@.@BOINC_MINOR_VERSION@.@BOINC_RELEASE@_@boinc_platform@
6
 
sea = boinc_$(vers).sh
7
 
tarfiles = BOINC/boinc BOINC/boincmgr BOINC/boinccmd BOINC/binstall.sh\
8
 
        BOINC/boincmgr.16x16.png BOINC/boincmgr.32x32.png BOINC/boincmgr.48x48.png \
9
 
        BOINC/libcudart.so BOINC/ca-bundle.crt
10
 
 
11
 
sea_debug = boinc_$(vers)_debug.sh
12
 
tarfiles_debug = BOINC_debug/boinc.unmodified BOINC_debug/boincmgr.unmodified\
13
 
        BOINC_debug/boinccmd.unmodified BOINC_debug/binstall.sh\
14
 
        BOINC_debug/boincmgr.16x16.png BOINC_debug/boincmgr.32x32.png\
15
 
        BOINC_debug/boincmgr.48x48.png \
16
 
        BOINC_debug/libcudart.so BOINC_debug/ca-bundle.crt
17
 
 
18
 
all: $(sea) $(sea_debug)
19
 
 
20
 
# WARNING: WHAT FOLLOWS IS 'FRAGILE'.  DO NOT REPLACE
21
 
# TABS WITH SPACES!
22
 
 
23
 
$(sea): sea.tar make-sea.sh Makefile
24
 
        ./make-sea.sh sea.tar $(sea) BOINC/binstall.sh
25
 
 
26
 
$(sea_debug): sea_debug.tar make-sea.sh Makefile
27
 
        ./make-sea.sh sea_debug.tar $(sea_debug) BOINC_debug/binstall.sh
28
 
 
29
 
sea.tar: $(tarfiles)
30
 
        ./make-tar.sh
31
 
 
32
 
sea_debug.tar: $(tarfiles_debug)
33
 
        ./make-tar_debug.sh
34
 
 
35
 
BOINC/boinc: ../client/boinc BOINC
36
 
        cp ../client/boinc BOINC/boinc
37
 
 
38
 
BOINC/boincmgr: ../clientgui/boincmgr BOINC
39
 
        cp ../clientgui/boincmgr BOINC/boincmgr
40
 
 
41
 
BOINC/boinccmd: ../lib/boinccmd BOINC
42
 
        cp ../lib/boinccmd BOINC/boinccmd
43
 
 
44
 
BOINC/libcudart.so: ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC
45
 
        cp ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC/libcudart.so
46
 
 
47
 
BOINC/boincmgr.16x16.png: boincmgr.16x16.png
48
 
        cp boincmgr.16x16.png BOINC/boincmgr.16x16.png
49
 
BOINC/boincmgr.32x32.png: boincmgr.32x32.png
50
 
        cp boincmgr.32x32.png BOINC/boincmgr.32x32.png
51
 
BOINC/boincmgr.48x48.png: boincmgr.48x48.png
52
 
        cp boincmgr.48x48.png BOINC/boincmgr.48x48.png
53
 
BOINC/ca-bundle.crt: ../curl/ca-bundle.crt
54
 
        cp ../curl/ca-bundle.crt BOINC/ca-bundle.crt
55
 
 
56
 
BOINC_debug/boinc.unmodified: ../client/boinc.unmodified BOINC_debug
57
 
        cp ../client/boinc.unmodified BOINC_debug/boinc.unmodified
58
 
 
59
 
BOINC_debug/boincmgr.unmodified: ../clientgui/boincmgr.unmodified BOINC_debug
60
 
        cp ../clientgui/boincmgr.unmodified BOINC_debug/boincmgr.unmodified
61
 
 
62
 
BOINC_debug/boinccmd.unmodified: ../lib/boinccmd.unmodified BOINC_debug
63
 
        cp ../lib/boinccmd.unmodified BOINC_debug/boinccmd.unmodified
64
 
 
65
 
BOINC_debug/libcudart.so: ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC_debug
66
 
        cp ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC_debug/libcudart.so
67
 
 
68
 
BOINC_debug/boincmgr.16x16.png: boincmgr.16x16.png
69
 
        cp boincmgr.16x16.png BOINC_debug/boincmgr.16x16.png
70
 
BOINC_debug/boincmgr.32x32.png: boincmgr.32x32.png
71
 
        cp boincmgr.32x32.png BOINC_debug/boincmgr.32x32.png
72
 
BOINC_debug/boincmgr.48x48.png: boincmgr.48x48.png
73
 
        cp boincmgr.48x48.png BOINC_debug/boincmgr.48x48.png
74
 
BOINC_debug/ca-bundle.crt: ../curl/ca-bundle.crt
75
 
        cp ../curl/ca-bundle.crt BOINC_debug/ca-bundle.crt
76
 
 
77
 
BOINC/binstall.sh: BOINC Makefile
78
 
        echo 'cd BOINC &&\
79
 
        echo "cd \"$$PWD\" && exec ./boinc \$$@" > run_client &&\
80
 
        echo "cd \"$$PWD\" && exec ./boincmgr \$$@" > run_manager &&\
81
 
        chmod +x run_client &&\
82
 
        chmod +x run_manager &&\
83
 
        echo use $$PWD/run_manager to start BOINC' > BOINC/binstall.sh
84
 
 
85
 
BOINC_debug/binstall.sh: BOINC_debug Makefile
86
 
        echo 'cd BOINC_debug &&\
87
 
        echo "cd \"$$PWD\" && exec ./boinc.unmodified \$$@" > run_client &&\
88
 
        echo "cd \"$$PWD\" && exec ./boincmgr.unmodified \$$@" > run_manager &&\
89
 
        chmod +x run_client &&\
90
 
        chmod +x run_manager &&\
91
 
        echo use $$PWD/run_manager to start BOINC' > BOINC_debug/binstall.sh
92
 
 
93
 
BOINC:
94
 
        mkdir -p BOINC
95
 
 
96
 
BOINC_debug:
97
 
        mkdir -p BOINC_debug
98
 
 
99
 
clean:
100
 
        rm -rf BOINC sea.tar $(sea)
101
 
        rm -rf BOINC_debug sea_debug.tar $(sea_debug)
102