1 # $NetBSD: Makefile,v 1.9 2014/01/16 01:15:33 christos Exp $
5 .
include "../../../Makefile.serverlib"
6 .
include "../../../Makefile.servermod"
10 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/xfree86
/common
13 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/common \
14 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support \
15 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/os-support
/bus \
16 -I
${X11SRCDIR.xorg-server
}/mfb \
17 -I
${X11SRCDIR.xorg-server
}/mi \
18 -I
${X11SRCDIR.xorg-server
}/include \
19 -I
${X11SRCDIR.xorg-server
}/os \
20 -I
${X11SRCDIR.xorg-server
}/Xext \
21 -I
${DESTDIR}${X11INCDIR}/X11 \
22 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
23 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
24 -I
${DESTDIR}${X11INCDIR}/xorg \
25 -I
${X11SRCDIR.xorg-server
}/Xi \
26 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/ddc \
27 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/dixmods
/extmod \
28 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/i2c \
29 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86 \
30 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/parser \
31 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/loader \
32 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/vgahw \
33 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/rac \
34 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/scanpci \
35 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/vbe \
36 -I
${X11SRCDIR.xorg-server
}/hw
/xfree86
/int10 \
37 -I
${X11SRCDIR.xorg-server
}/render \
38 -I
${X11SRCDIR.xorg-server
}/randr \
39 -I
${X11SRCDIR.xorg-server
}/..
/include \
43 CPPFLAGS
+= ${X11FLAGS.EXTENSION
} ${X11FLAGS.OS_DEFINES
} \
45 -DXFree86LOADER
-DWSCONS_SUPPORT
-D__XKBDEFRULES__
='"xorg"' \
46 -D__XSERVERNAME__
='"Xorg"' -D__XCONFIGFILE__
='"xorg.conf"' \
47 -D__VENDORDWEBSUPPORT__
='"http://wiki.X.Org"' \
48 -DXVENDORNAME
='"The X.Org Foundation"' \
51 CPPFLAGS
+= ${X11FLAGS.EXTENSION
} ${X11FLAGS.OS_DEFINES
} \
53 -DXFree86LOADER
-D__XKBDEFRULES__
='"xorg"' \
54 -D__XSERVERNAME__
='"Xorg"' -D__XCONFIGFILE__
='"xorg.conf"' \
55 -D__VENDORDWEBSUPPORT__
='"http://wiki.X.Org"' \
56 -DXVENDORNAME
='"The X.Org Foundation"' \
58 .
endif # !defined(__MINIX)
60 .if
${MACHINE_ARCH} == "i386"
61 CPPFLAGS
+= -DPCCONS_SUPPORT
-DPCVT_SUPPORT
64 .if
${MACHINE} == "cats" ||
${MACHINE} == "ofppc"
65 CPPFLAGS
+= -DPCVT_SUPPORT
68 CPPFLAGS.xf86Init.c
= -DOSNAME
='"NetBSD/${MACHINE} ${OS_RELEASE} -"' \
69 -DXORG_RELEASE
='"Release 1.4.2"' \
70 -DBUILDERADDR
='"xorg@xorg.org"' \
71 -DDEFAULT_MODULE_PATH
=\"${X11USRLIBDIR}/modules
\" \
72 -DDEFAULT_LIBRARY_PATH
=\"${X11USRLIBDIR}\"