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