Skip to content
Snippets Groups Projects
Commit 88c6811d authored by Anthony Mallet's avatar Anthony Mallet
Browse files

[wip/talos-pal-hardware-inferces] Fix a number of issues

- Connect the toplevel Makefile
- Prevent binary/source redistribution (according to the LICENSE)
- Drop inclusion of ros-basæMakefile.common: this is not a ros package
- Drop wrong python substitutions (with non existing files)
- Add missing dependencies, in particuler C and C++ compilers
- Whitespace/formatting cleanup in the depend.mk
parent bf04bce2
No related branches found
No related tags found
No related merge requests found
......@@ -103,6 +103,7 @@ SUBDIR+= sot-pattern-generator-v3
SUBDIR+= sot-romeo-v3
SUBDIR+= soth
SUBDIR+= spark-genom
SUBDIR+= talos-pal-hardware-interfaces
SUBDIR+= talos-ros-control
SUBDIR+= track-target-genom
SUBDIR+= urg
......
pal_hardware_interfaces targeted for TALOS (0.0.2)
This is a ros metapackage
\ No newline at end of file
pal_hardware_interfaces targeted for TALOS (0.0.2).
# robotpkg Makefile for: wip/talos_pal_hardware_interfaces
# Created: Olivier Stasse on Wed, 29 Mar 2017
# robotpkg Makefile for: wip/talos-pal-hardware-interfaces
# Created: Olivier Stasse on Thu, 30 Mar 2017
#
ROS_PKG= talos_pal_hardware_interfaces
ROS_VERSION= 0.0.2
VERSION= 0.0.2
PKGNAME= talos-pal-hardware-interfaces-${VERSION}
DISTNAME= $(subst -,_,${PKGBASE})-${VERSION}
CATEGORIES= wip
MASTER_SITES= ${MASTER_SITE_JRL}talos/${ROS_PKG}/${ROS_PKG}-
ROS_COMMENT= Hardware interfaces developped by PAL-Robotics
MASTER_SITES= ${MASTER_SITE_JRL:=talos/$(subst -,_,${PKGBASE})/}
COMMENT= Hardware interfaces developped by PAL-Robotics
LICENSE= openhrp-grx-license
include ../../meta-pkgs/ros-base/Makefile.common
SUBST_CLASSES+= py-interp
SUBST_FILES.py-interp+= src/actionlib/*.py
SUBST_FILES.py-interp+= test/*.py
SUBST_FILES.py-interp+= tools/*.py
RESTRICTED= Redistribution of repackaged binaries not permitted
NO_PUBLIC_SRC= ${RESTRICTED}
NO_PUBLIC_BIN= ${RESTRICTED}
USE_BOOST_LIBS= thread
......@@ -24,8 +22,10 @@ include ../../devel/boost-libs/depend.mk
include ../../devel/ros-catkin/depend.mk
include ../../interfaces/ros-common-msgs/depend.mk
include ../../interfaces/ros-std-msgs/depend.mk
include ../../wip/talos-ros-control/depend.mk
include ../../lang/ros-message-generation/depend.mk
include ../../lang/ros-message-runtime/depend.mk
include ../../middleware/ros-comm/depend.mk
include ../../motion/ros-control/depend.mk
include ../../mk/language/c++.mk
include ../../mk/language/c.mk
include ../../mk/robotpkg.mk
# robotpkg depend.mk for: wip/talos_pal_hardware_interfaces
# Created: Olivier Stasse on Wed, 29 Mar 2017
# robotpkg depend.mk for: wip/talos-pal-hardware-interfaces
# Created: Olivier Stasse on Thu, 30 Mar 2017
#
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
TALOS_PAL_HARDWARE_INTERFACES_DEPEND_MK:= ${TALOS_PAL_HARDWARE_INTERFACES_DEPEND_MK}+
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
TALOS_PAL_HWIFACES_DEPEND_MK:= ${TALOS_PAL_HWIFACES_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= talos-pal-hardware-interfaces
DEPEND_PKG+= talos-pal-hardware-interfaces
endif
ifeq (+,$(TALOS_PAL_HARDWARE_INTERFACES_DEPEND_MK)) # -------------------------------------------
ifeq (+,$(TALOS_PAL_HWIFACES_DEPEND_MK)) # ---------------------------------
include ../../meta-pkgs/ros-base/depend.common
PREFER.talos-pal-hardware-interfaces?= ${PREFER.ros-base}
SYSTEM_PREFIX.talos-pal_hardware-interfaces?=${SYSTEM_PREFIX.ros-base}
PREFER.talos-pal-hardware-interfaces?= robotpkg
DEPEND_USE+= talos-pal-hardware-interfaces
ROS_DEPEND_USE+= talos-pal-hardware-interfaces
DEPEND_USE+= talos-pal-hardware-interfaces
DEPEND_ABI.talos-pal-hardware-interfaces?= ros-talos-pal-hardware-interfaces>=0.0.2
DEPEND_DIR.talos-pal-hardware-interfaces?= ../../wip/talos-pal-hardware-interfaces
DEPEND_ABI.talos-pal-hardware-interfaces?=\
talos-pal-hardware-interfaces>=0.0.2
DEPEND_DIR.talos-pal-hardware-interfaces?=\
../../wip/talos-pal-hardware-interfaces
SYSTEM_SEARCH.talos-pal-hardware-interfaces=\
include/pal_hardware_interfaces/actuator_temperature_interface.h \
'share/pal_hardware_interfaces/package.xml:/<version>/s/[^0-9.]//gp' \
'lib/pkgconfig/pal_hardware_interfaces.pc:/Version/s/[^0-9.]//gp'
'include/pal_hardware_interfaces/actuator_temperature_interface.h' \
'share/pal_hardware_interfaces/package.xml:/<version>/s/[^0-9.]//gp' \
'lib/pkgconfig/pal_hardware_interfaces.pc:/Version/s/[^0-9.]//gp'
endif # TALOS_PAL_HARDWARE_INTERFACES_DEPEND_MK -------------------------------------------------
endif # TALOS_PAL_HWIFACES_DEPEND_MK ---------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (ros/talos_pal_hardware_interfaces/0.0.2.tar.gz) = 3469fff9c94479d0ef9387e50d45a4a367e38d15
RMD160 (ros/talos_pal_hardware_interfaces/0.0.2.tar.gz) = 5552c6eb47985937ed0a4a3b24133250725a8f53
Size (ros/talos_pal_hardware_interfaces/0.0.2.tar.gz) = 1900 bytes
SHA1 (talos_pal_hardware_interfaces-0.0.2.tar.gz) = 3469fff9c94479d0ef9387e50d45a4a367e38d15
RMD160 (talos_pal_hardware_interfaces-0.0.2.tar.gz) = 5552c6eb47985937ed0a4a3b24133250725a8f53
Size (talos_pal_hardware_interfaces-0.0.2.tar.gz) = 1900 bytes
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