mirror of https://github.com/BOINC/boinc.git
70 lines
2.3 KiB
Makefile
70 lines
2.3 KiB
Makefile
SHELL = /bin/sh
|
|
|
|
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 ..;
|
|
|
|
ARCHIVE_TARGETS = \
|
|
client/*.C client/*.h client/configure \
|
|
client/install-sh client/*.in client/*.sub client/*.guess \
|
|
client/mac/*.h client/mac/*.cpp \
|
|
client/win/*.h client/win/*.cpp client/win/*.rc \
|
|
client/win/*.ico client/win/*.def client/win/res/*.* \
|
|
client/translation/* \
|
|
apps/*.C apps/*.in \
|
|
db/*.sql db/*.h db/*.C db/*.in db/init_db \
|
|
doc/*.* \
|
|
html_ops/*.* \
|
|
html_user/*.* \
|
|
lib/*.C lib/*.c lib/*.h lib/*.in \
|
|
stripchart/* stripchart/samples/* \
|
|
sched/*.C sched/*.h sched/*.in \
|
|
sched_fcgi/*.C sched_fcgi/*.h sched_fcgi/*.in \
|
|
test/*.xml test/*.php test/*wu test/*result test/*output \
|
|
test/*input test/*.inc \
|
|
tools/*.C tools/*.h tools/*.in \
|
|
api/*.C api/*.h api/*.in api/*.c api/*.cpp \
|
|
RSAEuro/*/*.c RSAEuro/*/*.h RSAEuro/*/*.in RSAEuro/*/*.mak \
|
|
mac_build/boinc.pbproj/*.pbxproj mac_build/*.lproj/*.nib/*.* \
|
|
mac_build/*.lproj/*.strings \
|
|
win_build/*.* win_build/*/*.dsp win_build/*/*.rct \
|
|
INSTALL LICENSE configure todo checkin_notes \
|
|
*.in *.sub *.guess
|
|
|
|
tar:
|
|
tar cf boinc_$(BOINC_MAJOR_VERSION).$(BOINC_MINOR_VERSION).tar $(ARCHIVE_TARGETS) ; gzip boinc_$(BOINC_MAJOR_VERSION).$(BOINC_MINOR_VERSION).tar
|
|
|
|
zip:
|
|
zip -q boinc_$(BOINC_MAJOR_VERSION).$(BOINC_MINOR_VERSION).zip $(ARCHIVE_TARGETS)
|
|
|
|
client_tar: clean
|
|
cd client; ./configure; ${MAKE} tar;
|