]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
not in the 1.3 distribution
authorThomas Tanner <tanner@gmx.de>
Thu, 20 May 1999 21:31:24 +0000 (21:31 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Thu, 20 May 1999 21:31:24 +0000 (21:31 +0000)
depdemo/Makefile.am [deleted file]
depdemo/README [deleted file]
depdemo/configure.in [deleted file]
depdemo/main.c [deleted file]
depdemo/sysdep.h [deleted file]

diff --git a/depdemo/Makefile.am b/depdemo/Makefile.am
deleted file mode 100644 (file)
index 64dd587..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-## Process this file with automake to produce Makefile.in
-
-AUTOMAKE_OPTIONS = no-dependencies foreign
-
-SUBDIRS = l1 l2 l3 l4
-
-EXTRA_DIST = sysdep.h
-
-bin_PROGRAMS = depdemo depdemo.static
-
-depdemo_SOURCES = main.c
-depdemo_LDADD = $(top_builddir)/l1/libl1.la $(top_builddir)/l2/libl2.la \
-               $(top_builddir)/l4/libl4.la
-depdemo_DEPENDENCIES = $(top_builddir)/l1/libl1.la \
-               $(top_builddir)/l2/libl2.la $(top_builddir)/l4/libl4.la
-
-depdemo_static_SOURCES = $(depdemo_SOURCES)
-depdemo_static_LDADD = $(depdemo_LDADD)
-depdemo_static_DEPENDENCIES = $(depdemo_DEPENDENCIES)
-depdemo_static_LDFLAGS = $(STATIC)
-
-$(OBJECTS): libtool
-libtool: $(LIBTOOL_DEPS)
-       $(SHELL) ./config.status --recheck
diff --git a/depdemo/README b/depdemo/README
deleted file mode 100644 (file)
index f122fab..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-This is depdemo, an example package that uses GNU libtool with an
-Automake-generated environment to build many interdependent libraries
-and a test program.
-
-There are four libraries: l1, l2, l3 and l4.
-l1 depends on nothing.
-l2 depends on l1.
-l3 depends on l1 and l2.
-l4 depends on l3 and libm.
-
-The test program uses l1, l2 and l4.
\ No newline at end of file
diff --git a/depdemo/configure.in b/depdemo/configure.in
deleted file mode 100644 (file)
index e4e317e..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-dnl Process this file with autoconf to create configure.
-
-AC_INIT(main.c)
-AM_INIT_AUTOMAKE(depdemo,0.1)
-
-AC_PROG_CC
-AC_EXEEXT
-AM_PROG_LIBTOOL
-AC_SUBST(LIBTOOL_DEPS)
-
-if ${CONFIG_SHELL} ./libtool --features | grep "enable static" >/dev/null; then
-  STATIC=-static
-else
-  STATIC=
-fi
-AC_SUBST(STATIC)
-
-AC_CHECK_HEADERS(math.h)
-
-AC_CHECK_LIBM
-
-dnl Output the makefile
-AC_OUTPUT(
-Makefile
-l1/Makefile
-l2/Makefile
-l3/Makefile
-l4/Makefile
-)
diff --git a/depdemo/main.c b/depdemo/main.c
deleted file mode 100644 (file)
index a27032a..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-/* main.c -- inter-library dependency test program
-   Copyright (C) 1998-1999 Thomas Tanner <tanner@gmx.de>
-   This file is part of GNU Libtool.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
-USA. */
-
-#include "l1/l1.h"
-#include "l2/l2.h"
-#include "l4/l4.h"
-#include <stdio.h>
-#include <string.h>
-
-int
-main (int argc, char **argv)
-{
-  printf("dependencies:\n");
-  func_l1(0);
-  func_l2(0);
-  func_l4(0);
-  return 0;
-}
diff --git a/depdemo/sysdep.h b/depdemo/sysdep.h
deleted file mode 100644 (file)
index 41f704b..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-/* sysdep.h -- system dependent declarations
-   Copyright (C) 1998-1999 Thomas Tanner <tanner@gmx.de>
-   This file is part of GNU Libtool.
-
-This program is free software; you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307
-USA. */
-
-/* Only include this header file once. */
-#ifndef _SYSDEP_H_
-#define _SYSDEP_H_ 1
-
-/* __BEGIN_DECLS should be used at the beginning of your declarations,
-   so that C++ compilers don't mangle their names.  Use __END_DECLS at
-   the end of C declarations. */
-#undef __BEGIN_DECLS
-#undef __END_DECLS
-#ifdef __cplusplus
-# define __BEGIN_DECLS extern "C" {
-# define __END_DECLS }
-#else
-# define __BEGIN_DECLS /* empty */
-# define __END_DECLS /* empty */
-#endif
-
-/* __P is a macro used to wrap function prototypes, so that compilers
-   that don't understand ANSI C prototypes still work, and ANSI C
-   compilers can issue warnings about type mismatches. */
-#undef __P
-#if defined (__STDC__) || defined (_AIX) || (defined (__mips) && defined (_SYSTYPE_SVR4)) || defined(WIN32) || defined(__cplusplus)
-# define __P(protos) protos
-#else
-# define __P(protos) ()
-#endif
-
-#endif /* !_SYSDEP_H_ */