]> git.saurik.com Git - apt.git/blame - buildlib/makefile.in
Start on acquire stuff
[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.
faf4e30c 5.SILENT:
066427d0
AL
6
7SRCDIR=@top_srcdir@
8SUBDIRS:=./doc ./bin ./obj ./include/apt-pkg ./include/deity
3164dff9 9SUBDIRS+=./obj/doc ./obj/apt-pkg ./obj/deity ./obj/gui ./obj/cmdline
066427d0
AL
10BUILD:=$(shell pwd)
11export BUILD
12
13# Chain to the parent make to do the actual building
14.PHONY: headers library clean veryclean all binary program doc
6322370b
AL
15all headers library clean veryclean binary program doc:
16 $(MAKE) -C $(SRCDIR) -f Makefile $@
066427d0
AL
17
18# This makes any missing directories
19.PHONY: dirs
20MISSING_DIRS:= $(filter-out $(wildcard $(SUBDIRS)),$(SUBDIRS))
21dirs:
22ifneq ($(words $(MISSING_DIRS)),0)
23 @mkdir $(MISSING_DIRS)
24else
25 @echo > /dev/null
26endif