summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-07-10 23:15:32 +0000
committerAdam Jackson <ajax@nwnk.net>2005-07-10 23:15:32 +0000
commitfa615bf684434a31c637eba45ba0fe01906a765e (patch)
tree07dd433f533c68eadb5f40c93d0cfe9101887dff
parent267dc158de53bd25b8ad55c75d043570425d5bff (diff)
DRI protocol module
-rw-r--r--Makefile.am7
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.ac6
-rw-r--r--xf86driproto.pc.in9
4 files changed, 34 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..144f53e
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,7 @@
+xf86dridir = $(includedir)/X11/dri
+xf86dri_HEADERS = xf86dri.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = xf86driproto.pc
+
+EXTRA_DIST = autogen.sh xf86driproto.pc.in
diff --git a/autogen.sh b/autogen.sh
new file mode 100755
index 0000000..904cd67
--- /dev/null
+++ b/autogen.sh
@@ -0,0 +1,12 @@
+#! /bin/sh
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+
+ORIGDIR=`pwd`
+cd $srcdir
+
+autoreconf -v --install || exit 1
+cd $ORIGDIR || exit $?
+
+$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
new file mode 100644
index 0000000..23615bd
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,6 @@
+AC_PREREQ([2.57])
+AC_INIT([XF86DRIProto], [2.0], [xorg@lists.freedesktop.org])
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+
+AC_OUTPUT([Makefile
+ xf86driproto.pc])
diff --git a/xf86driproto.pc.in b/xf86driproto.pc.in
new file mode 100644
index 0000000..995ff4c
--- /dev/null
+++ b/xf86driproto.pc.in
@@ -0,0 +1,9 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XF86DRIProto
+Description: XF86DRI extension headers
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}