From a4b8ca220d98512e470c069b70e7b2289b4166ab Mon Sep 17 00:00:00 2001
From: "Kevin P. Fleming" <kpfleming@digium.com>
Date: Mon, 29 Oct 2007 22:24:44 +0000
Subject: [PATCH] clean up assembler and preprocessor files if they are here
 too

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87467 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 Makefile.moddir_rules     | 1 +
 agi/Makefile              | 1 +
 codecs/g722/Makefile      | 1 +
 codecs/ilbc/Makefile      | 1 +
 codecs/lpc10/Makefile     | 1 +
 main/db1-ast/Makefile     | 1 +
 main/editline/Makefile.in | 1 +
 utils/Makefile            | 1 +
 8 files changed, 8 insertions(+)

diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules
index 1c78ebd459..38caf2294e 100644
--- a/Makefile.moddir_rules
+++ b/Makefile.moddir_rules
@@ -74,6 +74,7 @@ modules.link:
 clean::
 	rm -f *.so *.o *.oo *.eo *.eoo
 	rm -f .*.o.d .*.oo.d
+	rm -f *.s *.i
 	rm -f modules.link
 
 install:: all
diff --git a/agi/Makefile b/agi/Makefile
index 4066cda0bb..2ced1ba68e 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -40,6 +40,7 @@ uninstall:
 clean:
 	rm -f *.so *.o look eagi-test eagi-sphinx-test
 	rm -f .*.o.d .*.oo.d
+	rm -f *.s *.i
 	rm -f strcompat.c
 
 ifneq ($(wildcard .*.d),)
diff --git a/codecs/g722/Makefile b/codecs/g722/Makefile
index a894e5cbf8..dee23c6e8a 100644
--- a/codecs/g722/Makefile
+++ b/codecs/g722/Makefile
@@ -15,3 +15,4 @@ $(LIB): $(OBJS)
 clean:
 	rm -f $(LIB) *.o
 	rm -f .*.o.d
+	rm -f *.s *.i
diff --git a/codecs/ilbc/Makefile b/codecs/ilbc/Makefile
index 3864f31fbd..c3db840efa 100644
--- a/codecs/ilbc/Makefile
+++ b/codecs/ilbc/Makefile
@@ -18,3 +18,4 @@ $(LIB): $(OBJS)
 
 clean:
 	rm -f $(LIB) *.o .*.d
+	rm -f *.s *.i
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index e3308913ab..c98131c26f 100644
--- a/codecs/lpc10/Makefile
+++ b/codecs/lpc10/Makefile
@@ -75,3 +75,4 @@ $(LIB): $(OBJ)
 
 clean:
 	rm -f *.o $(LIB) .*.d
+	rm -f *.s *.i
diff --git a/main/db1-ast/Makefile b/main/db1-ast/Makefile
index 73ccbd605a..56657f88f0 100644
--- a/main/db1-ast/Makefile
+++ b/main/db1-ast/Makefile
@@ -47,6 +47,7 @@ clean-depend:
 
 clean:
 	rm -f $(LIBDB) $(LIBDBSO) $(OBJS) $(SHOBJS)
+	rm -f *.s *.i
 
 ASTCFLAGS:=-Wall -D__DBINTERFACE_PRIVATE -I. -I.. -Iinclude -Ihash -Ibtree -Irecno $(ASTCFLAGS)
 
diff --git a/main/editline/Makefile.in b/main/editline/Makefile.in
index 1b46486176..f17cfd43a7 100644
--- a/main/editline/Makefile.in
+++ b/main/editline/Makefile.in
@@ -177,6 +177,7 @@ clean :
 	rm -f $(BGCSRCS:.c=.o_a) $(CCSRCS:.c=.o_a)
 	rm -f $(BGCSRCS:.c=.o_s) $(CCSRCS:.c=.o_s)
 	rm -f $(TCSRCS:.c=.o) $(TEST)
+	rm -f *.s *.i
 
 distclean : clean
 	rm -f config.cache config.log config.status config.h Makefile
diff --git a/utils/Makefile b/utils/Makefile
index c5b7067e96..2cbf1b4c94 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -58,6 +58,7 @@ uninstall:
 clean:
 	rm -f *.o $(ALL_UTILS) check_expr
 	rm -f .*.o.d .*.oo.d
+	rm -f *.s *.i
 	rm -f md5.c strcompat.c ast_expr2.c ast_expr2f.c pbx_ael.c pval.c
 	rm -f aelparse.c aelbison.c conf2ael
 	rm -f utils.c sha1.c astobj2.c hashtest2
-- 
GitLab