From fec29a650d2d5ec48fd7a40cba014f7702023426 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Wed, 22 Dec 1999 00:01:04 +0000 Subject: [PATCH] Look for the generated dependencies.beos at the top of the objtree not the top of the srctree. Remove dependencies.beos when running realclean or distclean. --- config/rules.mk | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/config/rules.mk b/config/rules.mk index 9e1b04cb18f..b9d62c8f578 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -299,7 +299,7 @@ endif # IS_COMPONENT # ifeq ($(OS_ARCH),BeOS) ifdef SHARED_LIBRARY -BEOS_LIB_LIST = $(shell cat $(topsrcdir)/dependencies.beos/$(LIBRARY_NAME).dependencies) +BEOS_LIB_LIST = $(shell cat $(DEPTH)/dependencies.beos/$(LIBRARY_NAME).dependencies) BEOS_LINK_LIBS = $(foreach lib,$(BEOS_LIB_LIST),$(shell $(topsrcdir)/config/beos/checklib.sh $(DIST)/bin $(lib))) LDFLAGS += -L$(DIST)/bin $(BEOS_LINK_LIBS) $(NSPR_LIBS) EXTRA_DSO_LDOPTS += -L$(DIST)/bin $(BEOS_LINK_LIBS) $(NSPR_LIBS) @@ -476,12 +476,13 @@ clean clobber:: $(SUBMAKEFILES) +$(LOOP_OVER_DIRS) realclean clobber_all:: $(SUBMAKEFILES) - rm -rf $(wildcard *.OBJ) dist $(ALL_TRASH) + rm -rf $(wildcard *.OBJ) dist dependencies.beos $(ALL_TRASH) +$(LOOP_OVER_DIRS) distclean:: $(SUBMAKEFILES) rm -rf $(wildcard *.OBJ) dist $(ALL_TRASH) $(wildcard *.map) \ - Makefile config.log config.cache depend.mk .md .deps .HSancillary _xpidlgen + Makefile config.log config.cache depend.mk .md .deps \ + .HSancillary _xpidlgen dependencies.beos +$(LOOP_OVER_DIRS) alltags: