Static lib support
[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 $@
f9fe12bb 15ifdef GUI
880e9be4
AL
16 $(MAKE) -C deity $@
17 $(MAKE) -C gui $@
f9fe12bb 18endif
faf4e30c 19 $(MAKE) -C doc $@
93641593 20
46976ca4 21# Some very common aliases
93641593
AL
22.PHONY: maintainer-clean dist-clean distclean pristine sanity
23maintainer-clean dist-clean distclean pristine sanity: veryclean
93bf083d 24
93bf083d
AL
25# The startup target builds the necessary configure scripts. It should
26# be used after a CVS checkout.
46976ca4 27CONVERTED=environment.mak include/config.h makefile
c3c459fc 28include buildlib/configure.mak
53da8d70
AL
29$(BUILDDIR)/include/config.h: buildlib/config.h.in
30$(BUILDDIR)/environment.mak: buildlib/environment.mak.in
c3c459fc 31$(BUILDDIR)/makefile: buildlib/makefile.in