diff --git a/spark-genom/DESCR b/spark-genom/DESCR new file mode 100644 index 0000000000000000000000000000000000000000..57683de8e4a6dd5c634e25f7b260835dfd39c8d8 --- /dev/null +++ b/spark-genom/DESCR @@ -0,0 +1 @@ +Spatial Reasoning and Knowledge module diff --git a/spark-genom/Makefile b/spark-genom/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..b5274bf74982c7b3fce7490a3e5ffbf8d1b0690d --- /dev/null +++ b/spark-genom/Makefile @@ -0,0 +1,87 @@ +# 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 diff --git a/spark-genom/depend.mk b/spark-genom/depend.mk new file mode 100644 index 0000000000000000000000000000000000000000..1bee4eeeee34cca079344c7c810785a987fbc392 --- /dev/null +++ b/spark-genom/depend.mk @@ -0,0 +1,41 @@ +# 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:+=}