diff options
-rw-r--r-- | AUTHORS | 0 | ||||
-rw-r--r-- | COPYING | 43 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | Makefile.am | 10 | ||||
-rw-r--r-- | NEWS | 0 | ||||
-rw-r--r-- | README | 0 | ||||
-rwxr-xr-x | autogen.sh | 12 | ||||
-rw-r--r-- | configure.ac | 26 | ||||
-rw-r--r-- | man/Makefile.am | 28 | ||||
-rw-r--r-- | src/Makefile.am | 64 | ||||
-rw-r--r-- | xi.pc.in | 10 |
11 files changed, 199 insertions, 0 deletions
@@ -0,0 +1,43 @@ +/* $XdotOrg: $ */ + +Copyright 1989, 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. + +Copyright 1989 by Hewlett-Packard Company, Palo Alto, California. + + All Rights Reserved + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and that +both that copyright notice and this permission notice appear in +supporting documentation, and that the name of Hewlett-Packard not be +used in advertising or publicity pertaining to distribution of the +software without specific, written prior permission. + +HEWLETT-PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL HEWLETT-PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF +USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR +OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +PERFORMANCE OF THIS SOFTWARE. diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..73357e9 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,6 @@ +2005-05-22 Alan Coopersmith <alan.coopersmith@sun.com> + + * Makefile.am, src/Makefile.am, man/Makefile.am, configure.ac, + COPYING, NEWS, README, AUTHORS, xi.pc.in: + Initial autotooling. + diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..059fffc --- /dev/null +++ b/Makefile.am @@ -0,0 +1,10 @@ +# $XdotOrg: $ + +AM_CFLAGS = $(XI_CFLAGS) + +SUBDIRS = src man + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = xi.pc + +EXTRA_DIST = xi.pc.in autogen.sh 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..646c9de --- /dev/null +++ b/configure.ac @@ -0,0 +1,26 @@ +dnl $XdotOrg: $ +dnl +dnl Process this file with autoconf to create configure. + +AC_PREREQ([2.57]) + +AC_INIT(libXi, 1.0, [xorg@lists.freedestkop.org], libXi) +AM_INIT_AUTOMAKE([dist-bzip2]) +AM_MAINTAINER_MODE + +AM_CONFIG_HEADER(src/config.h) + +# Check for progs +AC_PROG_CC +AC_PROG_LIBTOOL + +# Checks for pkg-config packages +PKG_CHECK_MODULES(XI, xproto x11 xextproto xext inputproto) +AC_SUBST(XI_CFLAGS) +AC_SUBST(XI_LIBS) + +AC_OUTPUT([Makefile + src/Makefile + man/Makefile + xi.pc]) + diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..782ae95 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,28 @@ +# $XdotOrg: $ + +man3_MANS = \ + XAllowDeviceEvents.man \ + XChangeDeviceDontPropagateList.man \ + XChangeKeyboardDevice.man \ + XChangePointerDevice.man \ + XDeviceBell.man \ + XGetDeviceControl.man \ + XGetDeviceKeyMapping.man \ + XGetDeviceModifierMapping.man \ + XGetDeviceMotionEvents.man \ + XGetExtensionVersion.man \ + XGetFeedbackControl.man \ + XGrabDevice.man \ + XGrabDeviceButton.man \ + XGrabDeviceKey.man \ + XListInputDevices.man \ + XOpenDevice.man \ + XQueryDeviceState.man \ + XSelectExtensionEvent.man \ + XSendExtensionEvent.man \ + XSetDeviceButtonMapping.man \ + XSetDeviceFocus.man \ + XSetDeviceMode.man \ + XSetDeviceValuators.man + +EXTRA_DIST=$(man3_MANS) diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..d5ad49a --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,64 @@ +# $XdotOrg: $ + +lib_LTLIBRARIES = libXi.la + +libXi_la_SOURCES = \ + XAllowDv.c \ + XChgDCtl.c \ + XChgFCtl.c \ + XChgKbd.c \ + XChgKMap.c \ + XChgPnt.c \ + XChgProp.c \ + XCloseDev.c \ + XDevBell.c \ + XExtToWire.c \ + XGetBMap.c \ + XGetDCtl.c \ + XGetFCtl.c \ + XGetKMap.c \ + XGetMMap.c \ + XGetProp.c \ + XGetVers.c \ + XGMotion.c \ + XGrabDev.c \ + XGrDvBut.c \ + XGrDvKey.c \ + XGtFocus.c \ + XGtSelect.c \ + XListDev.c \ + XOpenDev.c \ + XQueryDv.c \ + XSelect.c \ + XSetBMap.c \ + XSetDVal.c \ + XSetMMap.c \ + XSetMode.c \ + XSndExEv.c \ + XStFocus.c \ + XUngrDev.c \ + XUngrDvB.c \ + XUngrDvK.c \ + XExtInt.c + +libXi_la_LIBADD = $(XI_LIBS) + +libXi_la_CFLAGS = $(XI_CFLAGS) + +#INCLUDES = -I$(top_srcdir)/include/X11/extensions + +# +# Library version info. Check the libtool docs for +# instructions on when and how to change this value +# +# bump when the ABI changes +XI_CURRENT=1 +# bump for non-ABI changes, reset to zero when CURRENT changes +XI_REVISION=0 +# bump when the ABI changes in backward-compatible fashion +XI_AGE=0 + +libXi_la_LDFLAGS = -version-info ${XI_CURRENT}:${XI_REVISION}:${XI_AGE} + +#libXiincludedir = $(includedir)/X11/extensions +#libXiinclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xi.h diff --git a/xi.pc.in b/xi.pc.in new file mode 100644 index 0000000..87a26ad --- /dev/null +++ b/xi.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Xi +Description: X Input Extension Library +Version: @VERSION@ +Cflags: -I${includedir} @XI_CFLAGS@ +Libs: -L${libdir} -lXt @XI_LIBS@ |