# -*-mode: Makefile;-*- ;; Have EMACS always use makefile-mode for this file. # # packageVar # # To use it, please include this file in your top-level makeVar. # Please, replace "((PACKAGENAME))" with the project name # (e.g. DISPLAYWINDOW_MAKEVAR ) ifeq "${QT_MAKEVAR}" "" QT_MAKEVAR=QT_MAKEVAR # we need Qt 4 QTVER:=$(shell test -x $(QTDIR)/bin/qmake && $(QTDIR)/bin/qmake --version 2>&1 | grep 'Using Qt version 4.') ifneq "$(QTVER)" "" # Please, include here the inherited projects # (e.g. include ${AGNI_GLOBAL_ROOT}/globalVar ) # (e.g. include ${AGNI_GLOBAL_ROOT}/Basics/Base/1.0/packageVar ) # Please, place here the include directory of the project # (e.g. -I${AGNI_GLOBAL_ROOT}/Modules/DisplayWindow/1.0/include ) ABS_INCLUDES:= ${ABS_INCLUDES} \ -I${QTDIR}/include \ -I${QTDIR}/include/QtCore \ -I${QTDIR}/include/QtGui \ -I${QTDIR}/include/QtOpenGL # Please, do not change this ifeq statement ifeq "${HRI_INHERIT_MODE}" "STATIC" # Please, place here the static libraries # (e.g. ${AGNI_GLOBAL_ROOT}/Modules/DisplayWindow/1.0/lib/libDisplayWindow.a ) ABS_OBJECTS:= ${ABS_OBJECTS} # Please, do not remove the else statement else # Please, place here the lib directory of the project # and the library name. Add extra library path with # library names as well (when needed) # (e.g. -L${AGNI_GLOBAL_ROOT}/Modules/DisplayWindow/1.0/lib \ # -lDisplayWindow ) # (e.g. extra library like: -L/usr/lib -lpthreads ) ABS_LIBRARIES:= ${ABS_LIBRARIES} \ -L${QTDIR}/lib -Wl,-rpath -Wl,${QTDIR}/lib \ -lQtCore \ -lQtGui \ -lQtOpenGL \ -lGL \ -lGLU # Please, do not remove this endif statement endif # Please, place here needed C defines (for static compilation) CDEFINES:= ${CDEFINES} # Please, place here C flags (for static compilation) CFLAGS:= ${CFLAGS} # place here needed C++ defines (for static compilation) # (e.g. -DASSERT, -DEXCEPTION, -DREENTRANT ) CPPDEFINES:= ${CPPDEFINES} # Please, place here C++ flags (for static compilation) CPPFLAGS:= ${CPPFLAGS} # Please, don't forget to set the appropriate AGNI_GLOBAL_ROOT in your environment. endif # Qt4 test endif # QT_MAKEVAR