rcssmonitor-14に合わせてオプションを変更
@@ -46,6 +46,7 @@ | ||
46 | 46 | "$(DESTDIR)$(rclmschedulers_tournamentdir)" \ |
47 | 47 | "$(DESTDIR)$(rclmtype_2D_RoundRobindir)" \ |
48 | 48 | "$(DESTDIR)$(rclmtype_2D_Tournamentdir)" \ |
49 | + "$(DESTDIR)$(rclmtype_3DSparkdir)" \ | |
49 | 50 | "$(DESTDIR)$(rclmtype_competitiondir)" \ |
50 | 51 | "$(DESTDIR)$(rclmtype_jopen2008_2Ddir)" \ |
51 | 52 | "$(DESTDIR)$(rclmtype_jopen2008_2D_Tdir)" \ |
@@ -58,6 +59,7 @@ | ||
58 | 59 | rclmschedulers_tournamentSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
59 | 60 | rclmtype_2D_RoundRobinSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
60 | 61 | rclmtype_2D_TournamentSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
62 | +rclmtype_3DSparkSCRIPT_INSTALL = $(INSTALL_SCRIPT) | |
61 | 63 | rclmtype_competitionSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
62 | 64 | rclmtype_jopen2008_2DSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
63 | 65 | rclmtype_jopen2008_2D_TSCRIPT_INSTALL = $(INSTALL_SCRIPT) |
@@ -68,7 +70,7 @@ | ||
68 | 70 | $(rclmschedulers_roundrobin_SCRIPTS) \ |
69 | 71 | $(rclmschedulers_tournament_SCRIPTS) \ |
70 | 72 | $(rclmtype_2D_RoundRobin_SCRIPTS) \ |
71 | - $(rclmtype_2D_Tournament_SCRIPTS) \ | |
73 | + $(rclmtype_2D_Tournament_SCRIPTS) $(rclmtype_3DSpark_SCRIPTS) \ | |
72 | 74 | $(rclmtype_competition_SCRIPTS) \ |
73 | 75 | $(rclmtype_jopen2008_2D_SCRIPTS) \ |
74 | 76 | $(rclmtype_jopen2008_2D_T_SCRIPTS) \ |
@@ -255,7 +257,16 @@ | ||
255 | 257 | types/2D_Tournament/start \ |
256 | 258 | types/2D_Tournament/stop |
257 | 259 | |
260 | +rclmtype_3DSparkdir = $(pkgdatadir)/types/3DSpark | |
261 | +rclmtype_3DSpark_SCRIPTS = \ | |
262 | + types/3DSpark/local_func.bash \ | |
263 | + types/3DSpark/clearup \ | |
264 | + types/3DSpark/record \ | |
265 | + types/3DSpark/setup \ | |
266 | + types/3DSpark/start \ | |
267 | + types/3DSpark/stop | |
258 | 268 | |
269 | + | |
259 | 270 | # rclm2 roundrobin scheduler scripts |
260 | 271 | rclmschedulers_roundrobindir = $(pkgdatadir)/schedulers/roundrobin |
261 | 272 | rclmschedulers_roundrobin_SCRIPTS = \ |
@@ -316,6 +327,12 @@ | ||
316 | 327 | types/2D_Tournament/setup \ |
317 | 328 | types/2D_Tournament/start \ |
318 | 329 | types/2D_Tournament/stop \ |
330 | + types/3DSpark/local_func.bash \ | |
331 | + types/3DSpark/clearup \ | |
332 | + types/3DSpark/record \ | |
333 | + types/3DSpark/setup \ | |
334 | + types/3DSpark/start \ | |
335 | + types/3DSpark/stop \ | |
319 | 336 | schedulers/roundrobin/init \ |
320 | 337 | schedulers/roundrobin/update \ |
321 | 338 | schedulers/tournament/init \ |
@@ -468,6 +485,25 @@ | ||
468 | 485 | echo " rm -f '$(DESTDIR)$(rclmtype_2D_Tournamentdir)/$$f'"; \ |
469 | 486 | rm -f "$(DESTDIR)$(rclmtype_2D_Tournamentdir)/$$f"; \ |
470 | 487 | done |
488 | +install-rclmtype_3DSparkSCRIPTS: $(rclmtype_3DSpark_SCRIPTS) | |
489 | + @$(NORMAL_INSTALL) | |
490 | + test -z "$(rclmtype_3DSparkdir)" || $(MKDIR_P) "$(DESTDIR)$(rclmtype_3DSparkdir)" | |
491 | + @list='$(rclmtype_3DSpark_SCRIPTS)'; for p in $$list; do \ | |
492 | + if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ | |
493 | + if test -f $$d$$p; then \ | |
494 | + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | |
495 | + echo " $(rclmtype_3DSparkSCRIPT_INSTALL) '$$d$$p' '$(DESTDIR)$(rclmtype_3DSparkdir)/$$f'"; \ | |
496 | + $(rclmtype_3DSparkSCRIPT_INSTALL) "$$d$$p" "$(DESTDIR)$(rclmtype_3DSparkdir)/$$f"; \ | |
497 | + else :; fi; \ | |
498 | + done | |
499 | + | |
500 | +uninstall-rclmtype_3DSparkSCRIPTS: | |
501 | + @$(NORMAL_UNINSTALL) | |
502 | + @list='$(rclmtype_3DSpark_SCRIPTS)'; for p in $$list; do \ | |
503 | + f=`echo "$$p" | sed 's|^.*/||;$(transform)'`; \ | |
504 | + echo " rm -f '$(DESTDIR)$(rclmtype_3DSparkdir)/$$f'"; \ | |
505 | + rm -f "$(DESTDIR)$(rclmtype_3DSparkdir)/$$f"; \ | |
506 | + done | |
471 | 507 | install-rclmtype_competitionSCRIPTS: $(rclmtype_competition_SCRIPTS) |
472 | 508 | @$(NORMAL_INSTALL) |
473 | 509 | test -z "$(rclmtype_competitiondir)" || $(MKDIR_P) "$(DESTDIR)$(rclmtype_competitiondir)" |
@@ -619,7 +655,7 @@ | ||
619 | 655 | check: check-am |
620 | 656 | all-am: Makefile $(SCRIPTS) |
621 | 657 | installdirs: |
622 | - for dir in "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(rclm_scriptdir)" "$(DESTDIR)$(rclmschedulers_roundrobindir)" "$(DESTDIR)$(rclmschedulers_tournamentdir)" "$(DESTDIR)$(rclmtype_2D_RoundRobindir)" "$(DESTDIR)$(rclmtype_2D_Tournamentdir)" "$(DESTDIR)$(rclmtype_competitiondir)" "$(DESTDIR)$(rclmtype_jopen2008_2Ddir)" "$(DESTDIR)$(rclmtype_jopen2008_2D_Tdir)" "$(DESTDIR)$(rclmtype_robocup2007_2Ddir)" "$(DESTDIR)$(rclmtype_sampledir)" "$(DESTDIR)$(rclmtype_ssil2ddir)"; do \ | |
658 | + for dir in "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(rclm_scriptdir)" "$(DESTDIR)$(rclmschedulers_roundrobindir)" "$(DESTDIR)$(rclmschedulers_tournamentdir)" "$(DESTDIR)$(rclmtype_2D_RoundRobindir)" "$(DESTDIR)$(rclmtype_2D_Tournamentdir)" "$(DESTDIR)$(rclmtype_3DSparkdir)" "$(DESTDIR)$(rclmtype_competitiondir)" "$(DESTDIR)$(rclmtype_jopen2008_2Ddir)" "$(DESTDIR)$(rclmtype_jopen2008_2D_Tdir)" "$(DESTDIR)$(rclmtype_robocup2007_2Ddir)" "$(DESTDIR)$(rclmtype_sampledir)" "$(DESTDIR)$(rclmtype_ssil2ddir)"; do \ | |
623 | 659 | test -z "$$dir" || $(MKDIR_P) "$$dir"; \ |
624 | 660 | done |
625 | 661 | install: install-am |
@@ -669,6 +705,7 @@ | ||
669 | 705 | install-rclmschedulers_tournamentSCRIPTS \ |
670 | 706 | install-rclmtype_2D_RoundRobinSCRIPTS \ |
671 | 707 | install-rclmtype_2D_TournamentSCRIPTS \ |
708 | + install-rclmtype_3DSparkSCRIPTS \ | |
672 | 709 | install-rclmtype_competitionSCRIPTS \ |
673 | 710 | install-rclmtype_jopen2008_2DSCRIPTS \ |
674 | 711 | install-rclmtype_jopen2008_2D_TSCRIPTS \ |
@@ -712,6 +749,7 @@ | ||
712 | 749 | uninstall-rclmschedulers_tournamentSCRIPTS \ |
713 | 750 | uninstall-rclmtype_2D_RoundRobinSCRIPTS \ |
714 | 751 | uninstall-rclmtype_2D_TournamentSCRIPTS \ |
752 | + uninstall-rclmtype_3DSparkSCRIPTS \ | |
715 | 753 | uninstall-rclmtype_competitionSCRIPTS \ |
716 | 754 | uninstall-rclmtype_jopen2008_2DSCRIPTS \ |
717 | 755 | uninstall-rclmtype_jopen2008_2D_TSCRIPTS \ |
@@ -732,6 +770,7 @@ | ||
732 | 770 | install-rclmschedulers_tournamentSCRIPTS \ |
733 | 771 | install-rclmtype_2D_RoundRobinSCRIPTS \ |
734 | 772 | install-rclmtype_2D_TournamentSCRIPTS \ |
773 | + install-rclmtype_3DSparkSCRIPTS \ | |
735 | 774 | install-rclmtype_competitionSCRIPTS \ |
736 | 775 | install-rclmtype_jopen2008_2DSCRIPTS \ |
737 | 776 | install-rclmtype_jopen2008_2D_TSCRIPTS \ |
@@ -745,6 +784,7 @@ | ||
745 | 784 | uninstall-rclmschedulers_tournamentSCRIPTS \ |
746 | 785 | uninstall-rclmtype_2D_RoundRobinSCRIPTS \ |
747 | 786 | uninstall-rclmtype_2D_TournamentSCRIPTS \ |
787 | + uninstall-rclmtype_3DSparkSCRIPTS \ | |
748 | 788 | uninstall-rclmtype_competitionSCRIPTS \ |
749 | 789 | uninstall-rclmtype_jopen2008_2DSCRIPTS \ |
750 | 790 | uninstall-rclmtype_jopen2008_2D_TSCRIPTS \ |