1 # $NetBSD: Makefile,v 1.4 2008/08/15 15:55:06 rtr Exp $
3 .
include "../Makefile.serverlib"
4 .
include "../Makefile.servermod"
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 \
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
} \
27 ${X11FLAGS.OS_DEFINES
} \
31 .
include "../Makefile.common"
34 # XXX The XFree86 Xserver has its own GetTimeInMillis(), however if we are
35 # building XFree86 and Xmacppc or Xsun* we want both copies. The copy
36 # here is linked into the non XFree86 server.
37 #.if ${XSERVER_XFREE86} == "no" || \
38 # ${XSERVER_XMACPPC} != "no" || \
39 # ${XSERVER_XSUN} != "no"
40 SRCS
+= GetTimeInMillis.c
41 SRCS
+= ddxInitGlobals.c
44 XDMCP_DEFINES
= -DXDMCP
-DXDMCP_NO_IPV6
46 CPPFLAGS.WaitFor.c
= ${X11FLAGS.EXTENSION
}
47 CPPFLAGS.access.c
= ${XDMCP_DEFINES} -DBSD44SOCKETS
-DHAS_GETIFADDRS
48 CPPFLAGS.auth.c
= ${XDMCP_DEFINES} -DHAVE_ARC4RANDOM
49 CPPFLAGS.connection.c
= ${XDMCP_DEFINES} -DBSD44SOCKETS
50 CPPFLAGS.io.c
= ${X11FLAGS.EXTENSION
}
51 CPPFLAGS.lbxio.c
= ${X11FLAGS.EXTENSION
}
52 CPPFLAGS.oscolor.c
= -DNDBM
53 CPPFLAGS.osinit.c
= -DADMPATH
=\"/var
/log
/X\
%smsgs
\"
54 CPPFLAGS.transport.c
= -DBSD44SOCKETS
-I
${X11SRCDIR.xc
}/lib
/xtrans
55 CPPFLAGS.utils.c
= ${XDMCP_DEFINES} ${X11FLAGS.EXTENSION
}
56 CPPFLAGS.xdmauth.c
= ${XDMCP_DEFINES}
57 CPPFLAGS.xdmcp.c
= ${XDMCP_DEFINES} -DBSD44SOCKETS
60 COPTS.xdmauth.c
= -Wno-error
# XXX
61 COPTS.xstrans.c
= -Wno-error
# XXX