This commit is contained in:
jlam 2002-10-08 22:34:25 +00:00
parent 503aa42d95
commit 5f57a45e1c
4 changed files with 0 additions and 228 deletions

View file

@ -1,52 +0,0 @@
# $NetBSD: buildlink.mk,v 1.6 2002/09/10 16:06:39 wiz Exp $
#
# This Makefile fragment is included by packages that use glib2.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.glib2 to the dependency pattern
# for the version of glib2 desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(GLIB2_BUILDLINK_MK)
GLIB2_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.glib2?= glib2>=2.0.6nb1
DEPENDS+= ${BUILDLINK_DEPENDS.glib2}:../../devel/glib2
EVAL_PREFIX+= BUILDLINK_PREFIX.glib2=glib2
BUILDLINK_PREFIX.glib2_DEFAULT= ${LOCALBASE}
BUILDLINK_FILES.glib2= include/glib/glib-2.0/*/*
BUILDLINK_FILES.glib2+= include/glib/glib-2.0/*
BUILDLINK_FILES.glib2+= lib/glib-2.0/*/*
BUILDLINK_FILES.glib2+= lib/libglib-2.0.*
BUILDLINK_FILES.glib2+= lib/libgmodule-2.0.*
BUILDLINK_FILES.glib2+= lib/libgobject-2.0.*
BUILDLINK_FILES.glib2+= lib/libgthread-2.0.*
.include "../../converters/libiconv/buildlink.mk"
.include "../../devel/gettext-lib/buildlink.mk"
.include "../../devel/pkgconfig/buildlink.mk"
PTHREAD_OPTS+= native
.include "../../mk/pthread.buildlink.mk"
.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
. include "../../devel/ptl2/buildlink.mk"
.endif
BUILDLINK_TARGETS.glib2= glib2-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.glib2}
BUILDLINK_TARGETS+= ${BUILDLINK_PKG_CONFIG}
pre-configure: ${BUILDLINK_TARGETS}
glib2-buildlink: _BUILDLINK_USE
.endif # GLIB2_BUILDLINK_MK

View file

