aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-29 22:12:16 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-29 22:12:16 +0000
commit240ced89150d29f43cf29fb896045becdf8fb5f7 (patch)
tree28facce7e4716a9eb00d75096cf842a3b86afa77
parentb5b85fd23e2a710678dcd90961faf6c9ad71ea4e (diff)
clean up (and ignore) assembler and preprocessor intermediate files if any are created during the build
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@87463 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--Makefile.moddir_rules2
-rw-r--r--agi/Makefile2
-rw-r--r--codecs/ilbc/Makefile2
-rw-r--r--codecs/lpc10/Makefile2
-rw-r--r--main/db1-ast/Makefile2
-rw-r--r--main/editline/Makefile.in1
-rw-r--r--utils/Makefile2
7 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.moddir_rules b/Makefile.moddir_rules
index 7d7109b6d..a493e4733 100644
--- a/Makefile.moddir_rules
+++ b/Makefile.moddir_rules
@@ -70,7 +70,7 @@ modules.link:
@for file in $(patsubst %,$(SUBDIR)/%,$(filter-out %.o,$^)); do echo "INPUT (../$${file})" >> $@; done
clean::
- rm -f *.so *.o *.oo
+ rm -f *.so *.o *.oo *.s *.i
rm -f .*.o.d .*.oo.d
rm -f modules.link
diff --git a/agi/Makefile b/agi/Makefile
index 4066cda0b..c24c7f100 100644
--- a/agi/Makefile
+++ b/agi/Makefile
@@ -39,7 +39,7 @@ uninstall:
clean:
rm -f *.so *.o look eagi-test eagi-sphinx-test
- rm -f .*.o.d .*.oo.d
+ rm -f .*.o.d .*.oo.d *.s *.i
rm -f strcompat.c
ifneq ($(wildcard .*.d),)
diff --git a/codecs/ilbc/Makefile b/codecs/ilbc/Makefile
index 3864f31fb..51e2ae249 100644
--- a/codecs/ilbc/Makefile
+++ b/codecs/ilbc/Makefile
@@ -17,4 +17,4 @@ $(LIB): $(OBJS)
$(CMD_PREFIX) $(RANLIB) $@
clean:
- rm -f $(LIB) *.o .*.d
+ rm -f $(LIB) *.o .*.d *.s *.i
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index e3308913a..bf6a6e08a 100644
--- a/codecs/lpc10/Makefile
+++ b/codecs/lpc10/Makefile
@@ -74,4 +74,4 @@ $(LIB): $(OBJ)
$(CMD_PREFIX) $(RANLIB) $@
clean:
- rm -f *.o $(LIB) .*.d
+ rm -f *.o $(LIB) .*.d *.s *.i
diff --git a/main/db1-ast/Makefile b/main/db1-ast/Makefile
index 73ccbd605..4b9bb25d7 100644
--- a/main/db1-ast/Makefile
+++ b/main/db1-ast/Makefile
@@ -46,7 +46,7 @@ $(PROG): db_dump185.o $(LIBDBSO)
clean-depend:
clean:
- rm -f $(LIBDB) $(LIBDBSO) $(OBJS) $(SHOBJS)
+ rm -f $(LIBDB) $(LIBDBSO) $(OBJS) $(SHOBJS) *.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 1b4648617..f17cfd43a 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 f41427ddf..4703e2c84 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -55,7 +55,7 @@ uninstall:
for x in $(ALL_UTILS); do rm -f $$x $(DESTDIR)$(ASTSBINDIR)/$$x; done
clean:
- rm -f *.o $(ALL_UTILS) check_expr
+ rm -f *.o $(ALL_UTILS) check_expr *.s *.i
rm -f .*.o.d .*.oo.d
rm -f md5.c strcompat.c ast_expr2.c ast_expr2f.c pbx_ael.c
rm -f aelparse.c aelbison.c