xserver-multidpi/hw/xfree86/dri/Makefile.am
Eric Anholt dfb5da93bc Turn on DRI by default on Linux, NetBSD, FreeBSD, and fix the build of the
module for FreeBSD by setting some missing defines (XFree86Module,
    IN_MODULE) in the dri directory. Note that those missing defines should
    be somewhere generic, since there are other consumers of them, but I
    haven't figured out where.
2005-09-13 20:59:05 +00:00

24 lines
750 B
Makefile

libdri_la_LTLIBRARIES = libdri.la
libdri_la_CFLAGS = -I$(top_srcdir)/hw/xfree86/common \
-I$(top_srcdir)/hw/xfree86/os-support \
-I$(top_srcdir)/hw/xfree86/os-support/bus \
-I$(top_srcdir)/GL/glx \
-I$(top_srcdir)/GL/include \
-I$(top_builddir)/GL/include \
-I@MESA_SOURCE@/include \
-DHAVE_XORG_CONFIG_H \
-DXFree86Module -DIN_MODULE \
@DRIPROTO_CFLAGS@ \
@LIBDRM_CFLAGS@
libdri_la_LDFLAGS = -module -avoid-version
libdri_ladir = $(moduledir)/extensions
libdri_la_SOURCES = \
dri.c \
dri.h \
drimodule.c \
dristruct.h \
sarea.h \
xf86dri.c
sdk_HEADERS = dri.h sarea.h dristruct.h