summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDeron <djlocal@localhost.localdomain>2006-12-03 13:42:22 -0800
committerDeron <djlocal@localhost.localdomain>2006-12-03 13:42:22 -0800
commita5c31bb0d33befb0d40b0fa7165b1a2ed2948287 (patch)
tree334e91ef2f36dfb5743a3dbabb3ed6b2ac200752 /src
Initial populate.
Diffstat (limited to 'src')
-rw-r--r--src/.deps/Xlge.Plo135
-rw-r--r--src/.libs/Xlge.obin0 -> 49936 bytes
l---------src/.libs/libXlg3d1
l---------src/.libs/libXlg3d.11
-rwxr-xr-xsrc/.libs/libXlg3d.1.0.0bin0 -> 40958 bytes
-rw-r--r--src/.libs/libXlg3d.abin0 -> 49718 bytes
l---------src/.libs/libXlg3d.la1
-rw-r--r--src/.libs/libXlg3d.lai35
l---------src/.libs/libXlg3d.so1
l---------src/.libs/libXlg3d.so.11
-rwxr-xr-xsrc/.libs/libXlg3d.so.1.0.0bin0 -> 41668 bytes
-rw-r--r--src/CVS/Entries3
-rw-r--r--src/CVS/Repository1
-rw-r--r--src/CVS/Root1
-rw-r--r--src/CVS/Template0
-rw-r--r--src/Makefile514
-rw-r--r--src/Makefile.am38
-rw-r--r--src/Makefile.in514
-rw-r--r--src/Xlge.c179
-rw-r--r--src/Xlge.c~179
-rw-r--r--src/Xlge.lo12
-rw-r--r--src/Xlge.obin0 -> 49456 bytes
-rw-r--r--src/libXlg3d.la35
23 files changed, 1651 insertions, 0 deletions
diff --git a/src/.deps/Xlge.Plo b/src/.deps/Xlge.Plo
new file mode 100644
index 0000000..c84a62c
--- /dev/null
+++ b/src/.deps/Xlge.Plo
@@ -0,0 +1,135 @@
+Xlge.lo Xlge.o: Xlge.c /usr/include/stdio.h /usr/include/features.h \
+ /usr/include/sys/cdefs.h /usr/include/bits/wordsize.h \
+ /usr/include/gnu/stubs.h /usr/include/gnu/stubs-32.h \
+ /usr/lib/gcc/i386-redhat-linux/4.1.0/include/stddef.h \
+ /usr/include/bits/types.h /usr/include/bits/typesizes.h \
+ /usr/include/libio.h /usr/include/_G_config.h /usr/include/wchar.h \
+ /usr/include/bits/wchar.h /usr/include/gconv.h \
+ /usr/lib/gcc/i386-redhat-linux/4.1.0/include/stdarg.h \
+ /usr/include/bits/stdio_lim.h /usr/include/bits/sys_errlist.h \
+ /usr/include/bits/stdio.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xlibint.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xlib.h \
+ /usr/include/sys/types.h /usr/include/time.h /usr/include/endian.h \
+ /usr/include/bits/endian.h /usr/include/sys/select.h \
+ /usr/include/bits/select.h /usr/include/bits/sigset.h \
+ /usr/include/bits/time.h /usr/include/sys/sysmacros.h \
+ /usr/include/bits/pthreadtypes.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/X.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xfuncproto.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xosdefs.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xproto.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xmd.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xprotostr.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/XlibConf.h \
+ /usr/include/errno.h /usr/include/bits/errno.h \
+ /usr/include/linux/errno.h /usr/include/asm/errno.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/Xfuncs.h \
+ /usr/include/string.h /usr/include/bits/string.h \
+ /usr/include/bits/string2.h /usr/include/stdlib.h /usr/include/alloca.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/extensions/Xext.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/extensions/extutil.h \
+ /homelocal/djlocal/xorg/gitlg/modular/include/X11/extensions/lgewire.h \
+ ../include/X11/extensions/Xlge.h
+
+/usr/include/stdio.h:
+
+/usr/include/features.h:
+
+/usr/include/sys/cdefs.h:
+
+/usr/include/bits/wordsize.h:
+
+/usr/include/gnu/stubs.h:
+
+/usr/include/gnu/stubs-32.h:
+
+/usr/lib/gcc/i386-redhat-linux/4.1.0/include/stddef.h:
+
+/usr/include/bits/types.h:
+
+/usr/include/bits/typesizes.h:
+
+/usr/include/libio.h:
+
+/usr/include/_G_config.h:
+
+/usr/include/wchar.h:
+
+/usr/include/bits/wchar.h:
+
+/usr/include/gconv.h:
+
+/usr/lib/gcc/i386-redhat-linux/4.1.0/include/stdarg.h:
+
+/usr/include/bits/stdio_lim.h:
+
+/usr/include/bits/sys_errlist.h:
+
+/usr/include/bits/stdio.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xlibint.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xlib.h:
+
+/usr/include/sys/types.h:
+
+/usr/include/time.h:
+
+/usr/include/endian.h:
+
+/usr/include/bits/endian.h:
+
+/usr/include/sys/select.h:
+
+/usr/include/bits/select.h:
+
+/usr/include/bits/sigset.h:
+
+/usr/include/bits/time.h:
+
+/usr/include/sys/sysmacros.h:
+
+/usr/include/bits/pthreadtypes.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/X.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xfuncproto.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xosdefs.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xproto.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xmd.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xprotostr.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/XlibConf.h:
+
+/usr/include/errno.h:
+
+/usr/include/bits/errno.h:
+
+/usr/include/linux/errno.h:
+
+/usr/include/asm/errno.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/Xfuncs.h:
+
+/usr/include/string.h:
+
+/usr/include/bits/string.h:
+
+/usr/include/bits/string2.h:
+
+/usr/include/stdlib.h:
+
+/usr/include/alloca.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/extensions/Xext.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/extensions/extutil.h:
+
+/homelocal/djlocal/xorg/gitlg/modular/include/X11/extensions/lgewire.h:
+
+../include/X11/extensions/Xlge.h:
diff --git a/src/.libs/Xlge.o b/src/.libs/Xlge.o
new file mode 100644
index 0000000..e9a00fb
--- /dev/null
+++ b/src/.libs/Xlge.o
Binary files differ
diff --git a/src/.libs/libXlg3d b/src/.libs/libXlg3d
new file mode 120000
index 0000000..e204407
--- /dev/null
+++ b/src/.libs/libXlg3d
@@ -0,0 +1 @@
+libXlg3d.1.0.0 \ No newline at end of file
diff --git a/src/.libs/libXlg3d.1 b/src/.libs/libXlg3d.1
new file mode 120000
index 0000000..e204407
--- /dev/null
+++ b/src/.libs/libXlg3d.1
@@ -0,0 +1 @@
+libXlg3d.1.0.0 \ No newline at end of file
diff --git a/src/.libs/libXlg3d.1.0.0 b/src/.libs/libXlg3d.1.0.0
new file mode 100755
index 0000000..8792984
--- /dev/null
+++ b/src/.libs/libXlg3d.1.0.0
Binary files differ
diff --git a/src/.libs/libXlg3d.a b/src/.libs/libXlg3d.a
new file mode 100644
index 0000000..28f3139
--- /dev/null
+++ b/src/.libs/libXlg3d.a
Binary files differ
diff --git a/src/.libs/libXlg3d.la b/src/.libs/libXlg3d.la
new file mode 120000
index 0000000..0faa501
--- /dev/null
+++ b/src/.libs/libXlg3d.la
@@ -0,0 +1 @@
+../libXlg3d.la \ No newline at end of file
diff --git a/src/.libs/libXlg3d.lai b/src/.libs/libXlg3d.lai
new file mode 100644
index 0000000..8d39820
--- /dev/null
+++ b/src/.libs/libXlg3d.lai
@@ -0,0 +1,35 @@
+# libXlg3d.la - a libtool library file
+# Generated by ltmain.sh - GNU libtool 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libXlg3d.1'
+
+# Names of this library.
+library_names='libXlg3d.1.0.0 libXlg3d.1 libXlg3d'
+
+# The name of the static archive.
+old_library='libXlg3d.a'
+
+# Libraries that this one depends upon.
+dependency_libs=' -L/homelocal/djlocal/xorg/gitlg/modular/lib /homelocal/djlocal/xorg/gitlg/modular/lib/libXfixes.la /homelocal/djlocal/xorg/gitlg/modular/lib/libXext.la /homelocal/djlocal/xorg/gitlg/modular/lib/libX11.la /homelocal/djlocal/xorg/gitlg/modular/lib/libXdmcp.la -ldl /homelocal/djlocal/xorg/gitlg/modular/lib/libXau.la'
+
+# Version information for libXlg3d.
+current=1
+age=0
+revision=0
+
+# Is this an already installed library?
+installed=yes
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/homelocal/djlocal/xorg/gitlg/modular/lib'
diff --git a/src/.libs/libXlg3d.so b/src/.libs/libXlg3d.so
new file mode 120000
index 0000000..bb6bf47
--- /dev/null
+++ b/src/.libs/libXlg3d.so
@@ -0,0 +1 @@
+libXlg3d.so.1.0.0 \ No newline at end of file
diff --git a/src/.libs/libXlg3d.so.1 b/src/.libs/libXlg3d.so.1
new file mode 120000
index 0000000..bb6bf47
--- /dev/null
+++ b/src/.libs/libXlg3d.so.1
@@ -0,0 +1 @@
+libXlg3d.so.1.0.0 \ No newline at end of file
diff --git a/src/.libs/libXlg3d.so.1.0.0 b/src/.libs/libXlg3d.so.1.0.0
new file mode 100755
index 0000000..c2d8412
--- /dev/null
+++ b/src/.libs/libXlg3d.so.1.0.0
Binary files differ
diff --git a/src/CVS/Entries b/src/CVS/Entries
new file mode 100644
index 0000000..fbe09ba
--- /dev/null
+++ b/src/CVS/Entries
@@ -0,0 +1,3 @@
+/Makefile.am/0/dummy timestamp//
+/Xlge.c/0/dummy timestamp//
+D
diff --git a/src/CVS/Repository b/src/CVS/Repository
new file mode 100644
index 0000000..28d1f75
--- /dev/null
+++ b/src/CVS/Repository
@@ -0,0 +1 @@
+lib/Xlg3d/src
diff --git a/src/CVS/Root b/src/CVS/Root
new file mode 100644
index 0000000..bbe3733
--- /dev/null
+++ b/src/CVS/Root
@@ -0,0 +1 @@
+:ext:deronj@cvs.freedesktop.org:/cvs/xorg
diff --git a/src/CVS/Template b/src/CVS/Template
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/src/CVS/Template
diff --git a/src/Makefile b/src/Makefile
new file mode 100644
index 0000000..6085613
--- /dev/null
+++ b/src/Makefile
@@ -0,0 +1,514 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# src/Makefile. Generated from Makefile.in by configure.
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+
+
+#
+# $Id: Makefile.am,v 1.4 2005/07/16 06:33:36 daniels Exp $
+#
+# Copyright (c) 2004, Sun Microsystems, Inc.
+#
+# 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
+# SUN MICROSYSTEMS 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 Sun Microsystems shall not be
+# used in advertising or otherwise to promote the sale, use or other dealings
+# in this Software without prior written authorization from Sun Microsystems.
+
+
+srcdir = .
+top_srcdir = ..
+
+pkgdatadir = $(datadir)/libXlg3d
+pkglibdir = $(libdir)/libXlg3d
+pkgincludedir = $(includedir)/libXlg3d
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = /usr/bin/install -c
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = i686-intel-linux
+host_triplet = i686-intel-linux
+subdir = src
+DIST_COMMON = $(libXlg3dinclude_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(libdir)" \
+ "$(DESTDIR)$(libXlg3dincludedir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+libXlg3d_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+am_libXlg3d_la_OBJECTS = Xlge.lo
+libXlg3d_la_OBJECTS = $(am_libXlg3d_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libXlg3d_la_SOURCES)
+DIST_SOURCES = $(libXlg3d_la_SOURCES)
+libXlg3dincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(libXlg3dinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = aclocal -I /homelocal/djlocal/xorg/gitlg/modular/share/aclocal
+AMDEP_FALSE = #
+AMDEP_TRUE =
+AMTAR = ${SHELL} /homelocal/djlocal/xorg/gitlg/lib/libXlg3d/missing --run tar
+AR = ar
+AUTOCONF = ${SHELL} /homelocal/djlocal/xorg/gitlg/lib/libXlg3d/missing --run autoconf
+AUTOHEADER = ${SHELL} /homelocal/djlocal/xorg/gitlg/lib/libXlg3d/missing --run autoheader
+AUTOMAKE = ${SHELL} /homelocal/djlocal/xorg/gitlg/lib/libXlg3d/missing --run automake-1.9
+AWK = gawk
+CC = gcc
+CCDEPMODE = depmode=gcc3
+CFLAGS = -g -O2
+CPP = gcc -E
+CPPFLAGS =
+CXX = g++
+CXXCPP = g++ -E
+CXXDEPMODE = depmode=gcc3
+CXXFLAGS = -g -O2
+CYGPATH_W = echo
+DEFS = -DHAVE_CONFIG_H
+DEPDIR = .deps
+ECHO = echo
+ECHO_C =
+ECHO_N = -n
+ECHO_T =
+EGREP = grep -E
+EXEEXT =
+F77 = g77
+FFLAGS = -g -O2
+INSTALL_DATA = ${INSTALL} -m 644
+INSTALL_PROGRAM = ${INSTALL}
+INSTALL_SCRIPT = ${INSTALL}
+INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
+LDFLAGS =
+LGEXT_VERSION = 5.0
+LIBOBJS =
+LIBS =
+LIBTOOL = $(SHELL) $(top_builddir)/libtool
+LN_S = ln -s
+LTLIBOBJS =
+MAINT =
+MAINTAINER_MODE_FALSE = #
+MAINTAINER_MODE_TRUE =
+MAKEINFO = ${SHELL} /homelocal/djlocal/xorg/gitlg/lib/libXlg3d/missing --run makeinfo
+OBJEXT = o
+PACKAGE = libXlg3d
+PACKAGE_BUGREPORT = https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
+PACKAGE_NAME = libXlg3d
+PACKAGE_STRING = libXlg3d 5.0
+PACKAGE_TARNAME = libXlg3d
+PACKAGE_VERSION = 5.0
+PATH_SEPARATOR = :
+PKG_CONFIG = /usr/local/bin/pkg-config
+RANLIB = ranlib
+SET_MAKE =
+SHELL = /bin/sh
+STRIP = strip
+VERSION = 5.0
+XLG3D_CFLAGS = -I/homelocal/djlocal/xorg/gitlg/modular/include
+XLG3D_LIBS = -L/homelocal/djlocal/xorg/gitlg/modular/lib -lX11 -lXfixes -lXext
+ac_ct_AR = ar
+ac_ct_CC = gcc
+ac_ct_CXX = g++
+ac_ct_F77 = g77
+ac_ct_RANLIB = ranlib
+ac_ct_STRIP = strip
+ac_pt_PKG_CONFIG = /usr/local/bin/pkg-config
+am__fastdepCC_FALSE = #
+am__fastdepCC_TRUE =
+am__fastdepCXX_FALSE = #
+am__fastdepCXX_TRUE =
+am__include = include
+am__leading_dot = .
+am__quote =
+am__tar = ${AMTAR} chof - "$$tardir"
+am__untar = ${AMTAR} xf -
+bindir = ${exec_prefix}/bin
+build = i686-intel-linux
+build_alias =
+build_cpu = i686
+build_os = linux
+build_vendor = intel
+datadir = ${prefix}/share
+exec_prefix = ${prefix}
+host = i686-intel-linux
+host_alias =
+host_cpu = i686
+host_os = linux
+host_vendor = intel
+includedir = ${prefix}/include
+infodir = ${prefix}/info
+install_sh = /homelocal/djlocal/xorg/gitlg/lib/libXlg3d/install-sh
+libdir = ${exec_prefix}/lib
+libexecdir = ${exec_prefix}/libexec
+localstatedir = ${prefix}/var
+mandir = ${prefix}/man
+mkdir_p = mkdir -p --
+oldincludedir = /usr/include
+prefix = /homelocal/djlocal/xorg/gitlg/modular
+program_transform_name = s,x,x,
+sbindir = ${exec_prefix}/sbin
+sharedstatedir = ${prefix}/com
+sysconfdir = ${prefix}/etc
+target_alias =
+AM_CFLAGS = $(XLG3D_CFLAGS) $(XLG3D_CFLAGS) $(X_CFLAGS) -I$(top_srcdir)/include
+lib_LTLIBRARIES = libXlg3d.la
+libXlg3d_la_SOURCES = \
+ Xlge.c
+
+libXlg3d_la_LIBADD = $(XLG3D_LIBS) $(X_LIBS) $(XLG3D_LIBS)
+libXlg3d_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+libXlg3dincludedir = $(includedir)/X11/extensions
+libXlg3dinclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xlge.h
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-libLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+ done
+
+clean-libLTLIBRARIES:
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libXlg3d.la: $(libXlg3d_la_OBJECTS) $(libXlg3d_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libXlg3d_la_LDFLAGS) $(libXlg3d_la_OBJECTS) $(libXlg3d_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+include ./$(DEPDIR)/Xlge.Plo
+
+.c.o:
+ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(COMPILE) -c $<
+
+.c.obj:
+ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+# source='$<' object='$@' libtool=no \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+# source='$<' object='$@' libtool=yes \
+# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
+# $(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-libXlg3dincludeHEADERS: $(libXlg3dinclude_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(libXlg3dincludedir)" || $(mkdir_p) "$(DESTDIR)$(libXlg3dincludedir)"
+ @list='$(libXlg3dinclude_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(libXlg3dincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libXlg3dincludedir)/$$f'"; \
+ $(libXlg3dincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libXlg3dincludedir)/$$f"; \
+ done
+
+uninstall-libXlg3dincludeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libXlg3dinclude_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(libXlg3dincludedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(libXlg3dincludedir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ $(mkdir_p) $(distdir)/../include/X11/extensions
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libXlg3dincludedir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-libXlg3dincludeHEADERS
+
+install-exec-am: install-libLTLIBRARIES
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
+ uninstall-libXlg3dincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am \
+ install-libLTLIBRARIES install-libXlg3dincludeHEADERS \
+ install-man install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-info-am uninstall-libLTLIBRARIES \
+ uninstall-libXlg3dincludeHEADERS
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/Makefile.am b/src/Makefile.am
new file mode 100644
index 0000000..c954112
--- /dev/null
+++ b/src/Makefile.am
@@ -0,0 +1,38 @@
+#
+# $Id: Makefile.am,v 1.4 2005/07/16 06:33:36 daniels Exp $
+#
+# Copyright (c) 2004, Sun Microsystems, Inc.
+#
+# 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
+# SUN MICROSYSTEMS 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 Sun Microsystems shall not be
+# used in advertising or otherwise to promote the sale, use or other dealings
+# in this Software without prior written authorization from Sun Microsystems.
+
+AM_CFLAGS = $(XLG3D_CFLAGS) $(XLG3D_CFLAGS) $(X_CFLAGS) -I$(top_srcdir)/include
+
+lib_LTLIBRARIES = libXlg3d.la
+
+libXlg3d_la_SOURCES = \
+ Xlge.c
+
+libXlg3d_la_LIBADD = $(XLG3D_LIBS) $(X_LIBS) $(XLG3D_LIBS)
+
+libXlg3d_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+
+libXlg3dincludedir = $(includedir)/X11/extensions
+libXlg3dinclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xlge.h
diff --git a/src/Makefile.in b/src/Makefile.in
new file mode 100644
index 0000000..324f430
--- /dev/null
+++ b/src/Makefile.in
@@ -0,0 +1,514 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
+# 2003, 2004, 2005 Free Software Foundation, Inc.
+# This Makefile.in is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE.
+
+@SET_MAKE@
+
+#
+# $Id: Makefile.am,v 1.4 2005/07/16 06:33:36 daniels Exp $
+#
+# Copyright (c) 2004, Sun Microsystems, Inc.
+#
+# 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
+# SUN MICROSYSTEMS 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 Sun Microsystems shall not be
+# used in advertising or otherwise to promote the sale, use or other dealings
+# in this Software without prior written authorization from Sun Microsystems.
+
+
+srcdir = @srcdir@
+top_srcdir = @top_srcdir@
+VPATH = @srcdir@
+pkgdatadir = $(datadir)/@PACKAGE@
+pkglibdir = $(libdir)/@PACKAGE@
+pkgincludedir = $(includedir)/@PACKAGE@
+top_builddir = ..
+am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
+INSTALL = @INSTALL@
+install_sh_DATA = $(install_sh) -c -m 644
+install_sh_PROGRAM = $(install_sh) -c
+install_sh_SCRIPT = $(install_sh) -c
+INSTALL_HEADER = $(INSTALL_DATA)
+transform = $(program_transform_name)
+NORMAL_INSTALL = :
+PRE_INSTALL = :
+POST_INSTALL = :
+NORMAL_UNINSTALL = :
+PRE_UNINSTALL = :
+POST_UNINSTALL = :
+build_triplet = @build@
+host_triplet = @host@
+subdir = src
+DIST_COMMON = $(libXlg3dinclude_HEADERS) $(srcdir)/Makefile.am \
+ $(srcdir)/Makefile.in
+ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+am__aclocal_m4_deps = $(top_srcdir)/configure.ac
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(install_sh) -d
+CONFIG_HEADER = $(top_builddir)/config.h
+CONFIG_CLEAN_FILES =
+am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
+am__vpath_adj = case $$p in \
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
+ *) f=$$p;; \
+ esac;
+am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
+am__installdirs = "$(DESTDIR)$(libdir)" \
+ "$(DESTDIR)$(libXlg3dincludedir)"
+libLTLIBRARIES_INSTALL = $(INSTALL)
+LTLIBRARIES = $(lib_LTLIBRARIES)
+am__DEPENDENCIES_1 =
+libXlg3d_la_DEPENDENCIES = $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
+am_libXlg3d_la_OBJECTS = Xlge.lo
+libXlg3d_la_OBJECTS = $(am_libXlg3d_la_OBJECTS)
+DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
+LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
+ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
+ $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
+LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
+ $(AM_LDFLAGS) $(LDFLAGS) -o $@
+SOURCES = $(libXlg3d_la_SOURCES)
+DIST_SOURCES = $(libXlg3d_la_SOURCES)
+libXlg3dincludeHEADERS_INSTALL = $(INSTALL_HEADER)
+HEADERS = $(libXlg3dinclude_HEADERS)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ACLOCAL = @ACLOCAL@
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
+AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+AWK = @AWK@
+CC = @CC@
+CCDEPMODE = @CCDEPMODE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
+CXX = @CXX@
+CXXCPP = @CXXCPP@
+CXXDEPMODE = @CXXDEPMODE@
+CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
+ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
+F77 = @F77@
+FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
+LDFLAGS = @LDFLAGS@
+LGEXT_VERSION = @LGEXT_VERSION@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
+LIBTOOL = @LIBTOOL@
+LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
+MAKEINFO = @MAKEINFO@
+OBJEXT = @OBJEXT@
+PACKAGE = @PACKAGE@
+PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
+PACKAGE_NAME = @PACKAGE_NAME@
+PACKAGE_STRING = @PACKAGE_STRING@
+PACKAGE_TARNAME = @PACKAGE_TARNAME@
+PACKAGE_VERSION = @PACKAGE_VERSION@
+PATH_SEPARATOR = @PATH_SEPARATOR@
+PKG_CONFIG = @PKG_CONFIG@
+RANLIB = @RANLIB@
+SET_MAKE = @SET_MAKE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
+XLG3D_CFLAGS = @XLG3D_CFLAGS@
+XLG3D_LIBS = @XLG3D_LIBS@
+ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
+ac_ct_CXX = @ac_ct_CXX@
+ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+ac_pt_PKG_CONFIG = @ac_pt_PKG_CONFIG@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
+am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
+am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+am__tar = @am__tar@
+am__untar = @am__untar@
+bindir = @bindir@
+build = @build@
+build_alias = @build_alias@
+build_cpu = @build_cpu@
+build_os = @build_os@
+build_vendor = @build_vendor@
+datadir = @datadir@
+exec_prefix = @exec_prefix@
+host = @host@
+host_alias = @host_alias@
+host_cpu = @host_cpu@
+host_os = @host_os@
+host_vendor = @host_vendor@
+includedir = @includedir@
+infodir = @infodir@
+install_sh = @install_sh@
+libdir = @libdir@
+libexecdir = @libexecdir@
+localstatedir = @localstatedir@
+mandir = @mandir@
+mkdir_p = @mkdir_p@
+oldincludedir = @oldincludedir@
+prefix = @prefix@
+program_transform_name = @program_transform_name@
+sbindir = @sbindir@
+sharedstatedir = @sharedstatedir@
+sysconfdir = @sysconfdir@
+target_alias = @target_alias@
+AM_CFLAGS = $(XLG3D_CFLAGS) $(XLG3D_CFLAGS) $(X_CFLAGS) -I$(top_srcdir)/include
+lib_LTLIBRARIES = libXlg3d.la
+libXlg3d_la_SOURCES = \
+ Xlge.c
+
+libXlg3d_la_LIBADD = $(XLG3D_LIBS) $(X_LIBS) $(XLG3D_LIBS)
+libXlg3d_la_LDFLAGS = -version-number 1:0:0 -no-undefined
+libXlg3dincludedir = $(includedir)/X11/extensions
+libXlg3dinclude_HEADERS = $(top_srcdir)/include/X11/extensions/Xlge.h
+all: all-am
+
+.SUFFIXES:
+.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ *$$dep*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
+ && exit 0; \
+ exit 1;; \
+ esac; \
+ done; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/Makefile'; \
+ cd $(top_srcdir) && \
+ $(AUTOMAKE) --gnu src/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+ *config.status*) \
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
+ *) \
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
+ esac;
+
+$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
+$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+install-libLTLIBRARIES: $(lib_LTLIBRARIES)
+ @$(NORMAL_INSTALL)
+ test -z "$(libdir)" || $(mkdir_p) "$(DESTDIR)$(libdir)"
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ if test -f $$p; then \
+ f=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
+ $(LIBTOOL) --mode=install $(libLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
+ else :; fi; \
+ done
+
+uninstall-libLTLIBRARIES:
+ @$(NORMAL_UNINSTALL)
+ @set -x; list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ p=$(am__strip_dir) \
+ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$p'"; \
+ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$p"; \
+ done
+
+clean-libLTLIBRARIES:
+ -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
+ @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
+ test "$$dir" != "$$p" || dir=.; \
+ echo "rm -f \"$${dir}/so_locations\""; \
+ rm -f "$${dir}/so_locations"; \
+ done
+libXlg3d.la: $(libXlg3d_la_OBJECTS) $(libXlg3d_la_DEPENDENCIES)
+ $(LINK) -rpath $(libdir) $(libXlg3d_la_LDFLAGS) $(libXlg3d_la_OBJECTS) $(libXlg3d_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+
+distclean-compile:
+ -rm -f *.tab.c
+
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/Xlge.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c $<
+
+.c.obj:
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
+
+.c.lo:
+@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
+
+mostlyclean-libtool:
+ -rm -f *.lo
+
+clean-libtool:
+ -rm -rf .libs _libs
+
+distclean-libtool:
+ -rm -f libtool
+uninstall-info-am:
+install-libXlg3dincludeHEADERS: $(libXlg3dinclude_HEADERS)
+ @$(NORMAL_INSTALL)
+ test -z "$(libXlg3dincludedir)" || $(mkdir_p) "$(DESTDIR)$(libXlg3dincludedir)"
+ @list='$(libXlg3dinclude_HEADERS)'; for p in $$list; do \
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
+ f=$(am__strip_dir) \
+ echo " $(libXlg3dincludeHEADERS_INSTALL) '$$d$$p' '$(DESTDIR)$(libXlg3dincludedir)/$$f'"; \
+ $(libXlg3dincludeHEADERS_INSTALL) "$$d$$p" "$(DESTDIR)$(libXlg3dincludedir)/$$f"; \
+ done
+
+uninstall-libXlg3dincludeHEADERS:
+ @$(NORMAL_UNINSTALL)
+ @list='$(libXlg3dinclude_HEADERS)'; for p in $$list; do \
+ f=$(am__strip_dir) \
+ echo " rm -f '$(DESTDIR)$(libXlg3dincludedir)/$$f'"; \
+ rm -f "$(DESTDIR)$(libXlg3dincludedir)/$$f"; \
+ done
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ mkid -fID $$unique
+tags: TAGS
+
+TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
+ test -n "$$unique" || unique=$$empty_fix; \
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
+ $$tags $$unique; \
+ fi
+ctags: CTAGS
+CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
+ $(TAGS_FILES) $(LISP)
+ tags=; \
+ here=`pwd`; \
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
+ unique=`for i in $$list; do \
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
+ done | \
+ $(AWK) ' { files[$$0] = 1; } \
+ END { for (i in files) print i; }'`; \
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
+ $$tags $$unique
+
+GTAGS:
+ here=`$(am__cd) $(top_builddir) && pwd` \
+ && cd $(top_srcdir) \
+ && gtags -i $(GTAGS_ARGS) $$here
+
+distclean-tags:
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
+
+distdir: $(DISTFILES)
+ $(mkdir_p) $(distdir)/../include/X11/extensions
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
+ list='$(DISTFILES)'; for file in $$list; do \
+ case $$file in \
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
+ esac; \
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
+ dir="/$$dir"; \
+ $(mkdir_p) "$(distdir)$$dir"; \
+ else \
+ dir=''; \
+ fi; \
+ if test -d $$d/$$file; then \
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
+ fi; \
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
+ else \
+ test -f $(distdir)/$$file \
+ || cp -p $$d/$$file $(distdir)/$$file \
+ || exit 1; \
+ fi; \
+ done
+check-am: all-am
+check: check-am
+all-am: Makefile $(LTLIBRARIES) $(HEADERS)
+installdirs:
+ for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libXlg3dincludedir)"; do \
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
+ done
+install: install-am
+install-exec: install-exec-am
+install-data: install-data-am
+uninstall: uninstall-am
+
+install-am: all-am
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
+
+installcheck: installcheck-am
+install-strip:
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
+ `test -z '$(STRIP)' || \
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
+mostlyclean-generic:
+
+clean-generic:
+
+distclean-generic:
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
+
+maintainer-clean-generic:
+ @echo "This command is intended for maintainers to use"
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
+clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
+ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
+ distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+dvi-am:
+
+html: html-am
+
+info: info-am
+
+info-am:
+
+install-data-am: install-libXlg3dincludeHEADERS
+
+install-exec-am: install-libLTLIBRARIES
+
+install-info: install-info-am
+
+install-man:
+
+installcheck-am:
+
+maintainer-clean: maintainer-clean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+maintainer-clean-am: distclean-am maintainer-clean-generic
+
+mostlyclean: mostlyclean-am
+
+mostlyclean-am: mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool
+
+pdf: pdf-am
+
+pdf-am:
+
+ps: ps-am
+
+ps-am:
+
+uninstall-am: uninstall-info-am uninstall-libLTLIBRARIES \
+ uninstall-libXlg3dincludeHEADERS
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
+ clean-libLTLIBRARIES clean-libtool ctags distclean \
+ distclean-compile distclean-generic distclean-libtool \
+ distclean-tags distdir dvi dvi-am html html-am info info-am \
+ install install-am install-data install-data-am install-exec \
+ install-exec-am install-info install-info-am \
+ install-libLTLIBRARIES install-libXlg3dincludeHEADERS \
+ install-man install-strip installcheck installcheck-am \
+ installdirs maintainer-clean maintainer-clean-generic \
+ mostlyclean mostlyclean-compile mostlyclean-generic \
+ mostlyclean-libtool pdf pdf-am ps ps-am tags uninstall \
+ uninstall-am uninstall-info-am uninstall-libLTLIBRARIES \
+ uninstall-libXlg3dincludeHEADERS
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
diff --git a/src/Xlge.c b/src/Xlge.c
new file mode 100644
index 0000000..ed0eea0
--- /dev/null
+++ b/src/Xlge.c
@@ -0,0 +1,179 @@
+/************************************************************
+
+$RCSfile: Xlge.c,v $
+
+Copyright (c) 2004, Sun Microsystems, Inc.
+
+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.
+
+$Revision: 1.1.2.2.6.2.4.1 $
+$Date: 2005/12/16 18:58:14 $
+$State: Exp $
+
+********************************************************/
+
+#define NEED_EVENTS
+#define NEED_REPLIES
+#include <stdio.h>
+#include <X11/Xlibint.h>
+#include <X11/extensions/Xext.h>
+#include <X11/extensions/extutil.h>
+#include <X11/extensions/lgewire.h>
+#include <X11/extensions/Xlge.h>
+
+static XExtensionInfo *ext_info;
+static char *ext_name = LGE_NAME;
+static XExtensionHooks ext_hooks = {
+ NULL, /* create_gc */
+ NULL, /* copy_gc */
+ NULL, /* flush_gc */
+ NULL, /* free_gc */
+ NULL, /* create_font */
+ NULL, /* free_font */
+ NULL, /* close_display */
+ NULL, /* wire_to_event */
+ NULL, /* event_to_wire */
+ NULL, /* error */
+ NULL, /* error_string */
+};
+
+static
+XEXT_GENERATE_FIND_DISPLAY(find_display,
+ ext_info, ext_name, &ext_hooks,
+ 0, NULL)
+
+#define LgeCheckExtension(dpy, i, val) \
+ XextCheckExtension((dpy), (i), (ext_name), (val))
+
+#define LgeSimpleCheckExtension(dpy, i) \
+ XextSimpleCheckExtension((dpy), (i), (ext_name))
+
+/**********************************************************************/
+
+Bool
+XLgeQueryExtension (Display *dpy, int *event_basep, int *error_basep)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+
+ if (XextHasExtension(info)) {
+ *event_basep = info->codes->first_event;
+ *error_basep = info->codes->first_error;
+ return True;
+ } else {
+ return False;
+ }
+}
+
+Status
+XLgeQueryVersion (Display *dpy, int *major_versionp, int *minor_versionp, int *implementationp)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeQueryVersionReply rep;
+ xLgeQueryVersionReq *req;
+
+ LgeCheckExtension(dpy, info, 0);
+
+ LockDisplay(dpy);
+ GetReq(LgeQueryVersion, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeQueryVersion;
+ if (!_XReply(dpy, (xReply *) & rep, 0, xTrue)) {
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return 0;
+ }
+ *major_versionp = rep.majorVersion;
+ *minor_versionp = rep.minorVersion;
+ *implementationp = rep.implementation;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return 1;
+}
+
+Status
+XlgeRegisterClient (Display *dpy, int clientType)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeRegisterClientReq *req;
+
+ LockDisplay(dpy);
+ GetReq(LgeRegisterClient, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeRegisterClient;
+ req->clientType = (CARD8) clientType;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return True;
+}
+
+
+Status
+XLgeRegisterScreen (Display *dpy, Window prw)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeRegisterScreenReq *req;
+
+ LgeCheckExtension(dpy, info, 0);
+
+ LockDisplay(dpy);
+ GetReq(LgeRegisterScreen, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeRegisterScreen;
+ req->prw = prw;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return 1;
+}
+
+Status
+XlgeControlLgMode (Display *dpy, Bool enable)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeControlLgModeReq *req;
+
+ LockDisplay(dpy);
+ GetReq(LgeControlLgMode, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeControlLgMode;
+ req->enable = enable;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return True;
+}
+
+Status
+XlgeSendEvent(Display *dpy, XEvent *event)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeSendEventReq *req;
+
+ LockDisplay(dpy);
+ GetReq(LgeSendEvent, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeSendEvent;
+ _XEventToWire(dpy, event, &req->event);
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return True;
+}
+
+
+
diff --git a/src/Xlge.c~ b/src/Xlge.c~
new file mode 100644
index 0000000..a9209bf
--- /dev/null
+++ b/src/Xlge.c~
@@ -0,0 +1,179 @@
+/************************************************************
+
+$RCSfile: Xlge.c,v $
+
+Copyright (c) 2004, Sun Microsystems, Inc.
+
+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.
+
+$Revision: 1.1.2.2.6.2.4.1 $
+$Date: 2005/12/16 18:58:14 $
+$State: Exp $
+
+********************************************************/
+
+#define NEED_EVENTS
+#define NEED_REPLIES
+#include <stdio.h>
+#include <X11/Xlibint.h>
+#include <X11/extensions/Xext.h>
+#include <X11/extensions/extutil.h>
+#include <X11/extensions/lgewire.h>
+#include "Xlge.h"
+
+static XExtensionInfo *ext_info;
+static char *ext_name = LGE_NAME;
+static XExtensionHooks ext_hooks = {
+ NULL, /* create_gc */
+ NULL, /* copy_gc */
+ NULL, /* flush_gc */
+ NULL, /* free_gc */
+ NULL, /* create_font */
+ NULL, /* free_font */
+ NULL, /* close_display */
+ NULL, /* wire_to_event */
+ NULL, /* event_to_wire */
+ NULL, /* error */
+ NULL, /* error_string */
+};
+
+static
+XEXT_GENERATE_FIND_DISPLAY(find_display,
+ ext_info, ext_name, &ext_hooks,
+ 0, NULL)
+
+#define LgeCheckExtension(dpy, i, val) \
+ XextCheckExtension((dpy), (i), (ext_name), (val))
+
+#define LgeSimpleCheckExtension(dpy, i) \
+ XextSimpleCheckExtension((dpy), (i), (ext_name))
+
+/**********************************************************************/
+
+Bool
+XLgeQueryExtension (Display *dpy, int *event_basep, int *error_basep)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+
+ if (XextHasExtension(info)) {
+ *event_basep = info->codes->first_event;
+ *error_basep = info->codes->first_error;
+ return True;
+ } else {
+ return False;
+ }
+}
+
+Status
+XLgeQueryVersion (Display *dpy, int *major_versionp, int *minor_versionp, int *implementationp)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeQueryVersionReply rep;
+ xLgeQueryVersionReq *req;
+
+ LgeCheckExtension(dpy, info, 0);
+
+ LockDisplay(dpy);
+ GetReq(LgeQueryVersion, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeQueryVersion;
+ if (!_XReply(dpy, (xReply *) & rep, 0, xTrue)) {
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return 0;
+ }
+ *major_versionp = rep.majorVersion;
+ *minor_versionp = rep.minorVersion;
+ *implementationp = rep.implementation;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return 1;
+}
+
+Status
+XlgeRegisterClient (Display *dpy, int clientType)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeRegisterClientReq *req;
+
+ LockDisplay(dpy);
+ GetReq(LgeRegisterClient, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeRegisterClient;
+ req->clientType = (CARD8) clientType;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return True;
+}
+
+
+Status
+XLgeRegisterScreen (Display *dpy, Window prw)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeRegisterScreenReq *req;
+
+ LgeCheckExtension(dpy, info, 0);
+
+ LockDisplay(dpy);
+ GetReq(LgeRegisterScreen, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeRegisterScreen;
+ req->prw = prw;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return 1;
+}
+
+Status
+XlgeControlLgMode (Display *dpy, Bool enable)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeControlLgModeReq *req;
+
+ LockDisplay(dpy);
+ GetReq(LgeControlLgMode, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeControlLgMode;
+ req->enable = enable;
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return True;
+}
+
+Status
+XlgeSendEvent(Display *dpy, XEvent *event)
+{
+ XExtDisplayInfo *info = find_display(dpy);
+ xLgeSendEventReq *req;
+
+ LockDisplay(dpy);
+ GetReq(LgeSendEvent, req);
+ req->reqType = info->codes->major_opcode;
+ req->lgeReqType = X_LgeSendEvent;
+ _XEventToWire(dpy, event, &req->event);
+ UnlockDisplay(dpy);
+ SyncHandle();
+ return True;
+}
+
+
+
diff --git a/src/Xlge.lo b/src/Xlge.lo
new file mode 100644
index 0000000..ab6e5d8
--- /dev/null
+++ b/src/Xlge.lo
@@ -0,0 +1,12 @@
+# Xlge.lo - a libtool object file
+# Generated by ltmain.sh - GNU libtool 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# Name of the PIC object.
+pic_object='.libs/Xlge.o'
+
+# Name of the non-PIC object.
+non_pic_object='Xlge.o'
+
diff --git a/src/Xlge.o b/src/Xlge.o
new file mode 100644
index 0000000..e73846f
--- /dev/null
+++ b/src/Xlge.o
Binary files differ
diff --git a/src/libXlg3d.la b/src/libXlg3d.la
new file mode 100644
index 0000000..407b270
--- /dev/null
+++ b/src/libXlg3d.la
@@ -0,0 +1,35 @@
+# libXlg3d.la - a libtool library file
+# Generated by ltmain.sh - GNU libtool 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)
+#
+# Please DO NOT delete this file!
+# It is necessary for linking the library.
+
+# The name that we can dlopen(3).
+dlname='libXlg3d.1'
+
+# Names of this library.
+library_names='libXlg3d.1.0.0 libXlg3d.1 libXlg3d'
+
+# The name of the static archive.
+old_library='libXlg3d.a'
+
+# Libraries that this one depends upon.
+dependency_libs=' -L/homelocal/djlocal/xorg/gitlg/modular/lib /homelocal/djlocal/xorg/gitlg/modular/lib/libXfixes.la /homelocal/djlocal/xorg/gitlg/modular/lib/libXext.la /homelocal/djlocal/xorg/gitlg/modular/lib/libX11.la /homelocal/djlocal/xorg/gitlg/modular/lib/libXdmcp.la -ldl /homelocal/djlocal/xorg/gitlg/modular/lib/libXau.la'
+
+# Version information for libXlg3d.
+current=1
+age=0
+revision=0
+
+# Is this an already installed library?
+installed=no
+
+# Should we warn about portability when linking against -modules?
+shouldnotlink=no
+
+# Files to dlopen/dlpreopen
+dlopen=''
+dlpreopen=''
+
+# Directory that this library needs to be installed in:
+libdir='/homelocal/djlocal/xorg/gitlg/modular/lib'