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