1 # $NetBSD: Makefile.Xserver,v 1.10 2009/06/12 01:59:04 mrg Exp $
31 hw/xfree86/dixmods/dbe \
32 hw/xfree86/dixmods/extmod \
33 hw/xfree86/dixmods/fb \
34 hw/xfree86/dixmods/freetype \
35 hw/xfree86/dixmods/record \
36 hw/xfree86/dixmods/shadow \
37 hw/xfree86/dixmods/type1 \
38 hw/xfree86/dixmods/wfb \
39 hw/xfree86/dixmods/xorgxkb \
40 hw/xfree86/dixmods/xtrap \
58 hw/xfree86/xf8_16bpp \
59 hw/xfree86/xf8_32bpp \
60 hw/xfree86/xf86config \
63 .if !defined(LIBDIR.${_SL})
64 LIBDIR.${_SL}!= cd ${NETBSDSRCDIR}/external/mit/xorg/server/xorg-server/${_SL} && ${PRINTOBJDIR}
65 .MAKEOVERRIDES+=LIBDIR.${_SL}
67 LDADD.${_SL}= ${LIBDIR.${_SL}}/lib${_SL:T}.a
68 DPADD.${_SL}= ${LIBDIR.${_SL}}/lib${_SL:T}.a
71 LDADD.XORG_CORE= ${LDADD.dix} ${LDADD.config}
72 DPADD.XORG_CORE= ${DPADD.dix} ${DPADD.config}
74 # X servers need all symbols exported
75 LDFLAGS+= -Wl,--export-dynamic
77 CPPFLAGS+= -I${X11SRCDIR.xorg-server}/include \
78 -I${X11SRCDIR.xorg-server}/Xext \
79 -I${DESTDIR}${X11INCDIR}/pixman-1 \
80 -I${X11SRCDIR.xorg-server}/../include