diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-26 18:36:24 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-11-26 18:36:24 +0000 |
commit | e60bada432f9aa4af545117c3f2fa95ef5be21a0 (patch) | |
tree | cd886d4502889a93d96b50928be4913c795138d8 /channels/Makefile | |
parent | b0072f8d99a99fdc617e6c9d30cbd64f5db46325 (diff) |
simplify (and slightly bug-fix) the recent developer-oriented COMPILE_DOUBLE mode
add channels/busy.h and channels/ringtone.h to the repository instead of generating them repeatedtly; most users do not change the settings to build them, but the Makefile rules are still there if they wish to do so
ensure that 'make clean' removes dependency files for .i files that are created in COMPILE_DOUBLE mode
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@159476 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/Makefile')
-rw-r--r-- | channels/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/channels/Makefile b/channels/Makefile index d46632e01..e2cadfa13 100644 --- a/channels/Makefile +++ b/channels/Makefile @@ -66,7 +66,7 @@ all: _all include $(ASTTOPDIR)/Makefile.moddir_rules clean:: - rm -f busy.h ringtone.h gentone + rm -f gentone $(MAKE) -C misdn clean ifneq ($(wildcard h323/Makefile.ast),) @@ -94,18 +94,14 @@ gentone: gentone.c $(CMD_PREFIX) $(HOST_CC) $(STATIC_BUILD) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $^ $(LIBS) gentone: LIBS+=-lm -busy.h: gentone +busy.h: ./gentone busy 480 620 -ringtone.h: gentone +ringtone.h: ./gentone ringtone 440 480 -chan_oss.o: busy.h ringtone.h - $(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): iax2-parser.o iax2-provision.o -chan_alsa.o: busy.h ringtone.h - ifeq ($(OSARCH),linux-gnu) chan_h323.so: chan_h323.o h323/libchanh323.a h323/Makefile.ast $(ECHO_PREFIX) echo " [LD] $^ -> $@" |