]> mj.ucw.cz Git - eval.git/commitdiff
Build all mop/ subdirs.
authorMartin Mares <mj@ucw.cz>
Sun, 25 May 2008 20:25:13 +0000 (22:25 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 25 May 2008 20:25:13 +0000 (22:25 +0200)
mop/Makefile
mop/admin/Makefile [new file with mode: 0644]
mop/eval/Makefile [new file with mode: 0644]
mop/public/Makefile [new file with mode: 0644]
mop/score/Makefile [new file with mode: 0644]

index f2e4256664300eafbb1ac28dc6dd0b9559fc452c..2129525cafd58690138ceeb3a7516fe4548d151c 100644 (file)
@@ -2,9 +2,11 @@
 # (c) 2008 Martin Mares <mj@ucw.cz>
 
 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 (file)
index 0000000..97c3e74
--- /dev/null
@@ -0,0 +1,29 @@
+# Makefile for MO-P contest environment
+# (c) 2008 Martin Mares <mj@ucw.cz>
+
+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 (file)
index 0000000..f85a395
--- /dev/null
@@ -0,0 +1,13 @@
+# Makefile for MO-P contest environment
+# (c) 2008 Martin Mares <mj@ucw.cz>
+
+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 (file)
index 0000000..fed4b6b
--- /dev/null
@@ -0,0 +1,10 @@
+# Makefile for MO-P contest environment
+# (c) 2008 Martin Mares <mj@ucw.cz>
+
+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 (file)
index 0000000..3b31725
--- /dev/null
@@ -0,0 +1,8 @@
+# Makefile for MO-P contest environment
+# (c) 2008 Martin Mares <mj@ucw.cz>
+
+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