apt-cache showsrc
[ntk/apt.git] / Makefile
... / ...
CommitLineData
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
5ifndef NOISY
6.SILENT:
7endif
8
9.PHONY: headers library clean veryclean all binary program doc
10all headers library clean veryclean binary program doc:
11 $(MAKE) -C apt-pkg $@
12 $(MAKE) -C methods $@
13# $(MAKE) -C methods/ftp $@
14 $(MAKE) -C cmdline $@
15 $(MAKE) -C dselect $@
16ifdef GUI
17 $(MAKE) -C deity $@
18 $(MAKE) -C gui $@
19endif
20 $(MAKE) -C doc $@
21
22# Some very common aliases
23.PHONY: maintainer-clean dist-clean distclean pristine sanity
24maintainer-clean dist-clean distclean pristine sanity: veryclean
25
26# The startup target builds the necessary configure scripts. It should
27# be used after a CVS checkout.
28CONVERTED=environment.mak include/config.h makefile
29include buildlib/configure.mak
30$(BUILDDIR)/include/config.h: buildlib/config.h.in
31$(BUILDDIR)/environment.mak: buildlib/environment.mak.in
32$(BUILDDIR)/makefile: buildlib/makefile.in