From: Martin Mares Date: Sun, 25 May 2008 20:25:13 +0000 (+0200) Subject: Build all mop/ subdirs. X-Git-Tag: python-dummy-working~166 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=fda77969a67a10a088ea7b96fc5a477acafd4bdf;p=eval.git Build all mop/ subdirs. --- diff --git a/mop/Makefile b/mop/Makefile index f2e4256..2129525 100644 --- a/mop/Makefile +++ b/mop/Makefile @@ -2,9 +2,11 @@ # (c) 2008 Martin Mares DIRS+=mop -PROGS+=$(addprefix $(o)/mop/,md5crypt) -$(o)/mop/md5crypt: $(o)/mop/md5crypt.o $(LIBUCW) +include mop/admin/Makefile +include mop/eval/Makefile +include mop/public/Makefile +include mop/score/Makefile CONFIGS+=mop run/cf/mop: $(o)/mop/mop.cf diff --git a/mop/admin/Makefile b/mop/admin/Makefile new file mode 100644 index 0000000..97c3e74 --- /dev/null +++ b/mop/admin/Makefile @@ -0,0 +1,29 @@ +# Makefile for MO-P contest environment +# (c) 2008 Martin Mares + +DIRS+=mop/admin +PROGS+=$(addprefix $(o)/mop/admin/,\ + md5crypt \ + mo-backup mo-back-status \ + mo-install mo-create-contestants mo-create-eval mo-create-logins \ + mo-create-packages mo-create-public mo-create-submit mo-create-testusers \ + mo-grab mo-back-grab mo-grab-remote \ + mo-push-certs mo-push-feedback) + +$(o)/mop/admin/md5crypt: $(o)/mop/admin/md5crypt.o $(LIBUCW) + +$(o)/mop/admin/mo-back-grab: mop/admin/mo-back-grab.sh +$(o)/mop/admin/mo-back-status: mop/admin/mo-back-status.sh +$(o)/mop/admin/mo-backup: mop/admin/mo-backup.sh +$(o)/mop/admin/mo-create-contestants: mop/admin/mo-create-contestants.sh +$(o)/mop/admin/mo-create-eval: mop/admin/mo-create-eval.sh +$(o)/mop/admin/mo-create-logins: mop/admin/mo-create-logins.sh +$(o)/mop/admin/mo-create-packages: mop/admin/mo-create-packages.sh +$(o)/mop/admin/mo-create-public: mop/admin/mo-create-public.sh +$(o)/mop/admin/mo-create-submit: mop/admin/mo-create-submit.sh +$(o)/mop/admin/mo-create-testusers: mop/admin/mo-create-testusers.sh +$(o)/mop/admin/mo-grab-remote: mop/admin/mo-grab-remote.sh +$(o)/mop/admin/mo-grab: mop/admin/mo-grab.sh +$(o)/mop/admin/mo-install: mop/admin/mo-install.sh +$(o)/mop/admin/mo-push-certs: mop/admin/mo-push-certs.sh +$(o)/mop/admin/mo-push-feedback: mop/admin/mo-push-feedback.sh diff --git a/mop/eval/Makefile b/mop/eval/Makefile new file mode 100644 index 0000000..f85a395 --- /dev/null +++ b/mop/eval/Makefile @@ -0,0 +1,13 @@ +# Makefile for MO-P contest environment +# (c) 2008 Martin Mares + +DIRS+=mop/eval +PROGS+=$(addprefix $(o)/mop/eval/,\ + mo-ev-all mo-ev-inc mo-get-users \ + mo-score mo-report) + +$(o)/mop/eval/mo-ev-all: mop/eval/mo-ev-all.sh +$(o)/mop/eval/mo-ev-inc: mop/eval/mo-ev-inc.sh +$(o)/mop/eval/mo-get-users: mop/eval/mo-get-users.sh +$(o)/mop/eval/mo-report: mop/eval/mo-report.sh +$(o)/mop/eval/mo-score: mop/eval/mo-score.sh diff --git a/mop/public/Makefile b/mop/public/Makefile new file mode 100644 index 0000000..fed4b6b --- /dev/null +++ b/mop/public/Makefile @@ -0,0 +1,10 @@ +# Makefile for MO-P contest environment +# (c) 2008 Martin Mares + +DIRS+=mop/public +PROGS+=$(addprefix $(o)/mop/public/,check compile status submit) + +$(o)/mop/public/check: mop/public/check.sh +$(o)/mop/public/compile: mop/public/compile.sh +$(o)/mop/public/status: mop/public/status.sh +$(o)/mop/public/submit: mop/public/submit.sh diff --git a/mop/score/Makefile b/mop/score/Makefile new file mode 100644 index 0000000..3b31725 --- /dev/null +++ b/mop/score/Makefile @@ -0,0 +1,8 @@ +# Makefile for MO-P contest environment +# (c) 2008 Martin Mares + +DIRS+=mop/score +PROGS+=$(addprefix $(o)/mop/score/,mo-score-mop mo-score-mop-formatted) + +$(o)/mop/score/mo-score-mop-formatted: mop/score/mo-score-mop-formatted.sh +$(o)/mop/score/mo-score-mop: mop/score/mo-score-mop.sh