From 1fdf9058e2333f2a0bb45e26601702818a4d0381 Mon Sep 17 00:00:00 2001 From: Frederic Petrot Date: Thu, 14 Mar 2002 08:24:20 +0000 Subject: [PATCH] Adding helper stuff to ease the local building of (subparts of) Alliance --- alliance/src/Makefile.am | 1 + alliance/src/autostuff | 28 ++++++++++++++++++++++ alliance/src/configure.in | 50 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) create mode 100644 alliance/src/Makefile.am create mode 100755 alliance/src/autostuff create mode 100644 alliance/src/configure.in diff --git a/alliance/src/Makefile.am b/alliance/src/Makefile.am new file mode 100644 index 00000000..8f577166 --- /dev/null +++ b/alliance/src/Makefile.am @@ -0,0 +1 @@ +SUBDIRS = @SUBDIRS@ diff --git a/alliance/src/autostuff b/alliance/src/autostuff new file mode 100755 index 00000000..3ebf8717 --- /dev/null +++ b/alliance/src/autostuff @@ -0,0 +1,28 @@ +#!/bin/sh + +if test "$1" = "clean" ; then + find . -name Makefile.in -exec rm {} \; -print + find . -name aclocal.m4 -exec rm {} \; -print + find . -name configure -exec rm {} \; -print + rm -f mkinstalldirs + rm -f missing + rm -f install-sh + exit +fi + +dirs=`\ls -1pd * | grep / | grep -v CVS` + +aclocal -I . +automake --foreign --add-missing --copy +autoconf + +for i in $dirs ; do + cd $i + if test -f configure.in ; then + aclocal -I . + automake --foreign + autoconf + fi + cd .. +done +exit 0 diff --git a/alliance/src/configure.in b/alliance/src/configure.in new file mode 100644 index 00000000..058862ec --- /dev/null +++ b/alliance/src/configure.in @@ -0,0 +1,50 @@ +dnl +dnl This file is part of the Alliance CAD System +dnl Copyright (C) Laboratoire LIP6 - Département ASIM +dnl Universite Pierre et Marie Curie +dnl +dnl Home page : http://www-asim.lip6.fr/alliance/ +dnl E-mail support : mailto:alliance-support@asim.lip6.fr +dnl +dnl This library is free software; you can redistribute it and/or modify it +dnl under the terms of the GNU Library General Public License as published +dnl by the Free Software Foundation; either version 2 of the License, or (at +dnl your option) any later version. +dnl +dnl Alliance VLSI CAD System is distributed in the hope that it will be +dnl useful, but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General +dnl Public License for more details. +dnl +dnl You should have received a copy of the GNU General Public License along +dnl with the GNU C Library; see the file COPYING. If not, write to the Free +dnl Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +dnl +dnl Purpose : Auto stuffing Alliance +dnl Almost ten years since I wrote this stuff, I just can't +dnl believe it +dnl Date : 01/02/2002 +dnl Author : Frederic Petrot +dnl $Id: configure.in,v 1.1 2002/03/14 08:24:20 fred Exp $ +dnl +dnl +AC_INIT(./mbk) +AM_INIT_AUTOMAKE(alliance, 5.0) +AC_PROG_CC +AC_PROG_RANLIB + +changequote(,)dnl +dirs=`\ls -1pd $srcdir/* | grep / | grep -v CVS` +for i in $dirs ; do + if test -f $i/configure.in ; then + sdirs="$sdirs `basename $i`" + fi +done +SUBDIRS=$sdirs +changequote([,])dnl +AC_CONFIG_SUBDIRS($sdirs) +AC_SUBST(SUBDIRS) + +AC_OUTPUT([ +Makefile +])