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