]>
Commit | Line | Data |
---|---|---|
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: headers library clean veryclean all binary program doc test update-po | |
13 | all headers library clean veryclean binary program doc manpages debiandoc 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 | $(MAKE) -C test $@ | |
25 | ||
26 | all headers library clean veryclean binary program doc manpages debiandoc test update-po: startup dirs | |
27 | ||
28 | dirs: startup | |
29 | ||
30 | # Some very common aliases | |
31 | .PHONY: maintainer-clean dist-clean distclean pristine sanity | |
32 | maintainer-clean dist-clean distclean pristine sanity: veryclean | |
33 | veryclean: clean | |
34 | ||
35 | # The startup target builds the necessary configure scripts. It should | |
36 | # be used after a CVS checkout. | |
37 | CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile | |
38 | include buildlib/configure.mak | |
39 | $(BUILDDIR)/include/config.h: buildlib/config.h.in | |
40 | $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in | |
41 | $(BUILDDIR)/environment.mak: buildlib/environment.mak.in | |
42 | $(BUILDDIR)/makefile: buildlib/makefile.in |