2008-06-08 22:18:52 +00:00
|
|
|
## -*- mode: makefile; tab-width: 4 -*-
|
2005-01-11 02:27:39 +00:00
|
|
|
EXTRA_DIST = make-sea.sh
|
|
|
|
|
2005-12-16 03:30:39 +00:00
|
|
|
vers = \
|
|
|
|
@BOINC_MAJOR_VERSION@.@BOINC_MINOR_VERSION@.@BOINC_RELEASE@_@boinc_platform@
|
2005-01-10 21:41:41 +00:00
|
|
|
sea = boinc_$(vers).sh
|
2008-07-11 16:16:21 +00:00
|
|
|
tarfiles = BOINC/boinc BOINC/boincmgr BOINC/boinccmd BOINC/binstall.sh\
|
2007-08-14 18:50:11 +00:00
|
|
|
BOINC/boincmgr.16x16.png BOINC/boincmgr.32x32.png BOINC/boincmgr.48x48.png \
|
2008-08-26 19:21:46 +00:00
|
|
|
BOINC/libcudart.so BOINC/ca-bundle.crt
|
2005-01-06 11:49:15 +00:00
|
|
|
|
2005-09-09 07:06:30 +00:00
|
|
|
sea_debug = boinc_$(vers)_debug.sh
|
|
|
|
tarfiles_debug = BOINC_debug/boinc.unmodified BOINC_debug/boincmgr.unmodified\
|
2008-07-11 16:16:21 +00:00
|
|
|
BOINC_debug/boinccmd.unmodified BOINC_debug/binstall.sh\
|
2007-08-14 18:50:11 +00:00
|
|
|
BOINC_debug/boincmgr.16x16.png BOINC_debug/boincmgr.32x32.png\
|
|
|
|
BOINC_debug/boincmgr.48x48.png \
|
2008-08-26 19:21:46 +00:00
|
|
|
BOINC_debug/libcudart.so BOINC_debug/ca-bundle.crt
|
2005-09-09 07:06:30 +00:00
|
|
|
|
|
|
|
all: $(sea) $(sea_debug)
|
2005-01-06 11:49:15 +00:00
|
|
|
|
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-09-09 07:06:30 +00:00
|
|
|
$(sea_debug): sea_debug.tar make-sea.sh Makefile
|
|
|
|
./make-sea.sh sea_debug.tar $(sea_debug) BOINC_debug/binstall.sh
|
|
|
|
|
2005-07-13 18:14:24 +00:00
|
|
|
sea.tar: $(tarfiles)
|
2005-10-20 02:18:43 +00:00
|
|
|
./make-tar.sh
|
2005-01-06 11:49:15 +00:00
|
|
|
|
2005-09-09 07:06:30 +00:00
|
|
|
sea_debug.tar: $(tarfiles_debug)
|
2005-10-20 02:18:43 +00:00
|
|
|
./make-tar_debug.sh
|
2005-09-09 07:06:30 +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
|
|
|
|
2008-08-26 19:21:46 +00:00
|
|
|
BOINC/boinccmd: ../lib/boinccmd BOINC
|
2008-07-11 16:16:21 +00:00
|
|
|
cp ../lib/boinccmd BOINC/boinccmd
|
|
|
|
|
2008-08-26 19:21:46 +00:00
|
|
|
BOINC/libcudart.so: ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC
|
|
|
|
cp ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC/libcudart.so
|
2005-07-13 18:14:24 +00:00
|
|
|
|
|
|
|
BOINC/boincmgr.16x16.png: boincmgr.16x16.png
|
|
|
|
cp boincmgr.16x16.png BOINC/boincmgr.16x16.png
|
2007-08-17 16:32:18 +00:00
|
|
|
BOINC/boincmgr.32x32.png: boincmgr.32x32.png
|
2005-07-13 18:14:24 +00:00
|
|
|
cp boincmgr.32x32.png BOINC/boincmgr.32x32.png
|
2007-08-14 18:50:11 +00:00
|
|
|
BOINC/boincmgr.48x48.png: boincmgr.48x48.png
|
|
|
|
cp boincmgr.48x48.png BOINC/boincmgr.48x48.png
|
2006-08-10 16:45:31 +00:00
|
|
|
BOINC/ca-bundle.crt: ../curl/ca-bundle.crt
|
|
|
|
cp ../curl/ca-bundle.crt BOINC/ca-bundle.crt
|
2005-07-13 18:14:24 +00:00
|
|
|
|
2005-09-09 07:06:30 +00:00
|
|
|
BOINC_debug/boinc.unmodified: ../client/boinc.unmodified BOINC_debug
|
|
|
|
cp ../client/boinc.unmodified BOINC_debug/boinc.unmodified
|
|
|
|
|
|
|
|
BOINC_debug/boincmgr.unmodified: ../clientgui/boincmgr.unmodified BOINC_debug
|
|
|
|
cp ../clientgui/boincmgr.unmodified BOINC_debug/boincmgr.unmodified
|
|
|
|
|
|
|
|
BOINC_debug/boinccmd.unmodified: ../lib/boinccmd.unmodified BOINC_debug
|
|
|
|
cp ../lib/boinccmd.unmodified BOINC_debug/boinccmd.unmodified
|
|
|
|
|
2008-08-26 19:21:46 +00:00
|
|
|
BOINC_debug/libcudart.so: ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC_debug
|
|
|
|
cp ../coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC_debug/libcudart.so
|
2008-07-11 16:16:21 +00:00
|
|
|
|
2005-09-09 07:06:30 +00:00
|
|
|
BOINC_debug/boincmgr.16x16.png: boincmgr.16x16.png
|
|
|
|
cp boincmgr.16x16.png BOINC_debug/boincmgr.16x16.png
|
|
|
|
BOINC_debug/boincmgr.32x32.png: boincmgr.32x32.png
|
|
|
|
cp boincmgr.32x32.png BOINC_debug/boincmgr.32x32.png
|
2007-08-14 18:50:11 +00:00
|
|
|
BOINC_debug/boincmgr.48x48.png: boincmgr.48x48.png
|
|
|
|
cp boincmgr.48x48.png BOINC_debug/boincmgr.48x48.png
|
2006-08-10 16:45:31 +00:00
|
|
|
BOINC_debug/ca-bundle.crt: ../curl/ca-bundle.crt
|
|
|
|
cp ../curl/ca-bundle.crt BOINC_debug/ca-bundle.crt
|
2005-09-09 07:06:30 +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 &&\
|
2005-06-29 00:10:49 +00:00
|
|
|
echo "cd \"$$PWD\" && exec ./boinc \$$@" > run_client &&\
|
2005-10-28 22:42:58 +00:00
|
|
|
echo "cd \"$$PWD\" && exec ./boincmgr \$$@" > run_manager &&\
|
2005-01-11 11:45:31 +00:00
|
|
|
chmod +x run_client &&\
|
2005-10-28 22:42:58 +00:00
|
|
|
chmod +x run_manager &&\
|
2006-06-03 20:08:38 +00:00
|
|
|
echo use $$PWD/run_manager to start BOINC' > BOINC/binstall.sh
|
2005-01-06 11:49:15 +00:00
|
|
|
|
2005-09-09 07:06:30 +00:00
|
|
|
BOINC_debug/binstall.sh: BOINC_debug Makefile
|
|
|
|
echo 'cd BOINC_debug &&\
|
|
|
|
echo "cd \"$$PWD\" && exec ./boinc.unmodified \$$@" > run_client &&\
|
2005-10-28 22:42:58 +00:00
|
|
|
echo "cd \"$$PWD\" && exec ./boincmgr.unmodified \$$@" > run_manager &&\
|
2005-09-09 07:06:30 +00:00
|
|
|
chmod +x run_client &&\
|
2005-10-28 22:42:58 +00:00
|
|
|
chmod +x run_manager &&\
|
2006-06-03 20:08:38 +00:00
|
|
|
echo use $$PWD/run_manager to start BOINC' > BOINC_debug/binstall.sh
|
2005-09-09 07:06:30 +00:00
|
|
|
|
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
|
|
|
|
2005-09-09 07:06:30 +00:00
|
|
|
BOINC_debug:
|
|
|
|
mkdir -p BOINC_debug
|
|
|
|
|
2005-01-06 11:49:15 +00:00
|
|
|
clean:
|
2005-01-11 11:45:31 +00:00
|
|
|
rm -rf BOINC sea.tar $(sea)
|
2005-09-09 07:06:30 +00:00
|
|
|
rm -rf BOINC_debug sea_debug.tar $(sea_debug)
|
2005-01-24 16:19:35 +00:00
|
|
|
|