From 075aedf4eed8d50effed5a0c5ea81015df2f7ede Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Fri, 8 Oct 1999 21:17:32 +0000 Subject: [PATCH] Ok, let's not try to generate the remove list if there is no library to remove things from git-svn-id: svn://10.0.0.236/trunk@50255 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/config/rules.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mozilla/config/rules.mk b/mozilla/config/rules.mk index 1df45e17d35..35473a3badf 100644 --- a/mozilla/config/rules.mk +++ b/mozilla/config/rules.mk @@ -579,9 +579,11 @@ $(LIBRARY)(%.o): %.o $(LIBRARY:%.a=.%.timestamp) : @touch $@ +ifneq (, $(LIBRARY)) AR_FILES_TO_REMOVE := $(filter-out \ $(filter %.o, $(LIBRARY)($(OBJS) $(LOBJS)) ), \ $(shell [ -f $(LIBRARY) ] && $(AR_LIST) $(LIBRARY))) +endif $(LIBRARY): $(LIBRARY)($(OBJS) $(LOBJS)) $(LIBRARY:%.a=.%.timestamp) Makefile.in Makefile @touch $(LIBRARY:%.a=.%.timestamp)