etc/protocols - sync with NetBSD-8
[minix.git] / external / mit / xorg / server / xorg-server / hw / xfree86 / init / Makefile
blob28b7660d9b86e6c01c73e2c6cb7f0911c28d4892
1 # $NetBSD: Makefile,v 1.9 2014/01/16 01:15:33 christos Exp $
3 .include <bsd.own.mk>
5 .include "../../../Makefile.serverlib"
6 .include "../../../Makefile.servermod"
8 LIB= init
10 .PATH: ${X11SRCDIR.xorg-server}/hw/xfree86/common
11 SRCS= xf86Init.c
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 \
40 -I.
42 .if !defined(__MINIX)
43 CPPFLAGS+= ${X11FLAGS.EXTENSION} ${X11FLAGS.OS_DEFINES} \
44 ${X11FLAGS.DIX} \
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"' \
49 -DHAVE_XORG_CONFIG_H
50 .else
51 CPPFLAGS+= ${X11FLAGS.EXTENSION} ${X11FLAGS.OS_DEFINES} \
52 ${X11FLAGS.DIX} \
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"' \
57 -DHAVE_XORG_CONFIG_H
58 .endif # !defined(__MINIX)
60 .if ${MACHINE_ARCH} == "i386"
61 CPPFLAGS+= -DPCCONS_SUPPORT -DPCVT_SUPPORT
62 .endif
64 .if ${MACHINE} == "cats" || ${MACHINE} == "ofppc"
65 CPPFLAGS+= -DPCVT_SUPPORT
66 .endif
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}\"
74 .include <bsd.x11.mk>
75 .include <bsd.lib.mk>