summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin E Martin <kem@kem.org>2005-05-06 01:46:31 +0000
committerKevin E Martin <kem@kem.org>2005-05-06 01:46:31 +0000
commitaaef7b5591cfaaa08ca1d03b113e04dd726059a1 (patch)
tree4d7e00582cbe7df41dc6793cb084c5b002da419d
parentb5bacc5786658560870cc24975d29d582e9a335c (diff)
Initial build system files for proto module.
-rw-r--r--Makefile.am12
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.ac6
-rw-r--r--kbext.pc.in9
4 files changed, 39 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..0e63689
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,12 @@
+kbdir = $(includedir)/X11/extensions
+kb_HEADERS = \
+ XKBgeom.h \
+ XKB.h \
+ XKBproto.h \
+ XKBsrv.h \
+ XKBstr.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = kbext.pc
+
+EXTRA_DIST = autogen.sh kbext.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..85035b4
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,6 @@
+AC_PREREQ([2.57])
+AC_INIT([KBExt], [7.0], [xorg@lists.freedesktop.org])
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+
+AC_OUTPUT([Makefile
+ kbext.pc])
diff --git a/kbext.pc.in b/kbext.pc.in
new file mode 100644
index 0000000..e7dd202
--- /dev/null
+++ b/kbext.pc.in
@@ -0,0 +1,9 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: KBExt
+Description: KB extension headers
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}