1 # $NetBSD: Makefile,v 1.14 2011/08/02 09:11:38 mrg Exp $
7 .
include "../../Makefile.serverlib"
8 .
include "../../Makefile.servermod"
10 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/xnest
11 .PATH
: ${X11SRCDIR.xorg-server
}/hw
/xnest
/man
12 .PATH
: ${X11SRCDIR.xorg-server
}/Xext
13 .PATH
: ${X11SRCDIR.xorg-server
}/Xi
14 .PATH
: ${X11SRCDIR.xorg-server
}/mi
15 .PATH
: ${X11SRCDIR.xorg-server
}/fb
16 SRCS
= Args.c Color.c Cursor.c Display.c Events.c Font.c \
17 GC.c GCOps.c Handlers.c Init.c Keyboard.c \
18 Pixmap.c Pointer.c Screen.c Visual.c Window.c \
19 dpmsstubs.c stubs.c miinitext.c \
22 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/hw
/xnest \
23 -I
${DESTDIR}${X11INCDIR}/X11 \
24 -I
${X11SRCDIR.xorg-server
}/mi \
25 -I
${X11SRCDIR.xorg-server
}/Xext \
26 -I
${X11SRCDIR.xorg-server
}/include \
27 -I
${X11SRCDIR.xorg-server
}/os \
28 -I
${DESTDIR}${X11INCDIR}/X11
/extensions \
29 -I
${DESTDIR}${X11INCDIR}/pixman-1 \
30 -I
${X11SRCDIR.xorg-server
}/..
/include \
33 CPPFLAGS
+= ${X11FLAGS.OS_DEFINES
} \
34 ${X11FLAGS.EXTENSION
} \
36 -DNO_HW_ONLY_EXTS
-UXFree86LOADER
-UMITSHM \
37 -D__XKBDEFRULES__
='"xorg"'
39 CPPFLAGS
+= -I
${X11SRCDIR.xorg-server
}/hw
/xnest \
40 -DHAVE_XNEST_CONFIG_H \
43 CPPFLAGS.Events.c
= -Wno-error
44 CPPFLAGS.Screen.c
= -Wno-error
45 CPPFLAGS.Color.c
= -Wno-error
46 CPPFLAGS.Window.c
= -Wno-error
47 CPPFLAGS.miinitext.c
= -UDPMSExtension
49 .
include "../../Makefile.Xserver"
51 LDADD
+= ${LDADD.dix
} \
62 ${LDADD.miext
/damage
} \
64 ${LDADD.miext
/shadow
} \
72 -lXfont
-lXext
-lfontenc \
73 -lpixman-1
-lX11
-lXau \
74 -lXdmcp
-lfreetype
-lm
-lcrypto
76 DPADD
+= ${LDADD.dix
} \
87 ${DPADD.miext
/damage
} \
89 ${DPADD.miext
/shadow
} \
96 ${LIBXFONT} ${LIBXEXT} ${LIBFONTENC} \
97 ${LIBPIXMAN-1
} ${LIBX11} ${LIBXAU} \
98 ${LIBXDMCP} ${LIBFREETYPE} ${LIBM} ${LIBCRYPTO}
100 .if
!defined
(__MINIX
)
101 .if
${MACHINE_ARCH} == "i386"
106 .if
${MACHINE_ARCH} == "x86_64"
111 .if
${MACHINE_ARCH} == "alpha"
115 .
endif # !defined(__MINIX)
117 COPTS.miinitext.c
+= -Wno-error
# XXX xf86bigfstr.h
119 .
include <bsd.x11.mk
>
120 .
include <bsd.prog.mk
>