51 lines
1.7 KiB
Makefile
51 lines
1.7 KiB
Makefile
# $NetBSD: xorg.mk,v 1.5 2007/02/10 15:45:21 tonio Exp $
|
|
#
|
|
# This is for X.org, but use "xfree" files also.
|
|
|
|
FILES_LIST= ${FILESDIR}/xorg
|
|
|
|
# libXdamage and damageext only in pkgsrc-wip so not used here
|
|
# XXX: what about xaw?
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
|
.include "../../textproc/expat/buildlink3.mk"
|
|
.include "../../x11/compositeproto/buildlink3.mk"
|
|
.include "../../x11/fixesproto/buildlink3.mk"
|
|
.include "../../x11/xextproto/buildlink3.mk"
|
|
.include "../../x11/xproto/buildlink3.mk"
|
|
.include "../../x11/libXcomposite/buildlink3.mk"
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
|
.include "../../x11/libXfixes/buildlink3.mk"
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
.include "../../x11/renderproto/buildlink3.mk"
|
|
.include "../../x11/randrproto/buildlink3.mk"
|
|
|
|
# XXX what is ${X11_MODULES} ?
|
|
|
|
# Check if any headers and libraries for ${X11_MODULES} found in
|
|
# ${X11BASE} actually belong to the base Xorg or not.
|
|
#
|
|
# XXX: maybe skip iconv and zlib too?
|
|
.for _pkg_ in ${BUILDLINK_PACKAGES:Nx11-links}
|
|
CHECK_BUILTIN.${_pkg_}:= yes
|
|
USE_BUILTIN.${_pkg_}= yes
|
|
. sinclude "${BUILDLINK_PKGSRCDIR.${_pkg_}}/builtin.mk"
|
|
CHECK_BUILTIN.${_pkg_}:= no
|
|
.endfor
|
|
|
|
.for _pkg_ in ${BUILDLINK_PACKAGES:Nx11-links}
|
|
IGNORE_PKG.${_pkg_}= yes
|
|
. if defined(IS_BUILTIN.${_pkg_}) && !empty(IS_BUILTIN.${_pkg_}:M[yY][eE][sS])
|
|
. if exists(${FILESDIR}/xorg.${_pkg_})
|
|
FILES_LIST+= ${FILESDIR}/xorg.${_pkg_}
|
|
. elif exists(${FILESDIR}/xfree.${_pkg_})
|
|
FILES_LIST+= ${FILESDIR}/xfree.${_pkg_}
|
|
. endif
|
|
. endif
|
|
.endfor
|