Modularize ProxyManager (PM) protocol headers used by lbxproxy & xproxymngr

This commit is contained in:
Alan Coopersmith 2005-07-16 06:06:02 +00:00
parent 6f93207c92
commit e118d7e6d6
5 changed files with 60 additions and 0 deletions

24
COPYING Normal file
View file

@ -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.

9
Makefile.am Normal file
View file

@ -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

12
autogen.sh Executable file
View file

@ -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 "$@"

6
configure.ac Normal file
View file

@ -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])

9
xproxymngproto.pc.in Normal file
View file

@ -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}