blob: da670f528dfa7ab6cef0c9ad30e8e88d059053f2 (
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
44
45
46
|
# $NetBSD: buildlink2.mk,v 1.12 2003/03/14 19:38:07 jlam Exp $
.if !defined(QT3_LIBS_BUILDLINK2_MK)
QT3_LIBS_BUILDLINK2_MK= # defined
BUILDLINK_PACKAGES+= qt3-libs
BUILDLINK_DEPENDS.qt3-libs?= qt3-libs>=3.1.1
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,${RPATH_FLAG}${QTDIR}/lib
FIX_RPATH+= BUILDLINK_LDFLAGS.qt3-libs
PTHREAD_OPTS+= require
.include "../../devel/zlib/buildlink2.mk"
.include "../../graphics/MesaLib/buildlink2.mk"
.include "../../graphics/freetype2/buildlink2.mk"
.include "../../graphics/glu/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,${RPATH_FLAG}${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
|