summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-08-26 16:41:04 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-08-28 09:16:10 +1000
commite28cffbe48279a622b19cab1c83ab0a97e60ccef (patch)
tree05461a670298bb26a76ef01952b8fe0c0530db56 /src
parent66abdd3e52ef3071c7d89313cc95935a4ee7ba52 (diff)
Move Xlib headers from xf86dgaproto to here.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
-rw-r--r--src/XF86DGA.c2
-rw-r--r--src/XF86DGA2.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index dc22283..dd159ef 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,12 @@ lib_LTLIBRARIES = libXxf86dga.la
libXxf86dga_la_SOURCES = XF86DGA.c XF86DGA2.c
-AM_CFLAGS = $(XXF86DGA_CFLAGS) $(MALLOC_ZERO_CFLAGS)
+AM_CFLAGS = -I $(top_srcdir)/include \
+ $(XXF86DGA_CFLAGS) $(MALLOC_ZERO_CFLAGS)
+
libXxf86dga_la_LIBADD = $(XXF86DGA_LIBS)
libXxf86dga_la_LDFLAGS = -version-number 1:0:0
+
+libXxf86dgaincludedir = $(includedir)/X11/extensions
+libXxf86dgainclude_HEADERS = $(top_srcdir)/include/X11/extensions/xf86dga.h \
+ $(top_srcdir)/include/X11/extensions/xf86dga1.h
diff --git a/src/XF86DGA.c b/src/XF86DGA.c
index 573a53f..4fedd12 100644
--- a/src/XF86DGA.c
+++ b/src/XF86DGA.c
@@ -63,7 +63,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#define NEED_REPLIES
#include <X11/Xlibint.h>
#include <X11/extensions/xf86dga.h>
-#include <X11/extensions/xf86dgastr.h>
+#include <X11/extensions/xf86dgaproto.h>
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
diff --git a/src/XF86DGA2.c b/src/XF86DGA2.c
index 533901f..5eb5aad 100644
--- a/src/XF86DGA2.c
+++ b/src/XF86DGA2.c
@@ -19,7 +19,7 @@ Copyright (c) 1995,1996 The XFree86 Project, Inc
#define NEED_REPLIES
#include <X11/Xlibint.h>
#include <X11/extensions/xf86dga.h>
-#include <X11/extensions/xf86dgastr.h>
+#include <X11/extensions/xf86dgaproto.h>
#include <X11/extensions/Xext.h>
#include <X11/extensions/extutil.h>
#include <stdio.h>