2005-01-11 02:27:39 +00:00
|
|
|
EXTRA_DIST = make-sea.sh
|
|
|
|
|
2005-01-06 11:49:15 +00:00
|
|
|
vers = @BOINC_MAJOR_VERSION@.@BOINC_MINOR_VERSION@_@target@
|
2005-01-10 21:41:41 +00:00
|
|
|
sea = boinc_$(vers).sh
|
2005-01-06 11:49:15 +00:00
|
|
|
|
|
|
|
all: $(sea)
|
|
|
|
|
2005-01-11 11:45:31 +00:00
|
|
|
# WARNING: WHAT FOLLOWS IS 'FRAGILE'. DO NOT REPLACE
|
|
|
|
# TABS WITH SPACES!
|
|
|
|
|
2005-01-06 11:49:15 +00:00
|
|
|
$(sea): sea.tar make-sea.sh Makefile
|
2005-01-24 16:19:35 +00:00
|
|
|
./make-sea.sh sea.tar $(sea) BOINC/binstall.sh
|
2005-01-06 11:49:15 +00:00
|
|
|
|
2005-01-10 21:50:48 +00:00
|
|
|
sea.tar: BOINC/boinc BOINC/boincmgr BOINC/binstall.sh
|
2005-01-24 16:19:35 +00:00
|
|
|
tar cf sea.tar BOINC/boinc BOINC/boincmgr BOINC/binstall.sh
|
2005-01-06 11:49:15 +00:00
|
|
|
|
2005-01-10 21:50:48 +00:00
|
|
|
BOINC/boinc: ../client/boinc BOINC
|
2005-01-24 16:19:35 +00:00
|
|
|
cp ../client/boinc BOINC/boinc
|
2005-01-06 11:49:15 +00:00
|
|
|
|
2005-01-10 21:50:48 +00:00
|
|
|
BOINC/boincmgr: ../clientgui/boincmgr BOINC
|
2005-01-24 16:19:35 +00:00
|
|
|
cp ../clientgui/boincmgr BOINC/boincmgr
|
2005-01-06 11:49:15 +00:00
|
|
|
|
2005-01-24 16:19:35 +00:00
|
|
|
BOINC/binstall.sh: BOINC Makefile
|
2005-01-11 11:45:31 +00:00
|
|
|
echo 'cd BOINC &&\
|
|
|
|
echo "cd \"`pwd`\" && ./boinc" > run_client &&\
|
|
|
|
chmod +x run_client &&\
|
2005-01-24 16:19:35 +00:00
|
|
|
echo now run `pwd`/run_client to run the client and `pwd`/boincmgr to run the GUI' > BOINC/binstall.sh
|
2005-01-06 11:49:15 +00:00
|
|
|
|
|
|
|
BOINC:
|
2005-01-11 11:45:31 +00:00
|
|
|
mkdir -p BOINC
|
2005-01-06 11:49:15 +00:00
|
|
|
|
|
|
|
clean:
|
2005-01-11 11:45:31 +00:00
|
|
|
rm -rf BOINC sea.tar $(sea)
|
2005-01-24 16:19:35 +00:00
|
|
|
|