Adding helper stuff to ease the local building of (subparts of) Alliance

This commit is contained in:
Frederic Petrot 2002-03-14 08:24:20 +00:00
parent 7f7488bbb2
commit 1fdf9058e2
3 changed files with 79 additions and 0 deletions

1
alliance/src/Makefile.am Normal file
View File

@ -0,0 +1 @@
SUBDIRS = @SUBDIRS@

28
alliance/src/autostuff Executable file
View File

@ -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

50
alliance/src/configure.in Normal file
View File

@ -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 <Frederic.Petrot@lip6.fr>
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
])