head	1.1;
branch	1.1.1;
access;
symbols
	RELENG_9_1_0_RELEASE:1.1.1.2
	RELENG_9_1:1.1.1.2.0.16
	RELENG_9_1_BP:1.1.1.2
	RELENG_8_3_0_RELEASE:1.1.1.2
	RELENG_8_3:1.1.1.2.0.14
	RELENG_8_3_BP:1.1.1.2
	RELENG_9_0_0_RELEASE:1.1.1.2
	RELENG_9_0:1.1.1.2.0.12
	RELENG_9_0_BP:1.1.1.2
	RELENG_9:1.1.1.2.0.10
	RELENG_9_BP:1.1.1.2
	RELENG_7_4_0_RELEASE:1.1.1.1.20.1
	RELENG_8_2_0_RELEASE:1.1.1.2
	RELENG_7_4:1.1.1.1.20.1.0.8
	RELENG_7_4_BP:1.1.1.1.20.1
	RELENG_8_2:1.1.1.2.0.8
	RELENG_8_2_BP:1.1.1.2
	RELENG_8_1_0_RELEASE:1.1.1.2
	RELENG_8_1:1.1.1.2.0.6
	RELENG_8_1_BP:1.1.1.2
	RELENG_7_3_0_RELEASE:1.1.1.1.20.1
	RELENG_7_3:1.1.1.1.20.1.0.6
	RELENG_7_3_BP:1.1.1.1.20.1
	RELENG_8_0_0_RELEASE:1.1.1.2
	RELENG_8_0:1.1.1.2.0.4
	RELENG_8_0_BP:1.1.1.2
	RELENG_8:1.1.1.2.0.2
	RELENG_8_BP:1.1.1.2
	RELENG_7_2_0_RELEASE:1.1.1.1.20.1
	RELENG_7_2:1.1.1.1.20.1.0.4
	RELENG_7_2_BP:1.1.1.1.20.1
	RELENG_7_1_0_RELEASE:1.1.1.1.20.1
	RELENG_6_4_0_RELEASE:1.1.1.1.10.1
	RELENG_7_1:1.1.1.1.20.1.0.2
	RELENG_7_1_BP:1.1.1.1.20.1
	RELENG_6_4:1.1.1.1.10.1.0.2
	RELENG_6_4_BP:1.1.1.1.10.1
	RELENG_7_0_0_RELEASE:1.1.1.1
	RELENG_6_3_0_RELEASE:1.1.1.1
	RELENG_7_0:1.1.1.1.0.24
	RELENG_7_0_BP:1.1.1.1
	RELENG_6_3:1.1.1.1.0.22
	RELENG_6_3_BP:1.1.1.1
	RELENG_7:1.1.1.1.0.20
	RELENG_7_BP:1.1.1.1
	RELENG_6_2_0_RELEASE:1.1.1.1
	RELENG_6_2:1.1.1.1.0.18
	RELENG_6_2_BP:1.1.1.1
	RELENG_5_5_0_RELEASE:1.1.1.1
	RELENG_5_5:1.1.1.1.0.16
	RELENG_5_5_BP:1.1.1.1
	RELENG_6_1_0_RELEASE:1.1.1.1
	RELENG_6_1:1.1.1.1.0.14
	RELENG_6_1_BP:1.1.1.1
	RELENG_6_0_0_RELEASE:1.1.1.1
	RELENG_6_0:1.1.1.1.0.12
	RELENG_6_0_BP:1.1.1.1
	RELENG_6:1.1.1.1.0.10
	RELENG_6_BP:1.1.1.1
	RELENG_5_4_0_RELEASE:1.1.1.1
	RELENG_5_4:1.1.1.1.0.8
	RELENG_5_4_BP:1.1.1.1
	RELENG_5_3_0_RELEASE:1.1.1.1
	RELENG_5_3:1.1.1.1.0.6
	RELENG_5_3_BP:1.1.1.1
	RELENG_5:1.1.1.1.0.4
	RELENG_5_BP:1.1.1.1
	amd_6_0_10p1:1.1.1.1
	RELENG_5_2_1_RELEASE:1.1.1.1
	RELENG_5_2_0_RELEASE:1.1.1.1
	RELENG_5_2:1.1.1.1.0.2
	RELENG_5_2_BP:1.1.1.1
	amd_6_0_9:1.1.1.1
	COLUMBIA:1.1.1;
