2002-07-17 21:40:05 +00:00
|
|
|
SHELL = /bin/sh
|
|
|
|
|
2002-05-25 15:17:57 +00:00
|
|
|
DEPTH = .
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
2002-05-25 15:30:00 +00:00
|
|
|
#
|
|
|
|
# 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
|
|
|
|
#
|
2002-11-09 20:26:50 +00:00
|
|
|
all:
|
2002-07-17 21:40:05 +00:00
|
|
|
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 ..;
|
2002-04-30 22:22:54 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f boinc.tar.gz config.cache; \
|
2002-07-17 21:40:05 +00:00
|
|
|
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 ..;
|
2002-04-30 22:22:54 +00:00
|
|
|
|
2002-08-30 00:10:40 +00:00
|
|
|
ARCHIVE_TARGETS = \
|
2002-10-31 23:26:38 +00:00
|
|
|
client/*.C client/*.h client/configure \
|
2002-07-24 18:49:23 +00:00
|
|
|
client/install-sh client/*.in client/*.sub client/*.guess \
|
2002-08-30 00:10:40 +00:00
|
|
|
client/mac/*.h client/mac/*.cpp \
|
2002-10-31 23:26:38 +00:00
|
|
|
client/win/*.h client/win/*.cpp client/win/*.rc client/win/*.aps \
|
|
|
|
client/win/res/*.* \
|
|
|
|
apps/*.C apps/*.in \
|
2002-07-24 18:49:23 +00:00
|
|
|
db/*.sql db/*.h db/*.C db/*.in db/init_db \
|
|
|
|
doc/*.* \
|
|
|
|
html_ops/*.* \
|
|
|
|
html_user/*.* \
|
|
|
|
lib/*.C lib/*.c lib/*.h lib/*.in \
|
|
|
|
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 \
|
2002-11-08 19:58:12 +00:00
|
|
|
test/*.html test/*input test/*.inc \
|
2002-07-24 18:49:23 +00:00
|
|
|
tools/*.C tools/*.h tools/*.in \
|
2002-11-01 19:39:42 +00:00
|
|
|
api/*.C api/*.h api/*.in api/*.c api/*.cpp \
|
2002-07-24 18:49:23 +00:00
|
|
|
RSAEuro/*/*.c RSAEuro/*/*.h RSAEuro/*/*.in RSAEuro/*/*.mak \
|
2002-10-31 23:26:38 +00:00
|
|
|
mac_build/boinc.pbproj/*.pbxproj mac_build/*.lproj/*.nib/*.* \
|
|
|
|
mac_build/*.lproj/*.strings \
|
|
|
|
win_build/*.* win_build/*/*.dsp win_build/*/*.rct \
|
2002-11-01 19:39:42 +00:00
|
|
|
INSTALL LICENSE configure \
|
|
|
|
*.in *.sub *.guess
|
2002-07-24 18:49:23 +00:00
|
|
|
|
|
|
|
tar:
|
2002-11-09 20:26:50 +00:00
|
|
|
tar cf boinc_$(BOINC_MAJOR_VERSION).$(BOINC_MINOR_VERSION).tar $(ARCHIVE_TARGETS) ; gzip boinc_$(BOINC_MAJOR_VERSION).$(BOINC_MINOR_VERSION).tar
|
2002-08-30 00:10:40 +00:00
|
|
|
|
|
|
|
zip:
|
2002-11-09 20:26:50 +00:00
|
|
|
zip -q boinc_$(BOINC_MAJOR_VERSION).$(BOINC_MINOR_VERSION).zip $(ARCHIVE_TARGETS)
|
2002-07-17 22:52:45 +00:00
|
|
|
|
|
|
|
client_tar: clean
|
2002-07-19 20:35:25 +00:00
|
|
|
cd client; ./configure; ${MAKE} tar;
|