etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / Makefile.Xserver
blob956bae2526db3bdc13b3cac1557f62e36990e3b3
1 #       $NetBSD: Makefile.Xserver,v 1.13 2012/10/03 21:50:14 gsutre Exp $
3 .for _SL in \
4         mi \
5         config \
6         fb \
7         xfixes \
8         Xext \
9         Xext/Xextbuiltin \
10         dbe \
11         record \
12         render \
13         randr \
14         damageext \
15         miext/damage \
16         miext/shadow \
17         miext/cw \
18         miext/sync \
19         Xi \
20         xkb \
21         xkbstubs \
22         composite \
23         dix/xpstubs \
24         os \
25         dix \
26         config \
27         glx \
28         hw/xnest \
29         hw/xfree86/common \
30         hw/xfree86/ddc \
31         hw/xfree86/dixmods \
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 \
42         hw/xfree86/doc \
43         hw/xfree86/dri \
44         hw/xfree86/dri2 \
45         hw/xfree86/dummy \
46         hw/xfree86/i2c \
47         hw/xfree86/init \
48         hw/xfree86/int10 \
49         hw/xfree86/loader \
50         hw/xfree86/xorgos \
51         hw/xfree86/rac \
52         hw/xfree86/ramdac \
53         hw/xfree86/scanpci \
54         hw/xfree86/shadowfb \
55         hw/xfree86/utils \
56         hw/xfree86/vbe \
57         hw/xfree86/vgahw \
58         hw/xfree86/x86emu \
59         hw/xfree86/xaa \
60         hw/xfree86/xf8_16bpp \
61         hw/xfree86/xf8_32bpp \
62         hw/xfree86/xf86config \
63         hw/xfree86/xf86modes
65 .if !defined(LIBDIR.${_SL})
66 LIBDIR.${_SL}!= cd ${NETBSDSRCDIR}/external/mit/xorg/server/xorg-server/${_SL} && ${PRINTOBJDIR}
67 .MAKEOVERRIDES+=LIBDIR.${_SL}
68 .endif
69 LDADD.${_SL}=   ${LIBDIR.${_SL}}/lib${_SL:T}.a
70 DPADD.${_SL}=   ${LIBDIR.${_SL}}/lib${_SL:T}.a
71 .endfor
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
84 LDADD+=         -lm
85 DPADD+=         ${LIBM}