]>
Commit | Line | Data |
---|---|---|
6322370b AL |
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 | |
93bf083d | 5 | ifndef NOISY |
6322370b | 6 | .SILENT: |
93bf083d | 7 | endif |
6322370b | 8 | |
b2e465d6 AL |
9 | .PHONY: default |
10 | default: startup all | |
11 | ||
4ef2f35c | 12 | .PHONY: fast headers library clean veryclean all binary program doc test update-po |
a034d852 | 13 | all headers library clean veryclean binary program doc manpages docbook test update-po startup dirs: |
eef71f11 | 14 | $(MAKE) -C vendor $@ |
6322370b | 15 | $(MAKE) -C apt-pkg $@ |
b2e465d6 | 16 | $(MAKE) -C apt-inst $@ |
b9179170 | 17 | $(MAKE) -C apt-private $@ |
024835dc | 18 | $(MAKE) -C methods $@ |
1164783d | 19 | $(MAKE) -C cmdline $@ |
b2e465d6 | 20 | $(MAKE) -C ftparchive $@ |
30d3bf59 | 21 | $(MAKE) -C dselect $@ |
a1c4ae54 MV |
22 | $(MAKE) -C doc $@ |
23 | $(MAKE) -C po $@ | |
eef71f11 | 24 | $(MAKE) -C test $@ |
93641593 | 25 | |
4ef2f35c JAK |
26 | fast: |
27 | $(MAKE) -C vendor all | |
28 | $(MAKE) -C apt-pkg all | |
29 | $(MAKE) -C apt-inst all | |
30 | $(MAKE) -C apt-private all | |
31 | $(MAKE) -C methods all | |
32 | $(MAKE) -C cmdline all | |
33 | $(MAKE) -C ftparchive all | |
34 | $(MAKE) -C test all | |
35 | ||
a034d852 | 36 | all headers library clean veryclean binary program doc manpages docbook test update-po: startup dirs |
742f5705 DK |
37 | |
38 | dirs: startup | |
a11afb9d | 39 | |
46976ca4 | 40 | # Some very common aliases |
742f5705 | 41 | .PHONY: maintainer-clean dist-clean distclean pristine sanity |
93641593 | 42 | maintainer-clean dist-clean distclean pristine sanity: veryclean |
742f5705 | 43 | veryclean: clean |
93bf083d | 44 | |
93bf083d AL |
45 | # The startup target builds the necessary configure scripts. It should |
46 | # be used after a CVS checkout. | |
3174e150 | 47 | CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile |
c3c459fc | 48 | include buildlib/configure.mak |
53da8d70 | 49 | $(BUILDDIR)/include/config.h: buildlib/config.h.in |
b2e465d6 | 50 | $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in |
53da8d70 | 51 | $(BUILDDIR)/environment.mak: buildlib/environment.mak.in |
c3c459fc | 52 | $(BUILDDIR)/makefile: buildlib/makefile.in |