Drop main() prototype. Syncs with NetBSD-8
[minix.git] / external / mit / xorg / lib / driver.mk
blobc34b5150fcc8f0044ff055d6115a442e95e9ce5a
1 # $NetBSD: driver.mk,v 1.1 2014/12/18 06:24:28 mrg Exp $
3 # stuff both dri and gallium drivers need.
5 # util
6 .PATH: ${X11SRCDIR.MesaLib}/src/util
7 SRCS.util= \
8 hash_table.c \
9 MESAralloc.c
10 .PATH: ${X11SRCDIR.MesaLib}/../src/util
11 SRCS.util+= \
12 format_srgb.c
13 CPPFLAGS.format_srgb.c+= -I${X11SRCDIR.MesaLib}/src/util
14 CPPFLAGS.hash_table.c+= -I${X11SRCDIR.MesaLib}/src/util
15 CPPFLAGS.MESAralloc.c+= -I${X11SRCDIR.MesaLib}/src/util
17 BUILDSYMLINKS+= ${X11SRCDIR.MesaLib}/src/util/ralloc.c MESAralloc.c
19 SRCS+= ${SRCS.util}
21 # also need to pull in libdricommon.la libmegadriver_stub.la
22 .PATH: ${X11SRCDIR.MesaLib}/src/mesa/drivers/dri/common
23 SRCS+= utils.c dri_util.c xmlconfig.c
24 SRCS+= megadriver_stub.c