blob: bab910b234b7f39c247a1d41d6bd177f11e96124 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: buildlink2.mk,v 1.5 2002/10/01 19:30:47 jlam Exp $
.if !defined(QT3_LIBS_BUILDLINK2_MK)
QT3_LIBS_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= qt3-libs
BUILDLINK_DEPENDS.qt3-libs?= qt3-libs>=3.0.5
BUILDLINK_PKGSRCDIR.qt3-libs?= ../../x11/qt3-libs
EVAL_PREFIX+= BUILDLINK_PREFIX.qt3-libs=qt3-libs
BUILDLINK_PREFIX.qt3-libs_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.qt3-libs+= qt3/include/*.h
BUILDLINK_FILES.qt3-libs+= qt3/include/private/*.h
BUILDLINK_FILES.qt3-libs+= qt3/lib/libqt-mt.*
QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3
BUILDLINK_CPPFLAGS.qt3-libs= -I${QTDIR}/include
BUILDLINK_LDFLAGS.qt3-libs= -L${QTDIR}/lib -Wl,-R${QTDIR}/lib
PTHREAD_OPTS+= require
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/Mesa/buildlink2.mk"
.include "../../graphics/jpeg/buildlink2.mk"
.include "../../graphics/mng/buildlink2.mk"
.include "../../graphics/png/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"
CONFIGURE_ENV+= QTDIR="${QTDIR}"
CONFIGURE_ENV+= MOC="${QTDIR}/bin/moc"
MAKE_ENV+= QTDIR="${QTDIR}"
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
LDFLAGS+= -Wl,-R${QTDIR}/lib
BUILDLINK_TARGETS+= qt3-libs-buildlink
qt3-libs-buildlink: _BUILDLINK_USE
.endif # QT3_LIBS_BUILDLINK2_MK
|