1 # $NetBSD: Makefile,v 1.7 2015/06/24 22:20:25 matt Exp $
6 .PATH
: ${X11SRCDIR.
${LIB}}/src
7 .PATH
: ${X11SRCDIR.
${LIB}}/include
9 XORG_MACHINE_ARCH?
=${MACHINE_ARCH}
11 SRCS
= common_bridge.c \
17 common_device_name.c \
19 common_vgaarb_stub.c \
22 CPPFLAGS
+= ${X11FLAGS} -I
${X11SRCDIR.
${LIB}}/include -DHAVE_ZLIB \
23 -DHAVE_STRING_H
-DHAVE_STDINT_H
-DHAVE_INTTYPES_H \
24 -DPCIIDS_PATH
=\"${X11ROOTDIR}/share
/pciids
\"
26 COPTS.common_init.c
= -Wno-error
34 DPADD
+= ${LIBPCI} ${LIBZ}
37 .if
${XORG_MACHINE_ARCH} == "i386" ||
${XORG_MACHINE_ARCH} == "x86_64"
38 CPPFLAGS
+= -DHAVE_MTRR
41 .if
${XORG_MACHINE_ARCH} == "i386"
46 .if
${XORG_MACHINE_ARCH} == "x86_64"
50 .
endif # !defined(__MINIX)