diff --git a/sysdep/qt.mk b/sysdep/qt.mk new file mode 100644 index 0000000000000000000000000000000000000000..e6b263ca9d65476f0f447ad82b215f53b70b7bc8 --- /dev/null +++ b/sysdep/qt.mk @@ -0,0 +1,46 @@ +# +# 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 and this list of conditions. +# 2. Redistributions in binary form must reproduce the above copyright +# notice and this list of conditions in the documentation and/or +# other materials provided with the distribution. +# +# Akin Sisbot on 7 Nov 2010 +# + +# Qt is a software toolkit for developing applications. +# This package contains base tools, like string, xml, and network handling. + + +DEPEND_DEPTH:= ${DEPEND_DEPTH}+ +QT_DEPEND_MK:= ${QT_DEPEND_MK}+ + +ifeq (+,$(DEPEND_DEPTH)) +DEPEND_PKG+= qt +endif + +ifeq (+,$(QT_DEPEND_MK)) # --------------------------------------------- + +PREFER.qt?= system +DEPEND_USE+= qt +DEPEND_ABI.qt?= qt>=3.0 + +SYSTEM_SEARCH.qt= \ + include/QtGui/QApplication \ + lib/libQtGui.so \ + lib/libQtOpenGL.so \ + +SYSTEM_PKG.Linux-fedora.qt=qt +#SYSTEM_PKG.Linux-ubuntu.qt=libforms-dev +#SYSTEM_PKG.Linux-debian.qt=libforms-dev + +endif # QT_DEPEND_MK --------------------------------------------------- + +DEPEND_DEPTH:= ${DEPEND_DEPTH:+=} diff --git a/sysdep/qwt.mk b/sysdep/qwt.mk new file mode 100644 index 0000000000000000000000000000000000000000..4e948b5897783dfa38f8c0fc1a378d846c951a9d --- /dev/null +++ b/sysdep/qwt.mk @@ -0,0 +1,46 @@ +# +# 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 and this list of conditions. +# 2. Redistributions in binary form must reproduce the above copyright +# notice and this list of conditions in the documentation and/or +# other materials provided with the distribution. +# +# Akin Sisbot on 7 Nov 2010 +# + +# The Qwt library contains GUI Components and utility classes which are +# primarily useful for programs with a technical background. Besides a 2D +# plot widget it provides scales, sliders, dials, compasses, thermometers, +# wheels and knobs to control or display values, arrays or ranges of type double. + +DEPEND_DEPTH:= ${DEPEND_DEPTH}+ +QWT_DEPEND_MK:= ${QWT_DEPEND_MK}+ + +ifeq (+,$(DEPEND_DEPTH)) +DEPEND_PKG+= qwt +endif + +ifeq (+,$(QWT_DEPEND_MK)) # --------------------------------------------- + +PREFER.qwt?= system +DEPEND_USE+= qwt +DEPEND_ABI.qwt?= qwt>=5.0 + +SYSTEM_SEARCH.qwt= \ + include/qwt/qwt.h \ + lib/libqwt.so \ + +SYSTEM_PKG.Linux-fedora.qwt=qwt +#SYSTEM_PKG.Linux-ubuntu.qwt=libforms-dev +#SYSTEM_PKG.Linux-debian.qwt=libforms-dev + +endif # QWT_DEPEND_MK --------------------------------------------------- + +DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}