#!/bin/sh # $Id: mkmi,v 1.23 2005/12/18 22:18:11 ceder Exp $ # Generate Makefile.in from Makefile.src template # Copyright (C) 1994-1996, 1998-1999, 2003-2005 Lysator Academic Computer Association. # # 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, 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., 675 Mass Ave, Cambridge, MA 02139, USA. # # Please report bugs at http://bugzilla.lysator.liu.se/. [ -f src/server/lyskomd.h ] || { echo $0: must be run from top of the source directory >&2 exit 1 } # Remove these files so that we pick up the correct versions from # automake. We rely on the automake maintainer to make sure that # these files are always up-to-date as long as we install the latest # automake. rm -f \ scripts/install-sh \ scripts/missing \ scripts/texinfo.tex \ scripts/mkinstalldirs \ scripts/depcomp \ scripts/mdate-sh \ INSTALL # Tell the Gentoo wrapper scripts which versions of automake and # autoconf we want. WANT_AUTOMAKE=1.7 export WANT_AUTOMAKE WANT_AUTOCONF=1.5 export WANT_AUTOCONF aclocal -I m4 autoheader automake -a autoconf (cd src/libraries/libisc-new && aclocal) (cd src/libraries/libisc-new && automake -a) (cd src/libraries/libisc-new && autoconf) (cd src/libraries/liboop && aclocal) (cd src/libraries/liboop && automake -a) (cd src/libraries/liboop && autoconf) (cd src/libraries/adns && aclocal) (cd src/libraries/adns && autoheader) (cd src/libraries/adns && automake -a) (cd src/libraries/adns && autoconf)