# The startup target builds the necessary configure scripts. It should
# be used after a CVS checkout.
CONVERTED=environment.mak include/config.h makefile
-$(BUILD)/include/config.h: buildlib/config.h.in
-$(BUILD)/environment.mak: buildlib/environment.mak.in
+$(BUILDDIR)/include/config.h: buildlib/config.h.in
+$(BUILDDIR)/environment.mak: buildlib/environment.mak.in
include buildlib/configure.mak
# and has rules to run config.status should one of the .in files change.
# Input
-# BUILD - The build director
+# BUILDDIR - The build directory
# CONVERTED - List of files output by configure $(BUILD) is prepended
# The caller must provide depends for these files
# It would be a fairly good idea to run this after a cvs checkout.
-BUILD=build
+BUILDDIR=build
.PHONY: startup
-startup: configure $(addprefix $(BUILD)/,$(CONVERTED))
+startup: configure $(addprefix $(BUILDDIR)/,$(CONVERTED))
configure: aclocal.m4 configure.in
autoconf
aclocal.m4:
aclocal -I buildlib
-$(BUILD)/config.status: configure
- test -e $(BUILD) || mkdir $(BUILD)
- (HERE=`pwd`; cd $(BUILD) && $$HERE/configure)
-$(addprefix $(BUILD)/,$(CONVERTED)): $(BUILD)/config.status
- (cd $(BUILD) && ./config.status)
+$(BUILDDIR)/config.status: configure
+ test -e $(BUILDDIR) || mkdir $(BUILDDIR)
+ (HERE=`pwd`; cd $(BUILDDIR) && $$HERE/configure)
+$(addprefix $(BUILDDIR)/,$(CONVERTED)): $(BUILDDIR)/config.status
+ (cd $(BUILDDIR) && ./config.status)
# This is the build directory make file, it sets the build directory
# and runs the src makefile.
+ifndef NOISY
.SILENT:
+endif
SRCDIR=@top_srcdir@
SUBDIRS:=./docs ./bin ./bin/methods ./obj ./include/apt-pkg ./include/deity