mirror of https://github.com/BOINC/boinc.git
45 lines
1.0 KiB
Makefile
45 lines
1.0 KiB
Makefile
DEPTH = .
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
#
|
|
# The ../$(srcdir)/client/configure
|
|
# only works when the original configure is relative path
|
|
# it doesn't work when it is an absolute path
|
|
# This needs to be fixed
|
|
#
|
|
all:
|
|
cd RSAEuro/source; make; cd ../..; \
|
|
cd db; make; cd ..; \
|
|
cd lib; make; cd ..; \
|
|
cd api; make; cd ..; \
|
|
cd apps; make; cd ..; \
|
|
cd client; ../$(srcdir)/client/configure; make; cd ..; \
|
|
cd sched; make; cd ..; \
|
|
cd tools; make; cd ..;
|
|
|
|
clean:
|
|
rm -f boinc.tar.gz config.cache; \
|
|
cd RSAEuro/source/; make clean; cd ../../; \
|
|
cd db; make clean; cd ..; \
|
|
cd lib; make clean; cd ..; \
|
|
cd api; make clean; cd ..; \
|
|
cd apps; make clean; cd ..; \
|
|
cd client; make clean; cd ..; \
|
|
cd sched; make clean; cd ..; \
|
|
cd tools; make clean; cd ..;
|
|
|
|
install: all
|
|
-mkdir -p /usr/local/boinc;
|
|
cd sched; make install;
|
|
cd lib; make install;
|
|
cd api; make install;
|
|
cd apps; make install;
|
|
cd client; make install;
|
|
cd tools; make install;
|
|
cp -r test /usr/local/boinc;
|
|
|
|
tar: clean
|
|
tar cf boinc.tar * ; gzip boinc.tar
|