add Makefile deps and cleanup for config_host_lang.mk*

Change-Id: I7fabd28ccdf66a4fa96838aafadbe6ceee8d9ee3
This commit is contained in:
David Tardon 2015-03-26 09:19:01 +01:00
parent 5a0de29f61
commit c8708f34d6

View File

@ -32,12 +32,13 @@ GIT_BUILD := $(if $(wildcard $(SRCDIR)/.git),T)
ifeq (,$(MAKE_RESTARTS)$(if $(GIT_BUILD),,T)$(if $(filter-out help showmodules clean distclean,$(MAKECMDGOALS)),,T)) ifeq (,$(MAKE_RESTARTS)$(if $(GIT_BUILD),,T)$(if $(filter-out help showmodules clean distclean,$(MAKECMDGOALS)),,T))
.PHONY : force-restart .PHONY : force-restart
Makefile: $(BUILDDIR)/config_host.mk force-restart Makefile: $(BUILDDIR)/config_host.mk $(BUILDDIR)/config_host_lang.mk force-restart
@touch $@ @touch $@
# run configure in an environment not polluted by config_host.mk # run configure in an environment not polluted by config_host.mk
$(BUILDDIR)/config_host.mk : $(wildcard \ $(BUILDDIR)/config_host.mk : $(wildcard \
$(SRCDIR)/config_host.mk.in \ $(SRCDIR)/config_host.mk.in \
$(SRCDIR)/config_host_lang.mk.in \
$(SRCDIR)/Makefile.in \ $(SRCDIR)/Makefile.in \
$(SRCDIR)/instsetoo_native/util/openoffice.lst.in \ $(SRCDIR)/instsetoo_native/util/openoffice.lst.in \
$(SRCDIR)/configure.ac \ $(SRCDIR)/configure.ac \
@ -179,6 +180,8 @@ distclean : clean compilerplugins-clean
$(BUILDDIR)/config_build.mk \ $(BUILDDIR)/config_build.mk \
$(BUILDDIR)/config_host.mk \ $(BUILDDIR)/config_host.mk \
$(BUILDDIR)/config_host.mk.stamp \ $(BUILDDIR)/config_host.mk.stamp \
$(BUILDDIR)/config_host_lang.mk \
$(BUILDDIR)/config_host_lang.mk.stamp \
$(BUILDDIR)/config_host/*.h \ $(BUILDDIR)/config_host/*.h \
$(BUILDDIR)/configure \ $(BUILDDIR)/configure \
$(BUILDDIR)/instsetoo_native/util/openoffice.lst \ $(BUILDDIR)/instsetoo_native/util/openoffice.lst \