Skip to content

Commit

Permalink
llsf: move the LLSF items to a separate folder
Browse files Browse the repository at this point in the history
This commit separates the referee box core infrastructure from the
LLSF-specific implementations, such as messages, tools or visualization.
As a result, the core infrastructure can be re-used more easily for
other competitions.
  • Loading branch information
svenschneider committed Aug 28, 2014
1 parent 8e09fc3 commit 485a74d
Show file tree
Hide file tree
Showing 77 changed files with 56 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -15,7 +15,7 @@

BASEDIR = .

SUBDIRS = src
SUBDIRS = src llsf

include $(BASEDIR)/etc/buildsys/config.mk
include $(BUILDSYSDIR)/rules.mk
Expand Down
4 changes: 2 additions & 2 deletions cfg/config.yaml
Expand Up @@ -24,7 +24,7 @@ llsfrb:
test-lights: true

clips:
dir: "@BASEDIR@/src/refbox/clips"
dir: "@BASEDIR@/llsf/clips"
# Timer interval, in milliseconds
timer-interval: 40

Expand All @@ -41,7 +41,7 @@ llsfrb:
net-send-VersionInfo]

comm:
protobuf-dirs: ["@BASEDIR@/src/msgs"]
protobuf-dirs: ["@BASEDIR@/llsf/msgs"]

server-port: !tcp-port 4444

Expand Down
27 changes: 27 additions & 0 deletions llsf/Makefile
@@ -0,0 +1,27 @@
#*****************************************************************************
# Makefile Build System for Fawkes
# -------------------
# Created on Wed Jan 16 16:55:21 2013
# Copyright (C) 2006-2011 by Tim Niemueller, Carologistics RoboCup Team
#
#*****************************************************************************
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#*****************************************************************************

BASEDIR = ..

include $(BASEDIR)/etc/buildsys/config.mk

SUBDIRS = msgs shell tools

# Explicit dependencies, this is needed to have make bail out if there is any
# error. This is also necessary for working parallel build (i.e. for dual core)
tools shell: msgs


include $(BUILDSYSDIR)/base.mk
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/examples/Makefile → llsf/examples/Makefile
Expand Up @@ -18,6 +18,7 @@ BASEDIR = ../..
include $(BASEDIR)/etc/buildsys/config.mk
include $(BUILDSYSDIR)/protobuf.mk
include $(BUILDSYSDIR)/boost.mk
include $(BASEDIR)/llsf/llsf.mk

CFLAGS += $(CFLAGS_CPP11)

Expand Down
File renamed without changes.
File renamed without changes.
20 changes: 20 additions & 0 deletions llsf/llsf.mk
@@ -0,0 +1,20 @@
#*****************************************************************************
# Makefile Build System for Fawkes
# -------------------
# Created on Sun Sep 03 14:14:14 2006
# Copyright (C) 2006-2007 by Tim Niemueller, AllemaniACs RoboCup Team
#
#*****************************************************************************
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
#*****************************************************************************

ifndef __buildsys_config_mk_
$(error config.mk must be included before base.mk)
endif

CFLAGS += -I$(BASEDIR)/llsf
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/llsfvis/Makefile → llsf/llsfvis/Makefile
Expand Up @@ -18,6 +18,7 @@ BASEDIR = ../..
include $(BASEDIR)/etc/buildsys/config.mk
include $(BUILDSYSDIR)/protobuf.mk
include $(BUILDSYSDIR)/gui.mk
include $(BASEDIR)/llsf/llsf.mk


CFLAGS += $(CFLAGS_GUI)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/shell/Makefile → llsf/shell/Makefile
Expand Up @@ -18,6 +18,7 @@ BASEDIR = ../..
include $(BASEDIR)/etc/buildsys/config.mk
include $(BUILDSYSDIR)/protobuf.mk
include $(BUILDSYSDIR)/boost.mk
include $(BASEDIR)/llsf/llsf.mk

CFLAGS += $(CFLAGS_CPP11)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/tools/Makefile → llsf/tools/Makefile
Expand Up @@ -20,6 +20,7 @@ include $(BUILDSYSDIR)/protobuf.mk
include $(BUILDSYSDIR)/clips.mk
include $(BUILDSYSDIR)/boost.mk
include $(BUILDCONFDIR)/llsf_sps/llsf_sps.mk
include $(BASEDIR)/llsf/llsf.mk

CFLAGS += $(CFLAGS_CPP11)

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions src/Makefile
Expand Up @@ -17,12 +17,11 @@ BASEDIR = ..

include $(BASEDIR)/etc/buildsys/config.mk

SUBDIRS = libs msgs refbox shell tools
SUBDIRS = libs refbox

# Explicit dependencies, this is needed to have make bail out if there is any
# error. This is also necessary for working parallel build (i.e. for dual core)
refbox tools shell: msgs
msgs refbox tools shell: libs
refbox: libs


include $(BUILDSYSDIR)/base.mk

0 comments on commit 485a74d

Please sign in to comment.