Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / server / xorg-server / hw / xnest / Makefile
blobb5703279e746199e6dfa0bef6fbd773dc2402f80
1 # $NetBSD: Makefile,v 1.14 2011/08/02 09:11:38 mrg Exp $
3 .include <bsd.own.mk>
5 PROG= Xnest
7 .include "../../Makefile.serverlib"
8 .include "../../Makefile.servermod"
10 .PATH: ${X11SRCDIR.xorg-server}/hw/xnest
11 .PATH: ${X11SRCDIR.xorg-server}/hw/xnest/man
12 .PATH: ${X11SRCDIR.xorg-server}/Xext
13 .PATH: ${X11SRCDIR.xorg-server}/Xi
14 .PATH: ${X11SRCDIR.xorg-server}/mi
15 .PATH: ${X11SRCDIR.xorg-server}/fb
16 SRCS= Args.c Color.c Cursor.c Display.c Events.c Font.c \
17 GC.c GCOps.c Handlers.c Init.c Keyboard.c \
18 Pixmap.c Pointer.c Screen.c Visual.c Window.c \
19 dpmsstubs.c stubs.c miinitext.c \
20 fbcmap_mi.c
22 CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xnest \
23 -I${DESTDIR}${X11INCDIR}/X11 \
24 -I${X11SRCDIR.xorg-server}/mi \
25 -I${X11SRCDIR.xorg-server}/Xext \
26 -I${X11SRCDIR.xorg-server}/include \
27 -I${X11SRCDIR.xorg-server}/os \
28 -I${DESTDIR}${X11INCDIR}/X11/extensions \
29 -I${DESTDIR}${X11INCDIR}/pixman-1 \
30 -I${X11SRCDIR.xorg-server}/../include \
31 -I${X11INCS.DIX}
33 CPPFLAGS+= ${X11FLAGS.OS_DEFINES} \
34 ${X11FLAGS.EXTENSION} \
35 ${X11FLAGS.DIX} \
36 -DNO_HW_ONLY_EXTS -UXFree86LOADER -UMITSHM \
37 -D__XKBDEFRULES__='"xorg"'
39 CPPFLAGS+= -I${X11SRCDIR.xorg-server}/hw/xnest \
40 -DHAVE_XNEST_CONFIG_H \
41 -UGLXEXT
43 CPPFLAGS.Events.c= -Wno-error
44 CPPFLAGS.Screen.c= -Wno-error
45 CPPFLAGS.Color.c= -Wno-error
46 CPPFLAGS.Window.c= -Wno-error
47 CPPFLAGS.miinitext.c= -UDPMSExtension
49 .include "../../Makefile.Xserver"
51 LDADD+= ${LDADD.dix} \
52 ${LDADD.fb} \
53 ${LDADD.mi} \
54 ${LDADD.config} \
55 ${LDADD.xfixes} \
56 ${LDADD.Xext} \
57 ${LDADD.dbe} \
58 ${LDADD.record} \
59 ${LDADD.randr} \
60 ${LDADD.render} \
61 ${LDADD.damageext} \
62 ${LDADD.miext/damage} \
63 ${LDADD.cw/cw} \
64 ${LDADD.miext/shadow} \
65 ${LDADD.miext/sync} \
66 ${LDADD.Xi} \
67 ${LDADD.xkb} \
68 ${LDADD.xkbstubs} \
69 ${LDADD.composite} \
70 ${LDADD.os} \
71 ${LDADD.glx} \
72 -lXfont -lXext -lfontenc \
73 -lpixman-1 -lX11 -lXau \
74 -lXdmcp -lfreetype -lm -lcrypto
76 DPADD+= ${LDADD.dix} \
77 ${DPADD.fb} \
78 ${DPADD.mi} \
79 ${DPADD.config} \
80 ${DPADD.xfixes} \
81 ${DPADD.Xext} \
82 ${DPADD.dbe} \
83 ${DPADD.record} \
84 ${DPADD.render} \
85 ${DPADD.randr} \
86 ${DPADD.damageext} \
87 ${DPADD.miext/damage} \
88 ${DPADD.cw/cw} \
89 ${DPADD.miext/shadow} \
90 ${DPADD.miext/sync} \
91 ${DPADD.Xi} \
92 ${DPADD.xkb} \
93 ${DPADD.composite} \
94 ${DPADD.os} \
95 ${DPADD.glx} \
96 ${LIBXFONT} ${LIBXEXT} ${LIBFONTENC} \
97 ${LIBPIXMAN-1} ${LIBX11} ${LIBXAU} \
98 ${LIBXDMCP} ${LIBFREETYPE} ${LIBM} ${LIBCRYPTO}
100 .if !defined(__MINIX)
101 .if ${MACHINE_ARCH} == "i386"
102 LDADD+= -li386
103 DPADD+= ${LIBI386}
104 .endif
106 .if ${MACHINE_ARCH} == "x86_64"
107 LDADD+= -lx86_64
108 DPADD+= ${LIBX86_64}
109 .endif
111 .if ${MACHINE_ARCH} == "alpha"
112 LDADD+= -lalpha
113 DPADD+= ${LIBALPHA}
114 .endif
115 .endif # !defined(__MINIX)
117 COPTS.miinitext.c+= -Wno-error # XXX xf86bigfstr.h
119 .include <bsd.x11.mk>
120 .include <bsd.prog.mk>