2014-04-29 08:20:04 +02:00
|
|
|
# $NetBSD: xorg.mk,v 1.26 2014/04/29 06:20:04 obache Exp $
|
2005-07-25 22:50:25 +02:00
|
|
|
#
|
|
|
|
# This is for X.org, but use "xfree" files also.
|
|
|
|
|
|
|
|
FILES_LIST= ${FILESDIR}/xorg
|
|
|
|
|
|
|
|
# XXX: what about xaw?
|
|
|
|
|
|
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../fonts/libfontenc/buildlink3.mk"
|
2005-07-25 22:50:25 +02:00
|
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
|
|
.include "../../graphics/freetype2/buildlink3.mk"
|
|
|
|
.include "../../graphics/glu/buildlink3.mk"
|
2008-11-11 17:19:23 +01:00
|
|
|
.include "../../graphics/glut/buildlink3.mk"
|
2014-04-29 08:20:04 +02:00
|
|
|
.include "../../sysutils/libpciaccess/buildlink3.mk"
|
2005-07-25 22:50:25 +02:00
|
|
|
.include "../../textproc/expat/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/bigreqsproto/buildlink3.mk"
|
2006-04-19 14:30:25 +02:00
|
|
|
.include "../../x11/compositeproto/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/damageproto/buildlink3.mk"
|
2014-04-17 04:03:12 +02:00
|
|
|
.include "../../x11/dri2proto/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/evieext/buildlink3.mk"
|
2006-04-19 14:30:25 +02:00
|
|
|
.include "../../x11/fixesproto/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/fontcacheproto/buildlink3.mk"
|
|
|
|
.include "../../x11/fontsproto/buildlink3.mk"
|
|
|
|
.include "../../x11/glproto/buildlink3.mk"
|
2008-01-05 17:08:52 +01:00
|
|
|
.include "../../x11/inputproto/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/libFS/buildlink3.mk"
|
2007-12-17 19:20:19 +01:00
|
|
|
.include "../../x11/libICE/buildlink3.mk"
|
|
|
|
.include "../../x11/libSM/buildlink3.mk"
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/libXScrnSaver/buildlink3.mk"
|
|
|
|
.include "../../x11/libXTrap/buildlink3.mk"
|
|
|
|
.include "../../x11/libXau/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXcomposite/buildlink3.mk"
|
|
|
|
.include "../../x11/libXcursor/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/libXdamage/buildlink3.mk"
|
|
|
|
.include "../../x11/libXdmcp/buildlink3.mk"
|
|
|
|
.include "../../x11/libXevie/buildlink3.mk"
|
2007-12-17 19:20:19 +01:00
|
|
|
.include "../../x11/libXext/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXfixes/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/libXfont/buildlink3.mk"
|
2007-12-15 18:53:39 +01:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
2007-12-17 19:20:19 +01:00
|
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
2007-12-16 20:05:52 +01:00
|
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
2007-12-15 18:53:39 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/libXprintUtil/buildlink3.mk"
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXrandr/buildlink3.mk"
|
|
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/libXres/buildlink3.mk"
|
2007-12-17 19:20:19 +01:00
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2008-12-04 05:16:41 +01:00
|
|
|
.include "../../x11/libXtst/buildlink3.mk"
|
2008-10-29 22:14:01 +01:00
|
|
|
.include "../../x11/libXv/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/libdrm/buildlink3.mk"
|
2010-09-11 21:11:47 +02:00
|
|
|
.include "../../x11/libxcb/buildlink3.mk"
|
2008-09-16 14:38:38 +02:00
|
|
|
.include "../../x11/pixman/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/printproto/buildlink3.mk"
|
2006-04-19 14:30:25 +02:00
|
|
|
.include "../../x11/randrproto/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/recordproto/buildlink3.mk"
|
|
|
|
.include "../../x11/renderproto/buildlink3.mk"
|
|
|
|
.include "../../x11/resourceproto/buildlink3.mk"
|
|
|
|
.include "../../x11/scrnsaverproto/buildlink3.mk"
|
|
|
|
.include "../../x11/trapproto/buildlink3.mk"
|
|
|
|
.include "../../x11/videoproto/buildlink3.mk"
|
2011-09-21 16:58:37 +02:00
|
|
|
.include "../../x11/xbitmaps/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/xcmiscproto/buildlink3.mk"
|
2010-09-11 21:47:31 +02:00
|
|
|
.include "../../x11/xcb-proto/buildlink3.mk"
|
2010-09-11 22:26:11 +02:00
|
|
|
.include "../../x11/xcb-util/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/xf86bigfontproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xf86dgaproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xf86driproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xf86miscproto/buildlink3.mk"
|
|
|
|
.include "../../x11/xf86vidmodeproto/buildlink3.mk"
|
2010-06-04 12:52:21 +02:00
|
|
|
.include "../../x11/xkeyboard-config/buildlink3.mk"
|
2007-12-15 18:53:39 +01:00
|
|
|
.include "../../x11/xproto/buildlink3.mk"
|
2008-10-05 23:36:32 +02:00
|
|
|
.include "../../x11/xproxymanagementprotocol/buildlink3.mk"
|
|
|
|
.include "../../x11/xtrans/buildlink3.mk"
|
2005-07-25 22:50:25 +02:00
|
|
|
|
|
|
|
# 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?
|
2009-03-20 20:23:50 +01:00
|
|
|
.for _pkg_ in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
|
2005-07-25 22:50:25 +02:00
|
|
|
CHECK_BUILTIN.${_pkg_}:= yes
|
|
|
|
. sinclude "${BUILDLINK_PKGSRCDIR.${_pkg_}}/builtin.mk"
|
|
|
|
CHECK_BUILTIN.${_pkg_}:= no
|
|
|
|
.endfor
|
|
|
|
|
2009-03-20 20:23:50 +01:00
|
|
|
.for _pkg_ in ${BUILDLINK_TREE:N-*:Nx11-links:O:u}
|
2005-07-25 22:50:25 +02:00
|
|
|
IGNORE_PKG.${_pkg_}= yes
|
2010-09-14 21:40:15 +02:00
|
|
|
. if defined(USE_BUILTIN.${_pkg_}) && \
|
|
|
|
!empty(USE_BUILTIN.${_pkg_}:M[yY][eE][sS])
|
2005-07-25 22:50:25 +02:00
|
|
|
. if exists(${FILESDIR}/xorg.${_pkg_})
|
|
|
|
FILES_LIST+= ${FILESDIR}/xorg.${_pkg_}
|
|
|
|
. elif exists(${FILESDIR}/xfree.${_pkg_})
|
|
|
|
FILES_LIST+= ${FILESDIR}/xfree.${_pkg_}
|
|
|
|
. endif
|
|
|
|
. endif
|
|
|
|
.endfor
|