]> git.saurik.com Git - apt.git/blame - buildlib/configure.mak
apt-pkg/contrib/strutl.cc: increase the size limit
[apt.git] / buildlib / configure.mak
CommitLineData
46976ca4
AL
1# -*- make -*-
2
3# This make fragment is included by the toplevel make to handle configure
4# and setup. It defines a target called startup that when run will init
5# the build directory, generate configure from configure.in, create aclocal
6# and has rules to run config.status should one of the .in files change.
7
8# Input
53da8d70 9# BUILDDIR - The build directory
46976ca4
AL
10# CONVERTED - List of files output by configure $(BUILD) is prepended
11# The caller must provide depends for these files
12# It would be a fairly good idea to run this after a cvs checkout.
53da8d70 13BUILDDIR=build
46976ca4
AL
14
15.PHONY: startup
b2e465d6 16startup: configure $(BUILDDIR)/config.status $(addprefix $(BUILDDIR)/,$(CONVERTED))
46976ca4
AL
17
18configure: aclocal.m4 configure.in
2ccad029
AL
19 autoconf
20
33ca57b6 21aclocal.m4: $(wildcard buildlib/*.m4)
46976ca4 22 aclocal -I buildlib
33ca57b6 23
53da8d70 24$(BUILDDIR)/config.status: configure
2c206aa4 25 /usr/bin/test -e $(BUILDDIR) || mkdir $(BUILDDIR)
53da8d70 26 (HERE=`pwd`; cd $(BUILDDIR) && $$HERE/configure)
33ca57b6 27
8a9ec519 28$(addprefix $(BUILDDIR)/,$(CONVERTED)):
53da8d70 29 (cd $(BUILDDIR) && ./config.status)