1 # $NetBSD: Makefile.Xserver,v 1.13 2012/10/03 21:50:14 gsutre Exp $
32 hw/xfree86/dixmods/dbe \
33 hw/xfree86/dixmods/extmod \
34 hw/xfree86/dixmods/fb \
35 hw/xfree86/dixmods/freetype \
36 hw/xfree86/dixmods/record \
37 hw/xfree86/dixmods/shadow \
38 hw/xfree86/dixmods/type1 \
39 hw/xfree86/dixmods/wfb \
40 hw/xfree86/dixmods/xorgxkb \
41 hw/xfree86/dixmods/xtrap \
60 hw/xfree86/xf8_16bpp \
61 hw/xfree86/xf8_32bpp \
62 hw/xfree86/xf86config \
65 .if !defined(LIBDIR.${_SL})
66 LIBDIR.${_SL}!= cd ${NETBSDSRCDIR}/external/mit/xorg/server/xorg-server/${_SL} && ${PRINTOBJDIR}
67 .MAKEOVERRIDES+=LIBDIR.${_SL}
69 LDADD.${_SL}= ${LIBDIR.${_SL}}/lib${_SL:T}.a
70 DPADD.${_SL}= ${LIBDIR.${_SL}}/lib${_SL:T}.a
73 LDADD.XORG_CORE= ${LDADD.dix} ${LDADD.config}
74 DPADD.XORG_CORE= ${DPADD.dix} ${DPADD.config}
76 # X servers need all symbols exported
77 LDFLAGS+= -Wl,--export-dynamic
79 CPPFLAGS+= -I${X11SRCDIR.xorg-server}/include \
80 -I${X11SRCDIR.xorg-server}/Xext \
81 -I${DESTDIR}${X11INCDIR}/pixman-1 \
82 -I${X11SRCDIR.xorg-server}/../include