53299a69f3
* General Improvements * Fixed incorrect behavior of the widget editing mode that could occur when a form was resized. * Fixed a crash that could occur when several commands were redone in one go. * Enabled MSVC and Borland project generators for the Qt Open Source edition. * Ensured that the QMAKE_CC and QMAKE_CXX variables are not defined in the Xcode project generator to allow distributed (distcc) builds to work again. * more...
54 lines
1.6 KiB
Makefile
54 lines
1.6 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.11 2007/10/13 12:02:14 adam Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
QT4_LIBS_BUILDLINK3_MK:= ${QT4_LIBS_BUILDLINK3_MK}+
|
|
|
|
.if !empty(BUILDLINK_DEPTH:M+)
|
|
BUILDLINK_DEPENDS+= qt4-libs
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqt4-libs}
|
|
BUILDLINK_PACKAGES+= qt4-libs
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qt4-libs
|
|
|
|
.if !empty(QT4_LIBS_BUILDLINK3_MK:M+)
|
|
BUILDLINK_API_DEPENDS.qt4-libs+= qt4-libs>=4.1.0
|
|
BUILDLINK_ABI_DEPENDS.qt4-libs+= qt4-libs>=4.1.2nb1
|
|
BUILDLINK_PKGSRCDIR.qt4-libs?= ../../x11/qt4-libs
|
|
|
|
BUILDLINK_INCDIRS.qt4-libs+= qt4/include
|
|
BUILDLINK_LIBDIRS.qt4-libs+= qt4/lib
|
|
.endif # QT4_LIBS_BUILDLINK3_MK
|
|
|
|
QTDIR= ${BUILDLINK_PREFIX.qt4-libs}/qt4
|
|
BUILDLINK_PASSTHRU_DIRS+= ${QTDIR}
|
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
.include "../../mk/bsd.fast.prefs.mk"
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/mng/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.if ${X11_TYPE} == "modular"
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
|
|
.if !defined(BUILD_QT4)
|
|
CONFIGURE_ENV+= QTDIR=${QTDIR:Q}
|
|
MAKE_ENV+= QTDIR=${QTDIR:Q}
|
|
.endif
|
|
|
|
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
|
|
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|