locks; strict;
comment	@# @;


1.1
date	2003.09.02.15.27.37;	author mbr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2003.09.02.15.27.37;	author mbr;	state Exp;
branches
	1.1.1.1.10.1
	1.1.1.1.20.1;
next	1.1.1.2;

1.1.1.2
date	2007.12.05.14.20.30;	author obrien;	state dead;
branches;
next	;

1.1.1.1.10.1
date	2008.02.09.01.35.32;	author obrien;	state dead;
branches;
next	;

1.1.1.1.20.1
date	2008.01.30.03.18.55;	author obrien;	state dead;
branches;
next	;


desc
@@


1.1
log
@Initial revision
@
text
@#
# THIS MAKEFILE IS FOR am-utils maintainers only!
#
# GNUmakefile for remaking configuration files.
#
# Erez Zadok <ezk@@cs.columbia.edu>
#

AUTOCONF=autoconf --localdir=./m4 ./m4/configure.in
AUTOHEADER=autoheader --localdir=./m4 ./m4/configure.in
#AUTOMAKE=./m4/automake --include-deps --amdir=./m4/amdir
#AUTOMAKE=automake --include-deps --no-intermediates --localdir=./m4
#AUTOMAKE=automake --include-deps --localdir=./m4
AUTOMAKE=automake --include-deps --altdir=./m4
ACLOCAL=aclocal --altdir=./m4
MK_ACLOCAL=./mk-aclocal

