mirror of
https://github.com/X11Libre/xserver.git
synced 2026-10-09 23:22:22 +00:00
Rather than building the tiny amount of code required for XFree86-DRI as an external module, build it in if it's enabled at configure time. v2: Fix test/Makefile.am to only link libdri.la if DRI is set Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Signed-off-by: Keith Packard <keithp@keithp.com> fixup for DRI1 move Signed-off-by: Keith Packard <keithp@keithp.com>
16 lines
461 B
Makefile
16 lines
461 B
Makefile
libdri2_la_LTLIBRARIES = libdri2.la
|
|
libdri2_la_CFLAGS = \
|
|
-DHAVE_XORG_CONFIG_H \
|
|
@DIX_CFLAGS@ @XORG_CFLAGS@ @DRI2PROTO_CFLAGS@ @LIBDRM_CFLAGS@ \
|
|
-I$(top_srcdir)/hw/xfree86/common \
|
|
-I$(top_srcdir)/hw/xfree86/os-support/bus
|
|
|
|
libdri2_la_LDFLAGS = -module -avoid-version $(LD_NO_UNDEFINED_FLAG)
|
|
libdri2_la_LIBADD = @LIBDRM_LIBS@ $(PIXMAN_LIBS)
|
|
libdri2_ladir = $(moduledir)/extensions
|
|
libdri2_la_SOURCES = \
|
|
dri2.c \
|
|
dri2.h \
|
|
dri2ext.c
|
|
|
|
sdk_HEADERS = dri2.h
|