diff options
author | Roland McGrath <roland@gnu.org> | 2002-06-14 07:55:39 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-06-14 07:55:39 +0000 |
commit | f9759862e97f610b9b58485ec28d91b51d46684d (patch) | |
tree | af93906d8a2c9d7231c562f5beb4f64eaa8360ba /Makeconf | |
parent | 48f9afdbfaf498a849e6882feb6441940b9d5e73 (diff) |
2002-06-14 Roland McGrath <roland@frob.com>
* Makeconf (cleantarg): Add $(libname).so.$(hurd-version).
* Makeconf ($(patsubst %.o,%.d,$(filter %.o,$(OBJS)))): Give these dep
files a dependency on $(INSTALLED_LOCAL_HEADERS).
Diffstat (limited to 'Makeconf')
-rw-r--r-- | Makeconf | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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. |