mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-18 07:48:14 +00:00
Merged revisions 48525 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48525 | kpfleming | 2006-12-16 15:14:34 -0600 (Sat, 16 Dec 2006) | 2 lines simplify dependency tracking system, using the compiler's built-in method for generating them, and only doing dependency tracking if developer mode is enabled via the configure script ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48527 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -40,7 +40,7 @@ $(addsuffix .so,$(filter $(LOADABLE_MODS),$(CC_MODS))): %.so: %.oo
|
||||
modules.link: $(addsuffix .o,$(filter $(EMBEDDED_MODS),$(C_MODS)))
|
||||
modules.link: $(addsuffix .oo,$(filter $(EMBEDDED_MODS),$(CC_MODS)))
|
||||
|
||||
.PHONY: clean clean-depend depend uninstall _all
|
||||
.PHONY: clean uninstall _all
|
||||
|
||||
ifneq ($(LOADABLE_MODS),)
|
||||
_all: $(LOADABLE_MODS:%=%.so)
|
||||
@@ -67,11 +67,9 @@ modules.link:
|
||||
@for file in $(patsubst %,$(SUBDIR)/%,$(filter %.o,$^)); do echo "INPUT (../$${file})" >> $@; done
|
||||
@for file in $(patsubst %,$(SUBDIR)/%,$(filter-out %.o,$^)); do echo "INPUT (../$${file})" >> $@; done
|
||||
|
||||
clean-depend::
|
||||
rm -f .depend
|
||||
|
||||
clean:: clean-depend
|
||||
clean::
|
||||
rm -f *.so *.o *.oo
|
||||
rm -f .*.o.d .*.oo.d
|
||||
rm -f modules.link
|
||||
|
||||
install:: all
|
||||
@@ -79,11 +77,6 @@ install:: all
|
||||
|
||||
uninstall::
|
||||
|
||||
ifneq ($(wildcard .depend),)
|
||||
include .depend
|
||||
ifneq ($(wildcard .*.d),)
|
||||
include .*.d
|
||||
endif
|
||||
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../build_tools/mkdep $(ASTCFLAGS) `ls *.c *.cc 2> /dev/null`
|
||||
|
||||
Reference in New Issue
Block a user