]> git.saurik.com Git - apt.git/blame - buildlib/makefile.in
Bugs
[apt.git] / buildlib / makefile.in
CommitLineData
066427d0
AL
1# -*- make -*-
2
3# This is the build directory make file, it sets the build directory
4# and runs the src makefile.
53da8d70 5ifndef NOISY
faf4e30c 6.SILENT:
53da8d70 7endif
066427d0
AL
8
9SRCDIR=@top_srcdir@
ee43a304
AL
10SUBDIRS:=./docs ./bin ./bin/methods ./obj ./include/apt-pkg ./include/deity
11SUBDIRS+=./obj/apt-pkg ./obj/deity ./obj/gui ./obj/cmdline \
f0a53b63 12 ./obj/test ./obj/methods ./obj/methods/ftp
066427d0
AL
13BUILD:=$(shell pwd)
14export BUILD
15
16# Chain to the parent make to do the actual building
17.PHONY: headers library clean veryclean all binary program doc
6322370b
AL
18all headers library clean veryclean binary program doc:
19 $(MAKE) -C $(SRCDIR) -f Makefile $@
066427d0
AL
20
21# This makes any missing directories
22.PHONY: dirs
23MISSING_DIRS:= $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
24dirs:
25ifneq ($(words $(MISSING_DIRS)),0)
26 @mkdir $(MISSING_DIRS)
27else
28 @echo > /dev/null
29endif