CUTWARNMSG="warning: AC_TRY_RUN called without default to allow cross compilin"
CUTWARNMSG2="AC_OUTPUT_COMMANDS|autoupdate"
AMFILES=../Makefile.am $(wildcard ../*/Makefile.am)
INAMFILES=$(AMFILES:.am=.in)
ACFILES=$(wildcard macros/*.m4 macros/HEADER macros/TRAILER m4/aclocal.m4)

LOG=/tmp/amu-${USER}.log

TOPDIR=..
VPATH=

all: testdir ${TOPDIR}/configure config.h.in ${TOPDIR}/Makefile.in \
	GNUmakefile stamp-h.in

config: all $(TOPDIR)/buildall aux_conf.h.in
	(cd ${TOPDIR} && ./buildall -c)

dconfig: all $(TOPDIR)/buildall aux_conf.h.in
	(cd ${TOPDIR} && ./buildall -C)

qconfig: all $(TOPDIR)/buildall aux_conf.h.in
	(cd ${TOPDIR} && ./buildall -q)

build: all $(TOPDIR)/buildall aux_conf.h.in
	(cd ${TOPDIR} && ./buildall -b)

world: all $(TOPDIR)/buildall aux_conf.h.in
	(cd ${TOPDIR} && ./buildall)

testdir: ${TOPDIR}/amd/amd.c

${TOPDIR}/configure: configure.in aclocal.m4
	-(cd ${TOPDIR} && ${AUTOCONF} > configure.new 2> ${LOG})
	-@@egrep -v ${CUTWARNMSG} ${LOG} > ${LOG}.new ; mv ${LOG}.new ${LOG}
	@@echo '############################################################'
	@@echo 'Checking for "AC_OUTPUT_COMMANDS" warnings:'
	@@echo ' (If you see any output, fix this when autoconf/automake are'
	@@echo '  back in sync in their CVS trees. -ezk, 2/10/00)'
	-@@egrep ${CUTWARNMSG2} ${LOG}
	-@@egrep -v ${CUTWARNMSG2} ${LOG} > ${LOG}.new ; mv ${LOG}.new ${LOG}
	@@echo '############################################################'
	@@if test -s ${LOG}; then cat ${LOG}; exit 2; fi
	-mv ../configure ../configure.old
	mv ../configure.new ../configure
	rm -f ../configure.old
	chmod a+rx $@@

config.h.in: configure.in acconfig.h
	-(cd ${TOPDIR} && ${AUTOHEADER} > ./m4/config.h.in 2> ${LOG})
	-@@egrep -v ${CUTWARNMSG} ${LOG} > ${LOG}.new ; mv ${LOG}.new ${LOG}
	@@echo '############################################################'
	@@echo 'Checking for "AC_OUTPUT_COMMANDS" warnings:'
	@@echo ' (If you see any output, fix this when autoconf/automake are'
	@@echo '  back in sync in their CVS trees. -ezk, 2/10/00)'
	-@@egrep ${CUTWARNMSG2} ${LOG}
	-@@egrep -v ${CUTWARNMSG2} ${LOG} > ${LOG}.new ; mv ${LOG}.new ${LOG}
	@@echo '############################################################'
	@@if test -s ${LOG}; then cat ${LOG}; exit 2; fi

${TOPDIR}/Makefile.in: ${AMFILES} configure.in aclocal.m4
	(cd ${TOPDIR} && ${AUTOMAKE})
	@@rm -f ${LOG}

aclocal.m4: ${ACFILES} configure.in
	rm -f $@@
	${MK_ACLOCAL} > acinclude.m4
	(cd ${TOPDIR} && ${ACLOCAL})

stamp-h.in: ${AMFILES} config.h.in aclocal.m4 aux_conf.h.in
	echo timestamp > $@@

clean:
	rm -f ${TOPDIR}/configure config.h.in $(INAMFILES) aclocal.m4 stamp.h.in

##############################################################################
# maintainer rules to update autoconf/automake/libtool files distributed with
# am-utils. -Erez.

P1s=/usr/local/gnu/share/automake
P2s=/usr/local/gnu/share/libtool
P1=/usr/local/gnu/lib/automake
P2=/usr/local/gnu/lib/libtool
P3=/misc/mirror/gnu/prep/config
P4=/misc/mirror/gnu/prep
ICMD=./m4/copy-if-newbig
CPCMD=cp -p

update:		\
	config.guess	\
	config.sub	\
	doc/texinfo.tex
# 	depcomp		\
# 	install-sh	\
# 	ltconfig	\
# 	ltmain.sh	\
# 	mdate-sh	\
# 	missing		\
# 	mkinstalldirs	\

config.guess:: $(P1s)/config.guess
	$(ICMD) $? $@@
config.guess:: $(P2s)/config.guess
	$(ICMD) $? $@@
config.guess:: $(P3)/config.guess
	$(ICMD) $? $@@

config.sub:: $(P1s)/config.sub
	$(ICMD) $? $@@
config.sub:: $(P2s)/config.sub
	$(ICMD) $? $@@
config.sub:: $(P3)/config.sub
	$(ICMD) $? $@@

depcomp:: $(P1)/depcomp
	$(CPCMD) $? $@@

install-sh: $(P1)/install-sh
	$(CPCMD) $? $@@

ltconfig: $(P2)/ltconfig
	$(CPCMD) $? $@@

ltmain.sh: $(P2)/ltmain.sh
	$(CPCMD) $? $@@

mdate-sh: $(P1)/mdate-sh
	$(CPCMD) $? $@@

missing: $(P1)/missing
	$(CPCMD) $? $@@

mkinstalldirs: $(P1)/mkinstalldirs
	$(CPCMD) $? $@@

doc/texinfo.tex: $(P4)/texinfo.tex
	$(CPCMD) $? $@@

##############################################################################
@


1.1.1.1
log
@Virgin import of AMD (am-utils) 20030828 (6.0.9)
@
text
@@


1.1.1.1.10.1
log
@MFC: version 6.1.5.
@
text
@@


1.1.1.1.20.1
log
@MFC: version 6.1.5.
@
text
@@


1.1.1.2
log
@Delete from the vendor brach a few things that are dead on head.
(they should have been removed here instead of on HEAD in the first place...)
@
text
@@

