Skip to content
Snippets Groups Projects
Commit 1d7003e0 authored by Séverin Lemaignan's avatar Séverin Lemaignan
Browse files

[wip/spark-genom] Creation of the package.

SPARK is the 'reasoning only' part of MHP. It does what we call 'situation assement'.
Don't try to install this package for now since the distfiles are not yet available.
parent fdd45815
No related branches found
No related tags found
No related merge requests found
Spatial Reasoning and Knowledge module
# Created: Severin Lemaignan on Fri, 24 Sep 2010
#
DISTNAME= spark-genom-1.0
CATEGORIES= knowledge
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=spark-genom/}
MASTER_REPOSITORY= git ssh://softs/git/robots/spark-genom
MAINTAINER= easisbot@laas.fr
COMMENT= Spatial Reasoning and Knowledge module
#spark-genom is currently GPL because it depends on BioMove3D that depends itself
# on GSL and GLPK that are 2 GLP librairies.
LICENSE= gnu-gpl-v2
USE_LANGUAGES+= c c++
#######################
#### SPARK OPTIONS ####
#######################
PKG_OPTIONS_REQUIRED_GROUPS= robot
PKG_OPTIONS_GROUP.robot= hrp2 jido simulation
##
## HRP2
##
PKG_OPTION_DESCR.hrp2= Compile SPARK for HRP2
define PKG_OPTION_SET.hrp2
GENOM_ARGS+= -DHRP2
include ../../localization/pom-genom/depend.mk
include ../../image/viman-genom/depend.mk
endef
##
## Jido
##
PKG_OPTION_DESCR.jido= Compile SPARK for Jido
define PKG_OPTION_SET.jido
GENOM_ARGS+= -DJIDO
include ../../localization/pom-genom/depend.mk
include ../../math/gbM/depend.mk
include ../../wip/lwr-genom/depend.mk
include ../../image/viman-genom/depend.mk
include ../../localization/mocap-genom/depend.mk
include ../../wip/gest-genom/depend.mk
endef
##
## Simulation
##
PKG_OPTION_DESCR.simulation= Compile SPARK for simulation only
PKG_OPTION_SET.simulation:= GENOM_ARGS+= -DSIMULATION
PKG_SUGGESTED_OPTIONS+= jido
##
## Ontology server
##
PKG_SUPPORTED_OPTIONS+= oro
PKG_SUGGESTED_OPTIONS+= oro
PKG_OPTION_DESCR.oro= Enable the support of ORO ontology server
PKG_OPTION_SET.oro:= GENOM_ARGS+= -DORO
define PKG_OPTION_SET.oro
include ../../knowledge/liboro/depend.mk
endef
#####################
GENOM_MODULE= spark
## BioMove3D dependency
## Build BioMove3D with the "Jido" profile to get all required options for
# HRI with BioMove3D
REQD_BUILD_OPTIONS.BioMove3D:= jido
include ../../wip/sysdep/xforms.mk
include ../../wip/BioMove3D/depend.mk
include ../../architecture/genom/depend.mk
include ../../mk/robotpkg.mk
# Copyright (c) 2010 LAAS/CNRS
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in
# the documentation and/or other materials provided with the
# distribution.
#
# Severin Lemaignan on Fri 24 Sep 2010
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
SPARK-GENOM_DEPEND_MK:= ${SPARK-GENOM_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= spark-genom
endif
ifeq (+,$(SPARK-GENOM_DEPEND_MK)) # ----------------------------------
PREFER.spark-genom?= robotpkg
SYSTEM_SEARCH.spark-genom=\
include/spark/sparkStruct.h \
lib/pkgconfig/spark.pc \
bin/spark
DEPEND_USE+= spark-genom
DEPEND_ABI.spark-genom?=spark-genom>=1.0
DEPEND_DIR.spark-genom?=../../wip/spark-genom
endif # SPARK-GENOM_DEPEND_MK ----------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment