Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / mit / xorg / server / xorg-server / Makefile.Xserver
blob9247515133343dfee96a07444fb61f9960b5477c
1 #       $NetBSD: Makefile.Xserver,v 1.10 2009/06/12 01:59:04 mrg 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         Xi \
19         xkb \
20         xkbstubs \
21         composite \
22         dix/xpstubs \
23         os \
24         dix \
25         config \
26         glx \
27         hw/xnest \
28         hw/xfree86/common \
29         hw/xfree86/ddc \
30         hw/xfree86/dixmods \
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 \
41         hw/xfree86/doc \
42         hw/xfree86/dri \
43         hw/xfree86/dummy \
44         hw/xfree86/i2c \
45         hw/xfree86/init \
46         hw/xfree86/int10 \
47         hw/xfree86/loader \
48         hw/xfree86/xorgos \
49         hw/xfree86/rac \
50         hw/xfree86/ramdac \
51         hw/xfree86/scanpci \
52         hw/xfree86/shadowfb \
53         hw/xfree86/utils \
54         hw/xfree86/vbe \
55         hw/xfree86/vgahw \
56         hw/xfree86/x86emu \
57         hw/xfree86/xaa \
58         hw/xfree86/xf8_16bpp \
59         hw/xfree86/xf8_32bpp \
60         hw/xfree86/xf86config \
61         hw/xfree86/xf86modes
63 .if !defined(LIBDIR.${_SL})
64 LIBDIR.${_SL}!= cd ${NETBSDSRCDIR}/external/mit/xorg/server/xorg-server/${_SL} && ${PRINTOBJDIR}
65 .MAKEOVERRIDES+=LIBDIR.${_SL}
66 .endif
67 LDADD.${_SL}=   ${LIBDIR.${_SL}}/lib${_SL:T}.a
68 DPADD.${_SL}=   ${LIBDIR.${_SL}}/lib${_SL:T}.a
69 .endfor
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
82 LDADD+=         -lm
83 DPADD+=         ${LIBM}