1 # $NetBSD: Makefile,v 1.4 2005/03/19 21:41:58 christos Exp $
6 .PATH
: ${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/etc
10 XSERVERINCDIR
!= cd
${NETBSDSRCDIR}/x11
/Xserver
/include && ${PRINTOBJDIR}
11 XF86OSOBJDIR
!= cd
${NETBSDSRCDIR}/x11
/Xserver
/hw
/xfree86
/xf86_os
&& ${PRINTOBJDIR}
12 SCANPCIOBJDIR
!= cd
${NETBSDSRCDIR}/x11
/Xserver
/hw
/xfree86
/scanpci
&& ${PRINTOBJDIR}
13 DUMMYOBJDIR
!= cd
${NETBSDSRCDIR}/x11
/Xserver
/hw
/xfree86
/dummy
&& ${PRINTOBJDIR}
15 CPPFLAGS
+= -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/etc \
16 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/common \
17 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/os-support \
18 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/os-support
/bus \
19 -I
${X11SRCDIR.xc
}/programs
/Xserver
/include \
20 -I
${DESTDIR}${X11INCDIR}/X11 \
21 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/scanpci \
22 -I
${X11SRCDIR.xc
}/programs
/Xserver
/hw
/xfree86
/dummylib \
25 LDADD
= -L
${XF86OSOBJDIR} -lxf86_os \
26 -L
${SCANPCIOBJDIR} -lscanpci \
27 -L
${DUMMYOBJDIR} -ldummy
29 DPADD
= ${LIBXF86_OS} ${LIBSCANPCI} ${LIBDUMMY}
31 .if
${MACHINE_ARCH} == "i386" ||
${MACHINE_ARCH} == "x86_64"
32 CPPFLAGS
+= -DUSE_I386_IOPL
33 .if
${MACHINE_ARCH} != "x86_64"
43 .
include <bsd.prog.mk
>