]>
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 | ||
a11afb9d | 12 | .PHONY: headers library clean veryclean all binary program doc test update-po |
1098ae37 | 13 | all headers library clean veryclean binary program doc manpages debiandoc test update-po startup dirs: |
6322370b | 14 | $(MAKE) -C apt-pkg $@ |
b2e465d6 | 15 | $(MAKE) -C apt-inst $@ |
b9179170 | 16 | $(MAKE) -C apt-private $@ |
024835dc | 17 | $(MAKE) -C methods $@ |
1164783d | 18 | $(MAKE) -C cmdline $@ |
b2e465d6 | 19 | $(MAKE) -C ftparchive $@ |
30d3bf59 | 20 | $(MAKE) -C dselect $@ |
a1c4ae54 MV |
21 | $(MAKE) -C doc $@ |
22 | $(MAKE) -C po $@ | |
23 | $(MAKE) -C test $@ | |
93641593 | 24 | |
1098ae37 | 25 | all headers library clean veryclean binary program doc manpages debiandoc test update-po: startup dirs |
742f5705 DK |
26 | |
27 | dirs: startup | |
a11afb9d | 28 | |
46976ca4 | 29 | # Some very common aliases |
742f5705 | 30 | .PHONY: maintainer-clean dist-clean distclean pristine sanity |
93641593 | 31 | maintainer-clean dist-clean distclean pristine sanity: veryclean |
742f5705 | 32 | veryclean: clean |
93bf083d | 33 | |
93bf083d AL |
34 | # The startup target builds the necessary configure scripts. It should |
35 | # be used after a CVS checkout. | |
3174e150 | 36 | CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile |
c3c459fc | 37 | include buildlib/configure.mak |
53da8d70 | 38 | $(BUILDDIR)/include/config.h: buildlib/config.h.in |
b2e465d6 | 39 | $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in |
53da8d70 | 40 | $(BUILDDIR)/environment.mak: buildlib/environment.mak.in |
c3c459fc | 41 | $(BUILDDIR)/makefile: buildlib/makefile.in |