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