a97e849155
Demande #42: Migrer le code sous xenomai
125 lines
4.8 KiB
Makefile
125 lines
4.8 KiB
Makefile
#
|
|
# Generated Makefile - do not edit!
|
|
#
|
|
# Edit the Makefile in the project folder instead (../Makefile). Each target
|
|
# has a -pre and a -post target defined where you can add customized code.
|
|
#
|
|
# This makefile implements configuration specific macros and targets.
|
|
|
|
|
|
# Environment
|
|
MKDIR=mkdir
|
|
CP=cp
|
|
GREP=grep
|
|
NM=nm
|
|
CCADMIN=CCadmin
|
|
RANLIB=ranlib
|
|
CC=gcc
|
|
CCC=g++
|
|
CXX=g++
|
|
FC=gfortran
|
|
AS=as
|
|
|
|
# Macros
|
|
CND_PLATFORM=GNU-Linux
|
|
CND_DLIB_EXT=so
|
|
CND_CONF=Debug__PC_
|
|
CND_DISTDIR=dist
|
|
CND_BUILDDIR=build
|
|
|
|
# Include project Makefile
|
|
include ./Makefile
|
|
|
|
# Object Directory
|
|
OBJECTDIR=${CND_BUILDDIR}/${CND_CONF}/${CND_PLATFORM}
|
|
|
|
# Object Files
|
|
OBJECTFILES= \
|
|
${OBJECTDIR}/lib/base64/base64.o \
|
|
${OBJECTDIR}/lib/camera.o \
|
|
${OBJECTDIR}/lib/commonitor.o \
|
|
${OBJECTDIR}/lib/comrobot.o \
|
|
${OBJECTDIR}/lib/img.o \
|
|
${OBJECTDIR}/lib/messages.o \
|
|
${OBJECTDIR}/main.o \
|
|
${OBJECTDIR}/tasks.o
|
|
|
|
|
|
# C Compiler Flags
|
|
CFLAGS=-I/usr/xenomai/include/mercury -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -fasynchronous-unwind-tables -D__MERCURY__ -I/usr/xenomai/include/alchemy
|
|
|
|
# CC Compiler Flags
|
|
CCFLAGS=-I/usr/xenomai/include/mercury -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -fasynchronous-unwind-tables -D__MERCURY__ -I/usr/xenomai/include/alchemy -Wno-pmf-conversions
|
|
CXXFLAGS=-I/usr/xenomai/include/mercury -I/usr/xenomai/include -D_GNU_SOURCE -D_REENTRANT -fasynchronous-unwind-tables -D__MERCURY__ -I/usr/xenomai/include/alchemy -Wno-pmf-conversions
|
|
|
|
# Fortran Compiler Flags
|
|
FFLAGS=
|
|
|
|
# Assembler Flags
|
|
ASFLAGS=
|
|
|
|
# Link Libraries and Options
|
|
LDLIBSOPTIONS=`pkg-config --libs opencv`
|
|
|
|
# Build Targets
|
|
.build-conf: ${BUILD_SUBPROJECTS}
|
|
"${MAKE}" -f nbproject/Makefile-${CND_CONF}.mk ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur-robot
|
|
|
|
${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur-robot: ${OBJECTFILES}
|
|
${MKDIR} -p ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}
|
|
${LINK.cc} -o ${CND_DISTDIR}/${CND_CONF}/${CND_PLATFORM}/superviseur-robot ${OBJECTFILES} ${LDLIBSOPTIONS} -Wl,--no-as-needed -lalchemy -lcopperplate /usr/xenomai/lib/xenomai/bootstrap.o -Wl,--wrap=main -Wl,--dynamic-list=/usr/xenomai/lib/dynlist.ld -L/usr/xenomai/lib -lmercury -lpthread -lrt
|
|
|
|
${OBJECTDIR}/lib/base64/base64.o: lib/base64/base64.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib/base64
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/base64/base64.o lib/base64/base64.cpp
|
|
|
|
${OBJECTDIR}/lib/camera.o: lib/camera.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/camera.o lib/camera.cpp
|
|
|
|
${OBJECTDIR}/lib/commonitor.o: lib/commonitor.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/commonitor.o lib/commonitor.cpp
|
|
|
|
${OBJECTDIR}/lib/comrobot.o: lib/comrobot.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/comrobot.o lib/comrobot.cpp
|
|
|
|
${OBJECTDIR}/lib/img.o: lib/img.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/img.o lib/img.cpp
|
|
|
|
${OBJECTDIR}/lib/messages.o: lib/messages.cpp
|
|
${MKDIR} -p ${OBJECTDIR}/lib
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/lib/messages.o lib/messages.cpp
|
|
|
|
${OBJECTDIR}/main.o: main.cpp
|
|
${MKDIR} -p ${OBJECTDIR}
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/main.o main.cpp
|
|
|
|
${OBJECTDIR}/tasks.o: tasks.cpp
|
|
${MKDIR} -p ${OBJECTDIR}
|
|
${RM} "$@.d"
|
|
$(COMPILE.cc) -g -D_WITH_TRACE_ -D__FOR_PC__ -D__WITH_ARUCO__ -I./ -I./lib -I/usr/xenomai/include -I/usr/xenomai/include/mercury `pkg-config --cflags opencv` -MMD -MP -MF "$@.d" -o ${OBJECTDIR}/tasks.o tasks.cpp
|
|
|
|
# Subprojects
|
|
.build-subprojects:
|
|
|
|
# Clean Targets
|
|
.clean-conf: ${CLEAN_SUBPROJECTS}
|
|
${RM} -r ${CND_BUILDDIR}/${CND_CONF}
|
|
|
|
# Subprojects
|
|
.clean-subprojects:
|
|
|
|
# Enable dependency checking
|
|
.dep.inc: .depcheck-impl
|
|
|
|
include .dep.inc
|