]> git.saurik.com Git - apt.git/blame_incremental - buildlib/makefile.in
CMake: Translations: Pass some additional arguments to commands
[apt.git] / buildlib / makefile.in
... / ...
CommitLineData
1# -*- make -*-
2
3# This is the build directory make file, it sets the build directory
4# and runs the src makefile.
5ifndef NOISY
6.SILENT:
7endif
8include environment.mak
9
10SRCDIR=@top_srcdir@
11BUILD:=$(shell pwd)
12export BUILD
13
14# Chain to the parent make to do the actual building
15.PHONY: headers library clean veryclean all binary program doc \
16 veryclean/local
17all headers library clean veryclean binary program doc:
18 $(MAKE) -C $(SRCDIR) -f Makefile $@
19
20# Purge everything.
21.PHONY: maintainer-clean dist-clean pristine sanity distclean
22maintainer-clean dist-clean pristine sanity distclean:
23 -rm -rf $(DIRS)
24 -rm -f config.cache config.log config.status environment.mak makefile
25
26# Create the required directories and build the shims
27# The configure script fills in below, and then we do the right things..
28# This cannot go in the configure script since the directories have not yet
29# been created.. In any event I like the idea that you can change environment.mak
30# and run make dirs and have the shims updated.
31.PHONY: dirs
32dirs:
33 $(MAKE) -C $(SRCDIR) -f Makefile $@
34ifeq ($(HAVE_STATVFS),yes)
35 @rm -f include/statvfs.h > /dev/null 2>&1
36else
37 @cp -p $(SRCDIR)/buildlib/statvfs.h.in include/statvfs.h
38 ln -sf . include/sys
39endif
40ifeq ($(NEED_SOCKLEN_T_DEFINE),yes)
41 @cp -p $(SRCDIR)/buildlib/netdb.h.in include/netdb.h
42else
43 @rm -f include/netdb.h > /dev/null 2>&1
44endif
45 rm -f include/python
46 ln -sf $(PYTHONINCLUDE) include/python