]> git.saurik.com Git - apt.git/blob - Makefile
switch 'apt-mark hold' from Pkg to Ver based operation
[apt.git] / Makefile
1 # -*- make -*-
2
3 # This is the top level make file for APT, it recurses to each lower
4 # level make file and runs it with the proper target
5 ifndef NOISY
6 .SILENT:
7 endif
8
9 .PHONY: default
10 default: startup all
11
12 .PHONY: fast headers library clean veryclean all binary program doc test update-po
13 all headers library clean veryclean binary program doc manpages docbook test update-po startup dirs:
14 $(MAKE) -C vendor $@
15 $(MAKE) -C apt-pkg $@
16 $(MAKE) -C apt-inst $@
17 $(MAKE) -C apt-private $@
18 $(MAKE) -C methods $@
19 $(MAKE) -C cmdline $@
20 $(MAKE) -C ftparchive $@
21 $(MAKE) -C dselect $@
22 $(MAKE) -C doc $@
23 $(MAKE) -C po $@
24 # FIXME: -C test has issue swith parallel builds, investigate!
25 -$(MAKE) -C test $@
26
27 fast:
28 $(MAKE) -C vendor all
29 $(MAKE) -C apt-pkg all
30 $(MAKE) -C apt-inst all
31 $(MAKE) -C apt-private all
32 $(MAKE) -C methods all
33 $(MAKE) -C cmdline all
34 $(MAKE) -C ftparchive all
35 $(MAKE) -C test all
36
37 all headers library clean veryclean binary program doc manpages docbook test update-po: startup dirs
38
39 dirs: startup
40
41 # Some very common aliases
42 .PHONY: maintainer-clean dist-clean distclean pristine sanity
43 maintainer-clean dist-clean distclean pristine sanity: veryclean
44 veryclean: clean
45
46 # The startup target builds the necessary configure scripts. It should
47 # be used after a CVS checkout.
48 CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile
49 include buildlib/configure.mak
50 $(BUILDDIR)/include/config.h: buildlib/config.h.in
51 $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in
52 $(BUILDDIR)/environment.mak: buildlib/environment.mak.in
53 $(BUILDDIR)/makefile: buildlib/makefile.in