2003-10-03 04:13:39 +04:00
|
|
|
# $NetBSD: Makefile,v 1.4 2003/10/03 00:13:39 itojun Exp $
|
2003-09-24 03:21:02 +04:00
|
|
|
|
|
|
|
.include "../Makefile.serverlib"
|
2003-09-12 06:49:56 +04:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= os
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/Xserver/os
|
|
|
|
.PATH: ${X11SRCDIR.xc}/lib/xtrans
|
|
|
|
|
|
|
|
SRCS= WaitFor.c access.c connection.c io.c oscolor.c osinit.c \
|
|
|
|
utils.c auth.c mitauth.c secauth.c xdmauth.c xdmcp.c \
|
|
|
|
decompress.c transport.c lbxio.c
|
|
|
|
|
|
|
|
XSERVERINCDIR!= cd ${NETBSDSRCDIR}/x11/Xserver/include && ${PRINTOBJDIR}
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${X11SRCDIR.xc}/programs/Xserver/include \
|
|
|
|
-I${XSERVERINCDIR} \
|
2003-09-30 10:41:29 +04:00
|
|
|
-I${DESTDIR}${X11INCDIR}/X11 \
|
|
|
|
-I${DESTDIR}${X11INCDIR}/X11/extensions \
|
2003-09-12 06:49:56 +04:00
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/Xext \
|
|
|
|
-I${X11SRCDIR.xc}/include/fonts \
|
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/render \
|
|
|
|
-I${X11SRCDIR.xc}/programs/Xserver/lbx
|
|
|
|
|
|
|
|
CPPFLAGS+= -DXSERV_t -DTRANS_SERVER \
|
|
|
|
${X11FLAGS.CONNECTION} -DHASXDMAUTH -DDDXOSINIT \
|
|
|
|
-DSERVER_LOCK -DDDXOSFATALERROR -DDDXOSVERRORF -DUSE_RGB_TXT
|
|
|
|
|
|
|
|
CPPFLAGS.WaitFor.c= ${X11FLAGS.EXTENSION}
|
|
|
|
CPPFLAGS.access.c= -DXDMCP -DBSD44SOCKETS -DHAS_GETIFADDRS
|
2003-10-03 04:13:39 +04:00
|
|
|
CPPFLAGS.auth.c= -DXDMCP -DHAVE_ARC4RANDOM
|
2003-09-12 06:49:56 +04:00
|
|
|
CPPFLAGS.connection.c= -DXDMCP -DBSD44SOCKETS
|
|
|
|
CPPFLAGS.io.c= ${X11FLAGS.EXTENSION}
|
|
|
|
CPPFLAGS.lbxio.c= ${X11FLAGS.EXTENSION}
|
|
|
|
CPPFLAGS.oscolor.c= -DNDBM
|
|
|
|
CPPFLAGS.osinit.c= -DADMPATH=\"/var/log/X\%smsgs\"
|
|
|
|
CPPFLAGS.transport.c= -DBSD44SOCKETS
|
|
|
|
CPPFLAGS.utils.c= -DXDMCP ${X11FLAGS.EXTENSION}
|
|
|
|
CPPFLAGS.xdmauth.c= -DXDMCP
|
|
|
|
COPTS.xdmauth.c= -Wno-error # XXX
|
|
|
|
CPPFLAGS.xdmcp.c= -DXDMCP -DBSD44SOCKETS
|
|
|
|
|
2003-09-24 03:21:02 +04:00
|
|
|
BUILDOBJS= libc_wrapper.o
|
|
|
|
.PATH: ${X11SRCDIR.xc}/programs/Xserver/hw/xfree86/os-support/shared
|
|
|
|
CPPFLAGS.libc_wrapper.c=-DSELF_CONTAINED_WRAPPER
|
|
|
|
CLEANFILES+= ${BUILDOBJS}
|
|
|
|
realall: ${BUILDOBJS}
|
|
|
|
|
2003-09-12 06:49:56 +04:00
|
|
|
.include <bsd.x11.mk>
|
2003-09-24 03:21:02 +04:00
|
|
|
.include <bsd.lib.mk>
|