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
commit22a2a1cdb0f6e05fa609fbd996c696aa509f1f83 (patch)
tree71d3641a732f7882c31fddf068b66557865dc8f5
parentdf80fd315a3dedab112429d68c45adaf57e12c3d (diff)
Initial build system files for proto module.
-rw-r--r--Makefile.am10
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.ac6
-rw-r--r--scrnsaverext.pc.in9
4 files changed, 37 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..cf11ce5
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,10 @@
+scrnsaverdir = $(includedir)/X11/extensions
+scrnsaver_HEADERS = \
+ saver.h \
+ saverproto.h \
+ scrnsaver.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = scrnsaverext.pc
+
+EXTRA_DIST = autogen.sh scrnsaverext.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..8161171
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,6 @@
+AC_PREREQ([2.57])
+AC_INIT([ScrnSaverExt], [7.0], [xorg@lists.freedesktop.org])
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+
+AC_OUTPUT([Makefile
+ scrnsaverext.pc])
diff --git a/scrnsaverext.pc.in b/scrnsaverext.pc.in
new file mode 100644
index 0000000..6d103a3
--- /dev/null
+++ b/scrnsaverext.pc.in
@@ -0,0 +1,9 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: ScrnSaverExt
+Description: ScrnSaver extension headers
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}