diff options
author | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-05-15 21:16:24 +0000 |
---|---|---|
committer | Alan Coopersmith <Alan.Coopersmith@sun.com> | 2005-05-15 21:16:24 +0000 |
commit | b0e61cfcfbb56696597eb65511c74ad901d62b58 (patch) | |
tree | 85f45e3b280d40dd42cf3ffe8a2460ec4ed104c7 | |
parent | dabc4c7abcba043e206745bdb101aafb48c00c71 (diff) |
Initial attempt at autotooling/modular conversion of makedepend
-rw-r--r-- | AUTHORS | 19 | ||||
-rw-r--r-- | COPYING | 51 | ||||
-rw-r--r-- | ChangeLog | 149 | ||||
-rw-r--r-- | Makefile.am | 9 | ||||
-rwxr-xr-x | autogen.sh | 14 | ||||
-rw-r--r-- | configure.ac | 19 |
6 files changed, 261 insertions, 0 deletions
@@ -0,0 +1,19 @@ +[List assembled from incomplete history information. Please send updates + to xorg@lists.freedesktop.org if we've missed any contributors.] + +Original author: + Todd Brunhoff, Tektronix, Inc. and MIT Project Athena + +ifparser author: + Jim Fulton, Network Computing Devices, Inc. + +Additional contributors: + David Dawes + Egbert Eich + Alexander Gottwald + Harold L Hunt II + Mark La France + Mark Snitily + Alexander Stohr + +$XdotOrg: $ÿÿÿÿÿÿÿÿ
\ No newline at end of file @@ -0,0 +1,51 @@ +Most of the source is covered by this copyright notice & license: + +Copyright (c) 1993, 1994, 1998 The Open Group + +Permission to use, copy, modify, distribute, and sell this software and its +documentation for any purpose is hereby granted without fee, provided that +the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation. + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +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. + +------------------------------------------------------------------------------ + +ifparser.c & ifparser.h are covered by this copyright notice & license: + +Copyright 1992 Network Computing Devices, Inc. + +Permission to use, copy, modify, and distribute this software and its +documentation for any purpose and without fee is hereby granted, provided +that the above copyright notice appear in all copies and that both that +copyright notice and this permission notice appear in supporting +documentation, and that the name of Network Computing Devices may not be +used in advertising or publicity pertaining to distribution of the software +without specific, written prior permission. Network Computing Devices makes +no representations about the suitability of this software for any purpose. +It is provided ``as is'' without express or implied warranty. + +NETWORK COMPUTING DEVICES DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS +SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, +IN NO EVENT SHALL NETWORK COMPUTING DEVICES 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. + +------------------------------------------------------------------------------ + +[$XdotOrg: $]
\ No newline at end of file diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..2a45c98 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,149 @@ +ChangeLog for X.Org 7.0 modular release: + +2005-05-15 Alan Coopersmith <alan.coopersmith@sun.com> + + * AUTHORS + * COPYING + * ChangeLog + Created from licenses in existing files and history in X.Org & XFree86 + changelogs and CVS. + * Makefile.am + * autogen.sh + * configure.ac + Initial attempt at autotooling. + +ChangeLog history excerpts from Xorg monolithic tree for releases 6.7 -> 6.9: + +2005-05-15 Alan Coopersmith <alan.coopersmith@sun.com> + + * config/makedepend/main.c: + * config/util/makestrs.c: + [Modularization/autotooling project] + Add support for building with autoconf #ifdefs if present. + #include "makedepend-config.h" if HAVE_CONFIG_H is defined. + +2005-03-02 Roland Mainz <roland.mainz@nrubsig.org> + * xc/config/imake/imakemdep.h + Bugzilla #1712 (https://bugs.freedesktop.org/show_bug.cgi?id=1712) + attachment #2004 (https://bugs.freedesktop.org/attachment.cgi?id=2004): + Add support for DragonFly/BSD platform. + Patch by Jeroen Ruigrok <asmodai@tendra.org> and Mike Verona + <firedragonfly@gmail.com>. + +2005-01-19 Alan Coopersmith <alan.coopersmith@sun.com> + + * xc/config/imake/imakemdep.h: + Pass through additional #defines for Solaris. + (Sun bug id #5097074 - Alan Coopersmith) + +2004-11-15 Alexander Gottwald <ago at freedesktop dot org> + Bugzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 + Added mingw (Win32) port + +2004-10-19 Egbert Eich <eich-at-freedesktop-dot-org> + * config/imake/imakemdep.h: + Enabling modules and DRI for Linux HPPA. + +2004-10-18 Egbert Eich <eich-at-freedesktop-dot-xorg> + * config/imake/imakemdep.h: + powerpc/powerpc64 build fixes. + +2004-08-11 Kevin E. Martin <kem-at-freedesktop-dot-org> + * config/imake/imakemdep.h: + Apply PPC64 build patch (Bug #303, Mike A. Harris, Alan + Coopersmith). + +2004-05-06 Egbert Eich <eich-at-pdx-freedesktop-org> + * config/imake/imakemdep.h: + BugZilla #601: + Fixing makedepend choking on floating point exception because + CHAR_BIT is defined to __CHAR_BIT__ which is a compiler intrinsic + define. + + +ChangeLog history excerpts from XFree86 Project releases up to 4.4RC2: + +XFree86 4.3.99.6 (10 June 2003): + 191. Fix makedepend for IRIX 6.5 (Marc La France). + +XFree86 4.2.99.4 (20 January 2003): + 739. Change makedepend to warn about any whitespace it finds in front of + pre-processor directives (Marc La France). + 728. Allow makedepend handle whitespace in front of the '#' in preprocessor + directives (ISO C permits this) (#A.1516, Alexander Stohr). + +XFree86 4.2.99.3 (21 December 2002) + 634. Add support for a "-include" command line option to makedepend, similar + to the same GNU C option (#A.1396, Alexander Stohr). + +XFree86 4.2.99.2 (21 October 2002) + 340. Change makedepend to recognise invocations of parameter'ed macros + (Marc La France). + +XFree86 4.2.99.1 (7 June 2002) + 174. Fix makedepend so that it can parse a unary '+' operator (#5185, + Mark Snitily). + 148. Major OS/2 support update (#5119, Holger Veit). + 49. Fix bug that sometimes caused makedepend to forget #define'd symbols + (Marc La France). + +XFree86 4.1.99.3 (19 December 2001) + 583. Re-instate makedepend's recognition of backslash line terminations + (Marc La France). + 574. Fix cases where makedepend reports the wrong line number and file when + an error occurs (#5072, Mark Snitily, from X11R6.6). + 568. Fix "The Open Group" copyright notices to reflect the change in + post R6.4 licensing (#5093, Mark Snitily, from X11R6.6). + + +XFree86 4.1.99.1 (20 August 2001) + 156. Remove most X_NOT_STDC_ENV code, and assume that __STDC__ is defined + (David Dawes). + 86. Fix makedepend for use on Cygwin/XFree86. + Use makedepend on Cygwin/XFree86. + Fix SharedDepLibraryTarget so that build dependencies are correct, + this fixes libGLU's build problem (Alan Hourihane). + +XFree86 4.0.99.900 (18 May 2001) + 539. Another makedepend bug fix (Marc La France). + 457. Fix makedepend's integer value parsing and make it understand GCC's + #include_next directive as found in glibc & libc5 (Marc La France). + +XFree86 4.0.99.3 (26 April 2001) + 435. Fix makedepend for '//' comment parsing and symbols that contain + expressions (Marc La France). + +XFree86 4.0.1f (16 November 2000) + 936. Let makedepend ignore "//" style comments on all platforms, not + just Win32, and fix a bug in that code that was causing the line + after such comments to also be ignored (#A.189, Guenther Grau). + +XFree86 4.0a (6 April 2000) + 78. Fix an infinite loop problem that can show up in makedepend (#3838, A.10, + Jeremy Buhler). + +XFree86 3.9Ni (6 October 1998) +1882. Ansify and remove gcc warnings for imake, makedepend, lndir, makestrs, + makekeys and mkg3states) (#2005, Matthieu Herrb). + +XFree86 3.9b (4 May 1997) + 751. Make 'makedepend' understand '-U' on the command line. + +XFree86 3.2q (12 January 1997) + 228. Make makedepend recognise #warning on all OSs (since we have it + in shm.h). + +XFree86 3.2l (31 December 1996) + 149. Add support to makedepend for the '^' and '? :' operators + (Marc Aurele La France). + +XFree86 3.1.2E (13 May 1996) + 527. Fix makedepend's handling of long typed defines (eg, 1993L) + (Kaleb Keithley). + +XFree86 3.1.1c (12 March 1995) + 30. Add predefs to makedepend for FreeBSD and NetBSD. This allows + xf86_OSlib.h to be cleaned up a little. + +[X.Org, Open Group & X Consortium change logs from X11R6.6 and earlier are + not available.]
\ No newline at end of file diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..dcce4ad --- /dev/null +++ b/Makefile.am @@ -0,0 +1,9 @@ +# $XdotOrg: $ + +bin_PROGRAMS = makedepend + +INCLUDES = -I${includedir} -I${includedir}/X11 +makedepend_SOURCES = include.c main.c parse.c pr.c cppsetup.c ifparser.c +makedepend_CPPFLAGS = -DOBJSUFFIX=\".${OBJEXT}\" -DINCLUDEDIR=\"/usr/include\" + +EXTRA_DIST = autogen.sh diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..b1db959 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +# $XdotOrg: $ + +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..a7288b0 --- /dev/null +++ b/configure.ac @@ -0,0 +1,19 @@ +dnl $XdotOrg: $ +AC_PREREQ([2.57]) +AC_INIT([makedepend], [7.0], [xorg@lists.freedesktop.org]) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) +AM_CONFIG_HEADER([makedepend-config.h]) + +dnl Checks for programs. +AC_PROG_CC + +dnl Replacement for Imake SIGNAL_DEFINES +AC_TYPE_SIGNAL + +dnl Checks for functions +AC_CHECK_FUNCS([rename fchmod]) + +dnl Use 64-bit file operations on 32-bit systems that support them +AC_SYS_LARGEFILE + +AC_OUTPUT([Makefile]) |