]>
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 |
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 | |
a034d852 | 26 | all headers library clean veryclean binary program doc manpages docbook test update-po: startup dirs |
742f5705 DK |
27 | |
28 | dirs: startup | |
a11afb9d | 29 | |
46976ca4 | 30 | # Some very common aliases |
742f5705 | 31 | .PHONY: maintainer-clean dist-clean distclean pristine sanity |
93641593 | 32 | maintainer-clean dist-clean distclean pristine sanity: veryclean |
742f5705 | 33 | veryclean: clean |
93bf083d | 34 | |
93bf083d AL |
35 | # The startup target builds the necessary configure scripts. It should |
36 | # be used after a CVS checkout. | |
3174e150 | 37 | CONVERTED=environment.mak include/config.h include/apti18n.h build/doc/Doxyfile makefile |
c3c459fc | 38 | include buildlib/configure.mak |
53da8d70 | 39 | $(BUILDDIR)/include/config.h: buildlib/config.h.in |
b2e465d6 | 40 | $(BUILDDIR)/include/apti18n.h: buildlib/apti18n.h.in |
53da8d70 | 41 | $(BUILDDIR)/environment.mak: buildlib/environment.mak.in |
c3c459fc | 42 | $(BUILDDIR)/makefile: buildlib/makefile.in |