From 605a76dcc93e277e1b26841a0225b7e0fb851b76 Mon Sep 17 00:00:00 2001 From: Søren Sandmann Pedersen Date: Wed, 18 May 2005 15:38:31 +0000 Subject: - conditionally include config.h in xc/lib/Xt sources - add build system for lib/Xt --- AUTHORS | 0 COPYING | 22 +++++ ChangeLog | 130 +++++++++++++++++++++++++++++ INSTALL | 229 ++++++++++++++++++++++++++++++++++++++++++++++++++++ Makefile.am | 60 ++++++++++++++ NEWS | 0 README | 0 autogen.sh | 12 +++ configure.ac | 50 ++++++++++++ include/Makefile.am | 26 ++++++ man/Makefile.am | 110 +++++++++++++++++++++++++ src/ActionHook.c | 3 + src/Alloc.c | 3 + src/ArgList.c | 3 + src/Callback.c | 3 + src/ClickTime.c | 3 + src/Composite.c | 3 + src/Constraint.c | 3 + src/Convert.c | 3 + src/Converters.c | 3 + src/Core.c | 3 + src/Create.c | 3 + src/Destroy.c | 3 + src/Display.c | 3 + src/Error.c | 3 + src/Event.c | 3 + src/EventUtil.c | 3 + src/Functions.c | 3 + src/GCManager.c | 3 + src/Geometry.c | 3 + src/GetActKey.c | 3 + src/GetResList.c | 3 + src/GetValues.c | 3 + src/HookObj.c | 3 + src/Hooks.c | 3 + src/Initialize.c | 3 + src/Intrinsic.c | 3 + src/Keyboard.c | 3 + src/Makefile.am | 85 +++++++++++++++++++ src/Manage.c | 3 + src/NextEvent.c | 3 + src/Object.c | 3 + src/PassivGrab.c | 3 + src/Pointer.c | 3 + src/Popup.c | 3 + src/PopupCB.c | 3 + src/RectObj.c | 3 + src/ResConfig.c | 3 + src/Resources.c | 3 + src/Selection.c | 3 + src/SetSens.c | 3 + src/SetValues.c | 3 + src/SetWMCW.c | 3 + src/Shell.c | 3 + src/TMaction.c | 3 + src/TMgrab.c | 3 + src/TMkey.c | 3 + src/TMparse.c | 3 + src/TMprint.c | 3 + src/TMstate.c | 3 + src/Threads.c | 3 + src/VarCreate.c | 3 + src/VarGet.c | 3 + src/Varargs.c | 3 + src/Vendor.c | 3 + src/sharedlib.c | 3 + util/Makefile.am | 9 +++ xt.pc.in | 10 +++ 68 files changed, 905 insertions(+) create mode 100644 AUTHORS create mode 100644 COPYING create mode 100644 ChangeLog create mode 100644 INSTALL create mode 100644 Makefile.am create mode 100644 NEWS create mode 100644 README create mode 100755 autogen.sh create mode 100644 configure.ac create mode 100644 include/Makefile.am create mode 100644 man/Makefile.am create mode 100644 src/Makefile.am create mode 100644 util/Makefile.am create mode 100644 xt.pc.in diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..e69de29 diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..4ee13ed --- /dev/null +++ b/COPYING @@ -0,0 +1,22 @@ +$Id$ + +Copyright © 2001,2003 Keith Packard + +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, and that the name of Keith Packard not be used in +advertising or publicity pertaining to distribution of the software without +specific, written prior permission. Keith Packard makes no +representations about the suitability of this software for any purpose. It +is provided "as is" without express or implied warranty. + +KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +EVENT SHALL KEITH 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..eabcbd4 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,130 @@ +2005-01-29 Daniel Stone + + * Composite.c: + * Converters.c: + * Xtos.h: + * include/X11/Composite.h: + Resync with X.Org HEAD (all minor fixes). + +2005-01-19 Daniel Stone + + * configure.ac: + Remove AC_CONFIG_AUX_DIR. + +2004-09-19 Carlos Romero + + * man/Makefile.am: + Include man pages in EXTRA_DIST. + +2004-07-07 Daniel Stone + + * util/Makefile.am: + Enable proper cross-compile-aware building of makestrs, and fix up + (hopefully) the *.ht mess. + +2004-07-01 Daniel Stone + + * configure.ac: + * Makefile.am: + * man/Makefile.am: + Import manpages from X11R6.7 (doc/man/Xt). + +2004-06-04 Daniel Stone + + * util/Makefile.am: + s/X_CFLAGS/XT_CFLAGS/, so this thing can actually compile OK. + +2004-05-10 Eric Anholt + + * Makefile.am: + * configure.ac: + * xt.pc.in: + Don't bother supporting X11 without .pc file. + +2004-04-13 Daniel Stone + + * Alloc.c: + * Initialize.c: + * Vendor.c: + Miscellaneous cleanups and fixes from X11R6.7, including a few Cygwin + fixes. + + * Xtos.h: + Merge from X11R6.7 - fix AMD64 support. Why this file even exists is + beyond me. + + * Bump version to 0.1.5 for xlibs 1.0.1. + +2004-03-17 Carlos Romero + + (Commit sponsored by Daniel Stone.) + * Makefile.am: + * include/Makefile.am: + * util/Makefile.am: + Various cleanups to Makefile.ams - whitespace and syntax-related. + +2004-03-05 Stuart Anderson + + * Makefile.am: + Bug #215 - Also shows up when building on clean system with no X installed. + Install Shell.h into include/X11 so it can be found + Adjusted BUILT_SOURCES and CLEANFILES to match + xtinclude_HEADERS was missing + * ObjectP.h: + Move to include/X11 so it can be found by #includes + +2004-02-21 Daniel Stone + + * Makefile.am: + * configure.ac: + * xt.pc.in: + Link with libSM. + +2004-01-17 Daniel Stone + * Tag release 0.1.4 for first freedesktop.org clientside lib release. + +2004-01-16 Eric Anholt + + * Makefile.am: + * include/Makefile.am: + * util/Makefile.am: + Fix so that "make dist" produces a buildable distribution. + Install StringDefs.h, which XFree86 installs. + Build makestrs with X_CFLAGS, since it references an X header. + Ignore a harmless error from install when srcdir == builddir. + +2003-12-23 Jeremy C. Reed + + * Converters.c: + Use WhitePixel/BlackPixel only in default colormap + + * .cvsignore: + * COPYING: + * INSTALL: + * Makefile.am: + * autogen.sh: + * configure.ac: + * include/.cvsignore: + * include/Makefile.am: + * util/.cvsignore: + * util/Makefile.am: + * xt.pc.in: + autofoo + + * util/makestrs.c: (WriteHeaderProlog), (IntelABIWriteHeader), + (SPARCABIWriteHeader), (FunctionWriteHeader), + (ArrayperWriteHeader), (DefaultWriteHeader), (CopyTmplProlog), + (CopyTmplEpilog), (WriteHeader), (WriteSourceLine), + (IntelABIWriteSource), (IntelABIBCWriteSource), + (FunctionWriteSource), (ArrayperWriteSource), (DefaultWriteSource), + (WriteSource), (DoLine), (IntelABIIndexEntries), + (DefaultIndexEntries), (IndexEntries), (DoComment), (main): + Copy makestrs.c back to here to avoid external dependency. diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..54caf7c --- /dev/null +++ b/INSTALL @@ -0,0 +1,229 @@ +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software +Foundation, Inc. + + This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You only need +`configure.ac' if you want to change it or regenerate `configure' using +a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not support the `VPATH' +variable, you have to compile the package for one architecture at a +time in the source code directory. After you have installed the +package for one architecture, use `make distclean' before reconfiguring +for another architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, `configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the `--target=TYPE' option to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +will cause the specified gcc to be used as the C compiler (unless it is +overridden in the site shell script). + +`configure' Invocation +====================== + + `configure' recognizes the following options to control how it +operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..9d87739 --- /dev/null +++ b/Makefile.am @@ -0,0 +1,60 @@ +# +# $Id$ +# +# Copyright © 2003 Keith Packard, Noah Levitt +# +# 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, and that the name of Keith Packard not be used in +# advertising or publicity pertaining to distribution of the software without +# specific, written prior permission. Keith Packard makes no +# representations about the suitability of this software for any purpose. It +# is provided "as is" without express or implied warranty. +# +# KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +# EVENT SHALL KEITH 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. + +SUBDIRS = util . src include man + +AM_CFLAGS = $(XT_CFLAGS) -I$(top_srcdir)/include -I$(top_srcdir)/include/X11 + + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = xt.pc + +EXTRA_DIST = xt.pc.in autogen.sh + +# +# The util directory contains a program that builds some of the sources. +# The input to this program is given in files. Unfortunately those input +# files refers to things like +# +# util/foo +# +# so the generating program must be run from this directory. We can't run +# the program before it has been compiled, so the SUBDIRS order must be +# +# util . src include man +# + +BUILT_FILES = $(top_builddir)/src/StringDefs.c $(top_builddir)/include/X11/StringDefs.h $(top_builddir)/include/X11/Shell.h + +STRING_LIST = $(top_srcdir)/util/string.list + +all-local: $(BUILT_FILES) + +$(BUILT_FILES): + $(top_builddir)/util/makestrs $(STRINGSABIOPTIONS) < $(STRING_LIST) > StringDefs.c + install StringDefs.c $(top_builddir)/src + install $(top_builddir)/StringDefs.h $(top_builddir)/include/X11/ + install $(top_builddir)/Shell.h $(top_builddir)/include/X11/ + install -m644 $(top_builddir)/StringDefs.h $(top_builddir)/include/X11/ + install -m644 $(top_builddir)/Shell.h $(top_builddir)/include/X11/ + diff --git a/NEWS b/NEWS new file mode 100644 index 0000000..e69de29 diff --git a/README b/README new file mode 100644 index 0000000..e69de29 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..84b43e1 --- /dev/null +++ b/configure.ac @@ -0,0 +1,50 @@ +dnl +dnl $Id$ +dnl +dnl Copyright © 2003 Keith Packard, Noah Levitt +dnl +dnl Permission to use, copy, modify, distribute, and sell this software and its +dnl documentation for any purpose is hereby granted without fee, provided that +dnl the above copyright notice appear in all copies and that both that +dnl copyright notice and this permission notice appear in supporting +dnl documentation, and that the name of Keith Packard not be used in +dnl advertising or publicity pertaining to distribution of the software without +dnl specific, written prior permission. Keith Packard makes no +dnl representations about the suitability of this software for any purpose. It +dnl is provided "as is" without express or implied warranty. +dnl +dnl KEITH PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO +dnl EVENT SHALL KEITH PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR +dnl CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, +dnl DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER +dnl TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +dnl PERFORMANCE OF THIS SOFTWARE. +dnl +dnl Process this file with autoconf to create configure. + +AC_PREREQ([2.57]) + +dnl +dnl +AC_INIT(libXt, 0.1.5, [keithp@keithp.com], libXt) +AM_INIT_AUTOMAKE([dist-bzip2]) +AM_MAINTAINER_MODE + +AM_CONFIG_HEADER(config.h) + +# Check for progs +AC_PROG_CC +AC_PROG_LIBTOOL + +PKG_CHECK_MODULES(XT, sm x11 xproto) + +# Check render configuration, strip extra digits from package version to +# find the required protocol version + +AC_OUTPUT([Makefile + src/Makefile + util/Makefile + include/Makefile + man/Makefile + xt.pc]) diff --git a/include/Makefile.am b/include/Makefile.am new file mode 100644 index 0000000..0fafe75 --- /dev/null +++ b/include/Makefile.am @@ -0,0 +1,26 @@ +xtincludedir = ${includedir}/X11 + +xtinclude_HEADERS = \ + X11/Composite.h \ + X11/CompositeP.h \ + X11/ConstrainP.h \ + X11/Constraint.h \ + X11/Core.h \ + X11/CoreP.h \ + X11/Intrinsic.h \ + X11/IntrinsicP.h \ + X11/Object.h \ + X11/ObjectP.h \ + X11/RectObj.h \ + X11/RectObjP.h \ + X11/ShellP.h \ + X11/Vendor.h \ + X11/VendorP.h + +nodist_xtinclude_HEADERS = \ + X11/StringDefs.h \ + X11/Shell.h + +DISTCLEANFILES = \ + X11/StringDefs.h \ + X11/Shell.h diff --git a/man/Makefile.am b/man/Makefile.am new file mode 100644 index 0000000..e5a0cc2 --- /dev/null +++ b/man/Makefile.am @@ -0,0 +1,110 @@ +man_MANS = \ + XtActHook.3 \ + XtAddAct.3 \ + XtAddCbk.3 \ + XtAddEHand.3 \ + XtAddETReg.3 \ + XtAddGrab.3 \ + XtAddIn.3 \ + XtAllocGC.3 \ + XtAppAAct.3 \ + XtAppAC.3 \ + XtAppAI.3 \ + XtAppASig.3 \ + XtAppATO.3 \ + XtAppAWP.3 \ + XtAppCSh.3 \ + XtAppE.3 \ + XtAppEM.3 \ + XtAppGEDB.3 \ + XtAppGSTO.3 \ + XtAppInit.3 \ + XtAppLock.3 \ + XtAppNEv.3 \ + XtAppRCR.3 \ + XtAppSEF.3 \ + XtAppSTC.3 \ + XtAppSetFR.3 \ + XtBEMask.3 \ + XtBlockH.3 \ + XtCallAFoc.3 \ + XtCallActP.3 \ + XtCallCbks.3 \ + XtClass.3 \ + XtClickT.3 \ + XtConfWid.3 \ + XtConvSt.3 \ + XtConvert.3 \ + XtCreACon.3 \ + XtCreASh.3 \ + XtCrePSh.3 \ + XtCreWid.3 \ + XtCreWin.3 \ + XtCreateSR.3 \ + XtDStrCW.3 \ + XtDisACon.3 \ + XtDisplay.3 \ + XtDisplayI.3 \ + XtErr.3 \ + XtErrM.3 \ + XtExtEvDis.3 \ + XtFindF.3 \ + XtGEDB.3 \ + XtGetANC.3 \ + XtGetActK.3 \ + XtGetActL.3 \ + XtGetAres.3 \ + XtGetClExt.3 \ + XtGetDisp.3 \ + XtGetGC.3 \ + XtGetKFoc.3 \ + XtGetRList.3 \ + XtGetSP.3 \ + XtGetSR.3 \ + XtGetSTO.3 \ + XtGetSVal.3 \ + XtGetSValI.3 \ + XtGetSres.3 \ + XtGrabKey.3 \ + XtHookOD.3 \ + XtInit.3 \ + XtInitWC.3 \ + XtKeysym.3 \ + XtLastProc.3 \ + XtMakGReq.3 \ + XtMalloc.3 \ + XtManChild.3 \ + XtMapWid.3 \ + XtName.3 \ + XtNameTWid.3 \ + XtNextEv.3 \ + XtOffset.3 \ + XtOpenApp.3 \ + XtOwnSel.3 \ + XtParATab.3 \ + XtParTTab.3 \ + XtParent.3 \ + XtPopdown.3 \ + XtPopup.3 \ + XtProcLock.3 \ + XtQueryGeo.3 \ + XtRealize.3 \ + XtRegDraw.3 \ + XtRegGA.3 \ + XtResPA.3 \ + XtResPath.3 \ + XtSession.3 \ + XtSetArg.3 \ + XtSetKFoc.3 \ + XtSetKTr.3 \ + XtSetLangP.3 \ + XtSetSP.3 \ + XtSetSens.3 \ + XtSetVal.3 \ + XtSetWMC.3 \ + XtStrCW.3 \ + XtThreadI.3 \ + XtTransC.3 \ + XtVaCrArgL.3 + +EXTRA_DIST=$(man_MANS) diff --git a/src/ActionHook.c b/src/ActionHook.c index 2845fed..6c2fe2b 100644 --- a/src/ActionHook.c +++ b/src/ActionHook.c @@ -66,6 +66,9 @@ in this Software without prior written authorization from The Open Group. * Contains XtAppAddActionHook, XtRemoveActionHook */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" diff --git a/src/Alloc.c b/src/Alloc.c index ebcfdb7..1312db2 100644 --- a/src/Alloc.c +++ b/src/Alloc.c @@ -66,6 +66,9 @@ in this Software without prior written authorization from The Open Group. * Uses Xlib memory management, which is spec'd to be re-entrant. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "InitialI.h" #undef _XBCOPYFUNC diff --git a/src/ArgList.c b/src/ArgList.c index f893b9d..622f313 100644 --- a/src/ArgList.c +++ b/src/ArgList.c @@ -47,6 +47,9 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include diff --git a/src/Callback.c b/src/Callback.c index d84c115..03aae52 100644 --- a/src/Callback.c +++ b/src/Callback.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Callback.c,v 1.8 2001/12/14 19:56:08 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" static String XtNinvalidCallbackList = "invalidCallbackList"; diff --git a/src/ClickTime.c b/src/ClickTime.c index 9472330..bfebd42 100644 --- a/src/ClickTime.c +++ b/src/ClickTime.c @@ -63,6 +63,9 @@ in this Software without prior written authorization from The Open Group. * Contains XtSetMultiClickTime, XtGetMultiClickTime */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" void XtSetMultiClickTime( diff --git a/src/Composite.c b/src/Composite.c index 0b48e51..7a90975 100644 --- a/src/Composite.c +++ b/src/Composite.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/lib/Xt/Composite.c,v 1.5 2001/08/22 22:52:17 dawes Exp $ */ #define XT_COMPOSITE +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" diff --git a/src/Constraint.c b/src/Constraint.c index e8ef7f3..dd9b523 100644 --- a/src/Constraint.c +++ b/src/Constraint.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/lib/Xt/Constraint.c,v 1.2 2001/08/22 22:52:17 dawes Exp $ */ #define CONSTRAINT +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" diff --git a/src/Convert.c b/src/Convert.c index 136e7e9..c3bb3c6 100644 --- a/src/Convert.c +++ b/src/Convert.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "Intrinsic.h" diff --git a/src/Converters.c b/src/Converters.c index a3c41a4..acb572e 100644 --- a/src/Converters.c +++ b/src/Converters.c @@ -63,6 +63,9 @@ in this Software without prior written authorization from The Open Group. /*LINTLIBRARY*/ /* Conversion.c - implementations of resource type conversion procs */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "Shell.h" diff --git a/src/Core.c b/src/Core.c index 990a683..d30b493 100644 --- a/src/Core.c +++ b/src/Core.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. #define _XT_CORE_C +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicP.h" #include "EventI.h" #include "ConvertI.h" diff --git a/src/Create.c b/src/Create.c index 19236d4..d3417a1 100644 --- a/src/Create.c +++ b/src/Create.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "VarargsI.h" #include "ShellP.h" diff --git a/src/Destroy.c b/src/Destroy.c index 53aae31..60f1b27 100644 --- a/src/Destroy.c +++ b/src/Destroy.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Destroy.c,v 1.2 2001/08/22 22:52:18 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" struct _DestroyRec { diff --git a/src/Display.c b/src/Display.c index 13151f1..2812aa8 100644 --- a/src/Display.c +++ b/src/Display.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #ifndef X_NO_RESOURCE_CONFIGURATION_MANAGEMENT #include "ResConfigP.h" diff --git a/src/Error.c b/src/Error.c index 18c9e25..b1badc9 100644 --- a/src/Error.c +++ b/src/Error.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include #include diff --git a/src/Event.c b/src/Event.c index 8992f10..1d564f9 100644 --- a/src/Event.c +++ b/src/Event.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Event.c,v 3.10 2001/12/14 19:56:11 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "Shell.h" #include "StringDefs.h" diff --git a/src/EventUtil.c b/src/EventUtil.c index e38c904..929d83d 100644 --- a/src/EventUtil.c +++ b/src/EventUtil.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/EventUtil.c,v 1.6 2001/12/14 19:56:13 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "PassivGraI.h" #include "StringDefs.h" diff --git a/src/Functions.c b/src/Functions.c index f6cf87e..074a60f 100644 --- a/src/Functions.c +++ b/src/Functions.c @@ -49,6 +49,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include #include diff --git a/src/GCManager.c b/src/GCManager.c index 127d8df..c09cb22 100644 --- a/src/GCManager.c +++ b/src/GCManager.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/GCManager.c,v 1.5 2001/08/22 22:52:18 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" diff --git a/src/Geometry.c b/src/Geometry.c index 2c1cca2..b183bfd 100644 --- a/src/Geometry.c +++ b/src/Geometry.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Geometry.c,v 1.12 2001/12/14 19:56:15 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "ShellP.h" #include "ShellI.h" diff --git a/src/GetActKey.c b/src/GetActKey.c index efa8cde..20cae5e 100644 --- a/src/GetActKey.c +++ b/src/GetActKey.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" KeySym XtGetActionKeysym( diff --git a/src/GetResList.c b/src/GetResList.c index 4c1ec6f..8f99398 100644 --- a/src/GetResList.c +++ b/src/GetResList.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "Intrinsic.h" diff --git a/src/GetValues.c b/src/GetValues.c index 73ab7b1..f6b8e1f 100644 --- a/src/GetValues.c +++ b/src/GetValues.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/GetValues.c,v 1.2 2001/08/22 22:52:18 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" diff --git a/src/HookObj.c b/src/HookObj.c index 98417f9..f4ac749 100644 --- a/src/HookObj.c +++ b/src/HookObj.c @@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/HookObj.c,v 1.2 2001/08/22 22:52:18 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" /****************************************************************** diff --git a/src/Hooks.c b/src/Hooks.c index 5c113e1..05b67ce 100644 --- a/src/Hooks.c +++ b/src/Hooks.c @@ -29,6 +29,9 @@ in this Software without prior written authorization from The Open Group. /*LINTLIBRARY*/ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "CreateI.h" diff --git a/src/Initialize.c b/src/Initialize.c index 83dc7e3..bbc84b9 100644 --- a/src/Initialize.c +++ b/src/Initialize.c @@ -62,6 +62,9 @@ in this Software without prior written authorization from The Open Group. /* Make sure all wm properties can make it out of the resource manager */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "CoreP.h" diff --git a/src/Intrinsic.c b/src/Intrinsic.c index 263c546..3e6af47 100644 --- a/src/Intrinsic.c +++ b/src/Intrinsic.c @@ -62,6 +62,9 @@ in this Software without prior written authorization from The Open Group. #define INTRINSIC_C +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "VarargsI.h" /* for geoTattler */ #ifndef NO_IDENTIFY_WINDOWS diff --git a/src/Keyboard.c b/src/Keyboard.c index 0d81e89..82bcc24 100644 --- a/src/Keyboard.c +++ b/src/Keyboard.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Keyboard.c,v 3.3 2001/08/22 22:52:19 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "PassivGraI.h" diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..7f25d75 --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,85 @@ +lib_LTLIBRARIES = libXt.la + +BUILT_SOURCES = $(BUILT_FILES) +CLEANFILES = $(BUILT_SOURCES) + +INCLUDES = -I$(top_srcdir)/include/X11/ + +nodist_libXt_la_SOURCES = StringDefs.c + +libXt_la_SOURCES = \ + ActionHook.c \ + Alloc.c \ + ArgList.c \ + Callback.c \ + CallbackI.h \ + ClickTime.c \ + Composite.c \ + Constraint.c \ + Convert.c \ + ConvertI.h \ + Converters.c \ + Core.c \ + Create.c \ + CreateI.h \ + Destroy.c \ + Display.c \ + Error.c \ + Event.c \ + EventI.h \ + EventUtil.c \ + Functions.c \ + GCManager.c \ + Geometry.c \ + GetActKey.c \ + GetResList.c \ + GetValues.c \ + HookObj.c \ + HookObjI.h \ + Hooks.c \ + InitialI.h \ + Initialize.c \ + Intrinsic.c \ + IntrinsicI.h \ + Keyboard.c \ + Manage.c \ + NextEvent.c \ + Object.c \ + PassivGraI.h \ + PassivGrab.c \ + Pointer.c \ + Popup.c \ + PopupCB.c \ + RectObj.c \ + ResConfig.c \ + ResConfigP.h \ + ResourceI.h \ + Resources.c \ + Selection.c \ + SelectionI.h \ + SetSens.c \ + SetValues.c \ + SetWMCW.c \ + Shell.c \ + ShellI.h \ + TMaction.c \ + TMgrab.c \ + TMkey.c \ + TMparse.c \ + TMprint.c \ + TMstate.c \ + Threads.c \ + ThreadsI.h \ + TranslateI.h \ + VarCreate.c \ + VarGet.c \ + Varargs.c \ + VarargsI.h \ + Vendor.c \ + Xtos.h \ + sharedlib.c + +libXt_la_LIBADD = @XT_LIBS@ + +libXt_la_LDFLAGS = -version-info 6:1:0 + diff --git a/src/Manage.c b/src/Manage.c index 65a1477..05957a2 100644 --- a/src/Manage.c +++ b/src/Manage.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" static String XtNinvalidChild = "invalidChild"; diff --git a/src/NextEvent.c b/src/NextEvent.c index 86f4204..0df3a5a 100644 --- a/src/NextEvent.c +++ b/src/NextEvent.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/NextEvent.c,v 3.26 2002/06/04 21:55:42 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include #include diff --git a/src/Object.c b/src/Object.c index c048060..f762a25 100644 --- a/src/Object.c +++ b/src/Object.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/lib/Xt/Object.c,v 1.5 2001/01/17 19:43:06 dawes Exp $ */ #define OBJECT +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" diff --git a/src/PassivGrab.c b/src/PassivGrab.c index 86398cb..377efdc 100644 --- a/src/PassivGrab.c +++ b/src/PassivGrab.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "PassivGraI.h" diff --git a/src/Pointer.c b/src/Pointer.c index 1922951..bbcb133 100644 --- a/src/Pointer.c +++ b/src/Pointer.c @@ -50,6 +50,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "PassivGraI.h" diff --git a/src/Popup.c b/src/Popup.c index d7bd94f..aac712d 100644 --- a/src/Popup.c +++ b/src/Popup.c @@ -48,6 +48,9 @@ SOFTWARE. ******************************************************************/ /* $XFree86$ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "ShellP.h" diff --git a/src/PopupCB.c b/src/PopupCB.c index eca2352..be5fd85 100644 --- a/src/PopupCB.c +++ b/src/PopupCB.c @@ -47,6 +47,9 @@ SOFTWARE. ******************************************************************/ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" /* ARGSUSED */ diff --git a/src/RectObj.c b/src/RectObj.c index df313d0..07bbd1f 100644 --- a/src/RectObj.c +++ b/src/RectObj.c @@ -49,6 +49,9 @@ SOFTWARE. /* $XFree86: xc/lib/Xt/RectObj.c,v 1.2 2001/08/22 22:52:19 dawes Exp $ */ #define RECTOBJ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "CreateI.h" diff --git a/src/ResConfig.c b/src/ResConfig.c index 7182e64..4c2e736 100644 --- a/src/ResConfig.c +++ b/src/ResConfig.c @@ -54,6 +54,9 @@ Corporation. ******************************************************************/ /* $XFree86: xc/lib/Xt/ResConfig.c,v 3.7 2001/08/22 22:52:19 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "Intrinsic.h" #include "IntrinsicI.h" #include "Core.h" diff --git a/src/Resources.c b/src/Resources.c index 9b826d5..7da7d90 100644 --- a/src/Resources.c +++ b/src/Resources.c @@ -62,6 +62,9 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/lib/Xt/Resources.c,v 1.11tsi Exp $ */ /*LINTLIBRARY*/ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "VarargsI.h" #include "Shell.h" diff --git a/src/Selection.c b/src/Selection.c index 1f41d2f..46c75f8 100644 --- a/src/Selection.c +++ b/src/Selection.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Selection.c,v 3.9 2001/12/14 19:56:29 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "SelectionI.h" diff --git a/src/SetSens.c b/src/SetSens.c index 23dd0d4..ad2b6f4 100644 --- a/src/SetSens.c +++ b/src/SetSens.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/SetSens.c,v 1.3 2001/12/14 19:56:29 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" diff --git a/src/SetValues.c b/src/SetValues.c index 32bb90a..d9e8a46 100644 --- a/src/SetValues.c +++ b/src/SetValues.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/SetValues.c,v 1.2 2001/08/22 22:52:19 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" /* diff --git a/src/SetWMCW.c b/src/SetWMCW.c index 44b0103..d6d1858 100644 --- a/src/SetWMCW.c +++ b/src/SetWMCW.c @@ -41,6 +41,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include diff --git a/src/Shell.c b/src/Shell.c index 12762d6..b3e57b8 100644 --- a/src/Shell.c +++ b/src/Shell.c @@ -66,6 +66,9 @@ in this Software without prior written authorization from The Open Group. #define DEFAULT_WM_TIMEOUT 5000 #endif +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "Shell.h" diff --git a/src/TMaction.c b/src/TMaction.c index 68ca9c2..54a8402 100644 --- a/src/TMaction.c +++ b/src/TMaction.c @@ -65,6 +65,9 @@ in this Software without prior written authorization from The Open Group. * manager. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" diff --git a/src/TMgrab.c b/src/TMgrab.c index 601e0bb..9fc4df9 100644 --- a/src/TMgrab.c +++ b/src/TMgrab.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/lib/Xt/TMgrab.c,v 1.3 2001/12/14 19:56:30 dawes Exp $ */ /*LINTLIBRARY*/ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" typedef struct _GrabActionRec { diff --git a/src/TMkey.c b/src/TMkey.c index 7218c56..4194445 100644 --- a/src/TMkey.c +++ b/src/TMkey.c @@ -67,6 +67,9 @@ in this Software without prior written authorization from The Open Group. #define XK_LATIN3 #define XK_LATIN4 +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include #ifdef XKB diff --git a/src/TMparse.c b/src/TMparse.c index 5aed5c4..25522fb 100644 --- a/src/TMparse.c +++ b/src/TMparse.c @@ -60,6 +60,9 @@ in this Software without prior written authorization from The Open Group. */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include diff --git a/src/TMprint.c b/src/TMprint.c index ef1b763..7b7bde2 100644 --- a/src/TMprint.c +++ b/src/TMprint.c @@ -61,6 +61,9 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/lib/Xt/TMprint.c,v 1.6 2001/12/14 19:56:31 dawes Exp $ */ /*LINTLIBRARY*/ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include diff --git a/src/TMstate.c b/src/TMstate.c index e0ca38d..6049474 100644 --- a/src/TMstate.c +++ b/src/TMstate.c @@ -65,6 +65,9 @@ in this Software without prior written authorization from The Open Group. */ /*LINTLIBRARY*/ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #ifndef TM_NO_MATCH diff --git a/src/Threads.c b/src/Threads.c index 09af93d..aad17ca 100644 --- a/src/Threads.c +++ b/src/Threads.c @@ -55,6 +55,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Threads.c,v 3.6 2001/12/14 19:56:31 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #ifdef XTHREADS diff --git a/src/VarCreate.c b/src/VarCreate.c index ddff0f0..b3761e8 100644 --- a/src/VarCreate.c +++ b/src/VarCreate.c @@ -54,6 +54,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/VarCreate.c,v 3.6 2001/08/22 22:52:20 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "Shell.h" diff --git a/src/VarGet.c b/src/VarGet.c index 37db500..cdb425a 100644 --- a/src/VarGet.c +++ b/src/VarGet.c @@ -53,6 +53,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/VarGet.c,v 1.7 2001/07/29 05:01:12 tsi Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "VarargsI.h" #include "StringDefs.h" diff --git a/src/Varargs.c b/src/Varargs.c index 270391d..37d3c64 100644 --- a/src/Varargs.c +++ b/src/Varargs.c @@ -27,6 +27,9 @@ in this Software without prior written authorization from The Open Group. */ /* $XFree86: xc/lib/Xt/Varargs.c,v 3.10 2001/12/14 19:56:32 dawes Exp $ */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "VarargsI.h" #include "StringDefs.h" diff --git a/src/Vendor.c b/src/Vendor.c index aa2e7a6..42c289c 100644 --- a/src/Vendor.c +++ b/src/Vendor.c @@ -50,6 +50,9 @@ SOFTWARE. /* Make sure all wm properties can make it out of the resource manager */ +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "StringDefs.h" #include "Shell.h" diff --git a/src/sharedlib.c b/src/sharedlib.c index a3dc6a7..699302c 100644 --- a/src/sharedlib.c +++ b/src/sharedlib.c @@ -28,6 +28,9 @@ in this Software without prior written authorization from The Open Group. /* $XFree86: xc/lib/Xt/sharedlib.c,v 3.7 2002/05/31 18:45:46 dawes Exp $ */ #if (defined(SUNSHLIB) || defined(AIXSHLIB)) && !defined(SHAREDCODE) +#ifdef HAVE_CONFIG_H +#include +#endif #include "IntrinsicI.h" #include "VarargsI.h" #include "ShellP.h" diff --git a/util/Makefile.am b/util/Makefile.am new file mode 100644 index 0000000..d3f6ecf --- /dev/null +++ b/util/Makefile.am @@ -0,0 +1,9 @@ +noinst_PROGRAMS = makestrs + +EXTRA_DIST = \ + Shell.ht \ + StrDefs.ct \ + StrDefs.ht \ + string.list + +makestrs_CFLAGS = $(XT_CFLAGS) diff --git a/xt.pc.in b/xt.pc.in new file mode 100644 index 0000000..e969d67 --- /dev/null +++ b/xt.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Xt +Description: X Toolkit Library +Version: @VERSION@ +Cflags: -I${includedir} @XT_CFLAGS@ +Libs: -L${libdir} -lXt @XT_LIBS@ -- cgit v1.2.3