summaryrefslogtreecommitdiff
path: root/Makeconf
diff options
context:
space:
mode:
Diffstat (limited to 'Makeconf')
-rw-r--r--Makeconf6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makeconf b/Makeconf
index 709a5b18..42fca7b3 100644
--- a/Makeconf
+++ b/Makeconf
@@ -240,10 +240,14 @@ $(libname).so: $(patsubst %.o,%_pic.o,$(OBJS)) $(library_deps)
endif
# Providing directory dependencies
+ifneq ($(makemode),library)
+hurd-bug-addr-dir-dep = libhurdbugaddr
+endif
+
directory-depend: $(..)$(dir).d
$(..)$(dir).d: $(srcdir)/Makefile
rm -f $@
- echo $(dir): $(addprefix lib,$(HURDLIBS)) > $@
+ echo $(dir): $(hurd-bug-addr-dir-dep) $(addprefix lib,$(HURDLIBS)) > $@
# Making a snapshot
distfiles = Makefile ChangeLog $(SRCS) $(LCLHDRS) $(DIST_FILES)