Remove building with NOCRYPTO option
[minix.git] / external / mit / xorg / server / xorg-server / os / Makefile
blob04caf8f1978d9eb71d2a78118f47edb8ae45aa2d
1 # $NetBSD: Makefile,v 1.11 2015/07/23 08:03:25 mrg Exp $
3 .include "../Makefile.serverlib"
4 .include "../Makefile.servermod"
6 LIB= os
8 .PATH: ${X11SRCDIR.xorg-server}/os
9 SRCS= WaitFor.c access.c auth.c connection.c io.c mitauth.c \
10 oscolor.c osinit.c utils.c xdmauth.c \
11 xstrans.c xprintf.c log.c xdmcp.c \
12 rpcauth.c backtrace.c xprintf.c xsha1.c
14 CPPFLAGS+= -I${X11SRCDIR.xorg-server}/include \
15 -I${DESTDIR}${X11INCDIR}/X11 \
16 -I${DESTDIR}${X11INCDIR}/X11/extensions \
17 -I${DESTDIR}${X11INCDIR}/pixman-1 \
18 -I${X11SRCDIR.xorg-server}/Xext \
19 -I${X11SRCDIR.xorg-server}/render \
20 -I${X11SRCDIR.xorg-server}/lbx \
21 -I${X11SRCDIR.xorg-server}/../include
23 CPPFLAGS+= ${X11FLAGS.DIX} \
24 ${X11FLAGS.CONNECTION} \
25 ${X11FLAGS.EXTENSION} \
26 -DHASXDMAUTH \
27 ${X11FLAGS.OS_DEFINES} \
28 -DUSE_RGB_TXT \
29 -UDDXTIME \
30 -DHAVE_SHA1_IN_LIBC \
31 -DMONOTONIC_CLOCK
33 .include "../Makefile.common"
35 .if 0
36 # XXX The XFree86 Xserver has its own GetTimeInMillis(), however if we are
37 # building XFree86 and Xmacppc or Xsun* we want both copies. The copy
38 # here is linked into the non XFree86 server.
39 #.if ${XSERVER_XFREE86} == "no" || \
40 # ${XSERVER_XMACPPC} != "no" || \
41 # ${XSERVER_XSUN} != "no"
42 SRCS+= GetTimeInMillis.c
43 SRCS+= ddxInitGlobals.c
44 #.endif
46 XDMCP_DEFINES= -DXDMCP -DXDMCP_NO_IPV6
48 CPPFLAGS.WaitFor.c= ${X11FLAGS.EXTENSION}
49 CPPFLAGS.access.c= ${XDMCP_DEFINES} -DBSD44SOCKETS -DHAS_GETIFADDRS
50 CPPFLAGS.auth.c= ${XDMCP_DEFINES} -DHAVE_ARC4RANDOM
51 CPPFLAGS.connection.c= ${XDMCP_DEFINES} -DBSD44SOCKETS
52 CPPFLAGS.io.c= ${X11FLAGS.EXTENSION}
53 CPPFLAGS.lbxio.c= ${X11FLAGS.EXTENSION}
54 CPPFLAGS.oscolor.c= -DNDBM
55 CPPFLAGS.osinit.c= -DADMPATH=\"/var/log/X\%smsgs\"
56 CPPFLAGS.transport.c= -DBSD44SOCKETS
57 CPPFLAGS.utils.c= ${XDMCP_DEFINES} ${X11FLAGS.EXTENSION}
58 CPPFLAGS.xdmauth.c= ${XDMCP_DEFINES}
59 CPPFLAGS.xdmcp.c= ${XDMCP_DEFINES} -DBSD44SOCKETS
60 .endif
62 COPTS.xdmauth.c= -Wno-error # XXX
63 COPTS.xstrans.c= -Wno-error # XXX
64 COPTS.access.c= -Wno-error # XXX bigreqstr.h
65 COPTS.io.c= -Wno-error # XXX bigreqstr.h
67 .include <bsd.x11.mk>
68 .include <bsd.lib.mk>