summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 06:06:02 +0000
committerAlan Coopersmith <Alan.Coopersmith@sun.com>2005-07-16 06:06:02 +0000
commite118d7e6d6457d28dbd4fae1ffd239c69b2a97db (patch)
tree95b3494bc8f17d07fd8a22f2e40a069192e67bc5
parent6f93207c9248b243fba35554421b7bedd09fe77e (diff)
Modularize ProxyManager (PM) protocol headers used by lbxproxy & xproxymngr
-rw-r--r--COPYING24
-rw-r--r--Makefile.am9
-rwxr-xr-xautogen.sh12
-rw-r--r--configure.ac6
-rw-r--r--xproxymngproto.pc.in9
5 files changed, 60 insertions, 0 deletions
diff --git a/COPYING b/COPYING
new file mode 100644
index 0000000..3ce03b5
--- /dev/null
+++ b/COPYING
@@ -0,0 +1,24 @@
+Copyright 1996, 1998 The Open Group
+
+Permission to use, copy, modify, distribute, and sell this software and its
+documentation for any purpose is hereby granted without fee, provided that
+the above copyright notice appear in all copies and that both that
+copyright notice and this permission notice appear in supporting
+documentation.
+
+The above copyright notice and this permission notice shall be included
+in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE OPEN GROUP BE LIABLE FOR ANY CLAIM, DAMAGES OR
+OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
+
+Except as contained in this notice, the name of The Open Group shall
+not be used in advertising or otherwise to promote the sale, use or
+other dealings in this Software without prior written authorization
+from The Open Group.
+
diff --git a/Makefile.am b/Makefile.am
new file mode 100644
index 0000000..b9f83a6
--- /dev/null
+++ b/Makefile.am
@@ -0,0 +1,9 @@
+xproxymngdir = $(includedir)/X11/PM
+xproxymng_HEADERS = \
+ PM.h \
+ PMproto.h
+
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = xproxymngproto.pc
+
+EXTRA_DIST = autogen.sh xproxymngproto.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..88caed9
--- /dev/null
+++ b/configure.ac
@@ -0,0 +1,6 @@
+AC_PREREQ([2.57])
+AC_INIT([XProxyManagementProtocol], [1.0], [xorg@lists.freedesktop.org])
+AM_INIT_AUTOMAKE([foreign dist-bzip2])
+
+AC_OUTPUT([Makefile
+ xproxymngproto.pc])
diff --git a/xproxymngproto.pc.in b/xproxymngproto.pc.in
new file mode 100644
index 0000000..4c4afcc
--- /dev/null
+++ b/xproxymngproto.pc.in
@@ -0,0 +1,9 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: XProxyManagementProtocol
+Description: X Proxy Management Protocol headers
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}