blob: b964f0acfafc79c92994f28b907288729dded093 (
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
41
42
43
|
# $NetBSD: buildlink2.mk,v 1.6 2002/10/02 07:27:23 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+= MOC="${QTDIR}/bin/moc"
MAKE_ENV+= MOC="${QTDIR}/bin/moc"
LDFLAGS+= -Wl,-R${QTDIR}/lib
.if !defined(BUILD_QT3)
CONFIGURE_ENV+= QTDIR="${QTDIR}"
MAKE_ENV+= QTDIR="${QTDIR}"
.endif
BUILDLINK_TARGETS+= qt3-libs-buildlink
qt3-libs-buildlink: _BUILDLINK_USE
.endif # QT3_LIBS_BUILDLINK2_MK
|