From f9759862e97f610b9b58485ec28d91b51d46684d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 14 Jun 2002 07:55:39 +0000 Subject: 2002-06-14 Roland McGrath * Makeconf (cleantarg): Add $(libname).so.$(hurd-version). * Makeconf ($(patsubst %.o,%.d,$(filter %.o,$(OBJS)))): Give these dep files a dependency on $(INSTALLED_LOCAL_HEADERS). --- Makeconf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makeconf') diff --git a/Makeconf b/Makeconf index 83a29316..0aaa9aab 100644 --- a/Makeconf +++ b/Makeconf @@ -150,7 +150,8 @@ ifeq ($(makemode),library) linktarg := $(libname).so.$(hurd-version) clean := yes - cleantarg := $(linktarg) $(addprefix $(libname),.a _p.a _pic.a .so) + cleantarg := $(linktarg) $(addprefix $(libname),.a _p.a _pic.a \ + .so .so.$(hurd-version)) targets := $(libname).a $(libname).so ifneq ($(no_pic),t) @@ -255,6 +256,8 @@ $(INSTALLED_LOCAL_HEADERS): ../$(local-installhdrsubdir)/%: ../config.make echo '#include "../$(dir)/$*"' > $@ endif libs: $(INSTALLED_LOCAL_HEADERS) +# Make sure we make those before compiling, since -MG will be unhelpful. +$(patsubst %.o,%.d,$(filter %.o,$(OBJS))): $(INSTALLED_LOCAL_HEADERS) # The installed local headers referring to our own files will use # relative names with ../$(dir) and make won't notice that's us. -- cgit v1.2.3