1 # $NetBSD: Makefile,v 1.11 2011/08/02 09:11:38 mrg Exp $
5 .
include "../../Makefile.Xserver"
9 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/vfb
10 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/vfb
/man
11 .PATH
: ${X11SRCDIR.xorg-server
}/Xext
12 .PATH
: ${X11SRCDIR.xorg-server
}/Xi
13 .PATH
: ${X11SRCDIR.xorg-server
}/mi
14 SRCS
= InitInput.c InitOutput.c dpmsstubs.c miinitext.c stubs.c
16 .PATH
: ${X11SRCDIR.xorg-server
}/fb
19 CPPFLAGS
+= -I
${DESTDIR}${X11INCDIR}/X11 \
20 -I
${X11SRCDIR.xorg-server
}/fb \
21 -I
${X11SRCDIR.xorg-server
}/mfb \
22 -I
${X11SRCDIR.xorg-server
}/mi \
23 -I
${X11SRCDIR.xorg-server
}/include \
24 -I
${X11SRCDIR.xorg-server
}/os \
25 -I
${X11SRCDIR.xorg-server
}/Xext \
26 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
27 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
28 -I
${DESTDIR}${X11INCDIR}/xorg \
29 -I
${X11SRCDIR.xorg-server
}/render \
36 CPPFLAGS
+= ${X11FLAGS.OS_DEFINES
} ${X11FLAGS.DIX
} \
37 -DHAS_SHM
-DHAS_MMAP
-UXFree86LOADER
39 CPPFLAGS
+= ${X11FLAGS.OS_DEFINES
} ${X11FLAGS.DIX
} \
40 -DHAS_SHM
-UXFree86LOADER
41 .
endif # !defined(__MINIX)
43 .
include "../../Makefile.common"
45 .if
${XSERVER_XFREE86} == "no"
49 CPPFLAGS.InitInput.c
= ${X11FLAGS.EXTENSION
} \
51 CPPFLAGS.miinitext.c
= ${X11FLAGS.EXTENSION
} \
52 -DNO_HW_ONLY_EXTS
-DNO_MODULE_EXTS \
55 CPPFLAGS.dpmsstubs.c
= ${X11FLAGS.EXTENSION
} \
58 COPTS.InitInput.c
= -Wno-error
59 COPTS.InitOutput.c
= -Wno-error
61 LDADD
+= ${LDADD.dix
} \
72 ${LDADD.miext
/damage
} \
73 ${LDADD.miext
/shadow
} \
92 DPADD
+= ${DPADD.dix
} \
103 ${DPADD.miext
/damage
} \
104 ${DPADD.miext
/shadow
} \
105 ${DPADD.miext
/sync
} \
122 .if
!defined
(__MINIX
)
123 .if
${MACHINE_ARCH} == "i386"
128 .if
${MACHINE_ARCH} == "x86_64"
133 .if
${MACHINE_ARCH} == "alpha"
137 .
endif # !defined(__MINIX)
139 COPTS.miinitext.c
+= -Wno-error
# XXX xf86bigfstr.h
141 .
include <bsd.x11.mk
>
142 .
include <bsd.prog.mk
>