]>
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 | startup all headers library clean veryclean binary program doc dirs test update-po: | |
14 | $(MAKE) -C apt-pkg $@ | |
15 | $(MAKE) -C apt-inst $@ | |
16 | $(MAKE) -C methods $@ | |
17 | $(MAKE) -C cmdline $@ | |
18 | $(MAKE) -C ftparchive $@ | |
19 | $(MAKE) -C dselect $@ | |
20 | $(MAKE) -C doc $@ | |
21 | $(MAKE) -C po $@ | |
22 | $(MAKE) -C test $@ | |
23 | ||
24 | update-po: startup | |
25 | ||
26 | # Some very common aliases | |
27 | .PHONY: maintainer-clean dist-clean distclean pristine sanity | |
28 | maintainer-clean dist-clean distclean pristine sanity: veryclean | |
29 | ||
30 | # The startup target builds the necessary configure scripts. It should | |
31 | # be used after a CVS checkout. | |
32 | CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile | |
33 | include buildlib/configure.mak | |
34 | $(BUILDDIR)/include/config.h: buildlib/config.h.in | |
35 | $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in | |
36 | $(BUILDDIR)/environment.mak: buildlib/environment.mak.in | |
37 | $(BUILDDIR)/makefile: buildlib/makefile.in |