@ -1,64 +0,0 @@
# $NetBSD: buildlink.mk,v 1.11 2002/08/25 19:22:47 jlam Exp $
#
# This Makefile fragment is included by packages that use ClanLib.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.ClanLib to the dependency pattern
# for the version of ClanLib desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(CLANLIB_BUILDLINK_MK)
CLANLIB_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.ClanLib?= ClanLib>=0.4.4nb1
DEPENDS+= ${BUILDLINK_DEPENDS.ClanLib}:../../graphics/clanlib
EVAL_PREFIX+= BUILDLINK_PREFIX.ClanLib=ClanLib
BUILDLINK_PREFIX.ClanLib_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.ClanLib= lib/libclanCore.*
BUILDLINK_FILES.ClanLib+= lib/ClanLib/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/*.h
BUILDLINK_FILES.ClanLib+= include/ClanLib/Core/*/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/GL/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/GUI/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/Lua/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/MIDI/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/MPEG/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/Magick/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/MikMod/*
BUILDLINK_FILES.ClanLib+= include/ClanLib/png/*
PTHREAD_OPTS+= require
.include "../../graphics/hermes/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../graphics/Mesa/buildlink.mk"
.include "../../mk/pthread.buildlink.mk"
BUILDLINK_TARGETS.ClanLib= ClanLib-buildlink
BUILDLINK_TARGETS.ClanLib+= ClanLib-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.ClanLib}
BUILDLINK_CONFIG.ClanLib= ${BUILDLINK_PREFIX.ClanLib}/bin/clanlib-config
BUILDLINK_CONFIG_WRAPPER.ClanLib=${BUILDLINK_DIR}/bin/clanlib-config
REPLACE_BUILDLINK_SED+= \
-e "s|${BUILDLINK_CONFIG_WRAPPER.ClanLib}|${BUILDLINK_CONFIG.ClanLib}|g"
.if defined(USE_CONFIG_WRAPPER)
CLANLIB_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.ClanLib}
CONFIGURE_ENV+= CLANLIB_CONFIG="${CLANLIB_CONFIG}"
MAKE_ENV+= CLANLIB_CONFIG="${CLANLIB_CONFIG}"
.endif
pre-configure: ${BUILDLINK_TARGETS.ClanLib}
ClanLib-buildlink: _BUILDLINK_USE
ClanLib-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
.endif # CLANLIB_BUILDLINK_MK

View file

@ -1,56 +0,0 @@
# $NetBSD
#
# This Makefile fragment is included by packages that use qt3-libs.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.qt3-libs to the dependency pattern
# for the version of qt3-libs desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(QT3_LIBS_BUILDLINK_MK)
QT3_LIBS_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.qt3-libs?= qt3-libs>=3.0.5
DEPENDS+= ${BUILDLINK_DEPENDS.qt3-libs}:../../x11/qt3-libs
EVAL_PREFIX+= BUILDLINK_PREFIX.qt3-libs=qt3-libs
BUILDLINK_PREFIX.qt3-libs_DEFAULT= ${X11PREFIX}
BUILDLINK_FILES.qt3-libs= qt3/bin/moc
BUILDLINK_FILES.qt3-libs+= qt3/include/*.h
BUILDLINK_FILES.qt3-libs+= qt3/include/private/*.h
BUILDLINK_FILES.qt3-libs+= qt3/lib/libqt-mt.*
REAL_QTDIR= ${BUILDLINK_PREFIX.qt3-libs}/qt3
BUILDLINK_QTDIR= ${BUILDLINK_DIR}/qt3
REPLACE_BUILDLINK_SED+= -e "s|-I${BUILDLINK_QTDIR}/|-I${REAL_QTDIR}/|g"
REPLACE_BUILDLINK_SED+= -e "s|-L${BUILDLINK_QTDIR}/|-L${REAL_QTDIR}/|g"
BUILDLINK_CONFIG_WRAPPER_SED+= -e "s|-I${REAL_QTDIR}/|-I${BUILDLINK_QTDIR}/|g"
BUILDLINK_CONFIG_WRAPPER_SED+= -e "s|-L${REAL_QTDIR}/|-L${BUILDLINK_QTDIR}/|g"
PTHREAD_OPTS+= require
.include "../../devel/zlib/buildlink.mk"
.include "../../graphics/Mesa/buildlink.mk"
.include "../../graphics/jpeg/buildlink.mk"
.include "../../graphics/mng/buildlink.mk"
.include "../../graphics/png/buildlink.mk"
.include "../../mk/pthread.buildlink.mk"
CONFIGURE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc"
MAKE_ENV+= MOC="${BUILDLINK_QTDIR}/bin/moc"
LDFLAGS+= -Wl,-R${REAL_QTDIR}/lib
BUILDLINK_TARGETS.qt3-libs= qt3-libs-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.qt3-libs}
pre-configure: ${BUILDLINK_TARGETS.qt3-libs}
qt3-libs-buildlink: _BUILDLINK_USE
.endif # QT3_LIBS_BUILDLINK_MK

View file

@ -1,56 +0,0 @@
# $NetBSD: buildlink.mk,v 1.6 2002/08/27 09:13:50 skrll Exp $
#
# This Makefile fragment is included by packages that use qt3-tools.
#
# To use this Makefile fragment, simply:
#
# (1) Optionally define BUILDLINK_DEPENDS.qt3-tools to the dependency
# pattern for the version of qt3-tools desired.
# (2) Include this Makefile fragment in the package Makefile,
# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
# search path, and
# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
# path.
.if !defined(QT3_TOOLS_BUILDLINK_MK)
QT3_TOOLS_BUILDLINK_MK= # defined
.include "../../mk/bsd.buildlink.mk"
BUILDLINK_DEPENDS.qt3-tools?= qt3-tools>=3.0.5
BUILDLINK_DEPENDS_METHOD.qt3-tools?= full
.if ${BUILDLINK_DEPENDS_METHOD.qt3-tools} == build
BUILD_DEPENDS+= ${BUILDLINK_DEPENDS.qt3-tools}:../../x11/qt3-tools
.else
DEPENDS+= ${BUILDLINK_DEPENDS.qt3-tools}:../../x11/qt3-tools
.endif
EVAL_PREFIX+= BUILDLINK_PREFIX.qt3-tools=qt3-tools
BUILDLINK_PREFIX.qt3-tools= ${X11PREFIX}
BUILDLINK_FILES.qt3-tools= qt3/bin/assistant
BUILDLINK_FILES.qt3-tools+= qt3/bin/designer
BUILDLINK_FILES.qt3-tools+= qt3/bin/linguist
BUILDLINK_FILES.qt3-tools+= qt3/bin/qm2ts
BUILDLINK_FILES.qt3-tools+= qt3/bin/qtconfig
BUILDLINK_FILES.qt3-tools+= qt3/bin/uic
BUILDLINK_FILES.qt3-tools+= qt3/lib/libeditor.*
BUILDLINK_FILES.qt3-tools+= qt3/lib/libqui.*
BUILDLINK_FILES.qt3-tools+= qt3/plugins/designer/libdlgplugin.*
BUILDLINK_FILES.qt3-tools+= qt3/plugins/designer/librcplugin.*
BUILDLINK_FILES.qt3-tools+= qt3/plugins/designer/libwizards.*
BUILDLINK_FILES.qt3-tools+= qt3/plugins/imageformats/libqjpeg.*
BUILDLINK_FILES.qt3-tools+= qt3/plugins/imageformats/libqmng.*
.include "../../x11/qt3-libs/buildlink.mk"
CONFIGURE_ENV+= UIC="${BUILDLINK_QTDIR}/bin/uic"
MAKE_ENV+= UIC="${BUILDLINK_QTDIR}/bin/uic"
BUILDLINK_TARGETS.qt3-tools= qt3-tools-buildlink
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.qt3-tools}
pre-configure: ${BUILDLINK_TARGETS.qt3-tools}
qt3-tools-buildlink: _BUILDLINK_USE
.endif # QT3_TOOLS_BUILDLINK_MK