Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/qmake.mk
Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Lines | |||||
# _QMAKE_WRKSRC (and _QMAKE, below) are needed to abstract the qmake target and | # _QMAKE_WRKSRC (and _QMAKE, below) are needed to abstract the qmake target and | ||||
# use it for both qtbase and USES=qmake ports. They are private, not supposed to | # use it for both qtbase and USES=qmake ports. They are private, not supposed to | ||||
# be used anywhere else. | # be used anywhere else. | ||||
_QMAKE_WRKSRC?= ${CONFIGURE_WRKSRC} | _QMAKE_WRKSRC?= ${CONFIGURE_WRKSRC} | ||||
.if ${qmake_ARGS:Moutsource} | .if ${qmake_ARGS:Moutsource} | ||||
CONFIGURE_WRKSRC= ${WRKDIR}/.build | CONFIGURE_WRKSRC= ${WRKDIR}/.build | ||||
BUILD_WRKSRC= ${CONFIGURE_WRKSRC} | BUILD_WRKSRC= ${CONFIGURE_WRKSRC} | ||||
INSTALL_WRKSRC= ${BUILD_WRKSRC} | INSTALL_WRKSRC= ${BUILD_WRKSRC} | ||||
TEST_WRKSRC= ${BUILD_WRKSRC} | |||||
QMAKE_SOURCE_PATH?= ${WRKSRC} | QMAKE_SOURCE_PATH?= ${WRKSRC} | ||||
.else | .else | ||||
QMAKE_SOURCE_PATH?= # empty | QMAKE_SOURCE_PATH?= # empty | ||||
.endif | .endif | ||||
.if ! ${qmake_ARGS:M_env} | .if ! ${qmake_ARGS:M_env} | ||||
DESTDIRNAME= INSTALL_ROOT | DESTDIRNAME= INSTALL_ROOT | ||||
.endif | .endif | ||||
Show All 13 Lines |