[asterisk-commits] rizzo: trunk r88913 - /trunk/channels/Makefile
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Nov 6 02:17:43 CST 2007
Author: rizzo
Date: Tue Nov 6 02:17:42 2007
New Revision: 88913
URL: http://svn.digium.com/view/asterisk?view=rev&rev=88913
Log:
explain that the host environment must be used to build gentone;
Remove unset variables, they would be misleading.
Modified:
trunk/channels/Makefile
Modified: trunk/channels/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/channels/Makefile?view=diff&rev=88913&r1=88912&r2=88913
==============================================================================
--- trunk/channels/Makefile (original)
+++ trunk/channels/Makefile Tue Nov 6 02:17:42 2007
@@ -83,15 +83,15 @@
dist-clean::
rm -f h323/Makefile
+# gentone must be built with the HOST environment
gentone: gentone.c
- $(ECHO_PREFIX) echo " [LD] $^ -> $@"
- $(CMD_PREFIX) $(HOST_CC) $(STATIC_BUILD) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $^ $(LIBS)
-gentone: LIBS+=-lm
+ $(ECHO_PREFIX) echo " [HOST_CC] $^ -> $@"
+ $(CMD_PREFIX) $(HOST_CC) -o $@ $^ -lm
-busy.h:
+busy.h: gentone
./gentone busy 480 620
-ringtone.h:
+ringtone.h: gentone
./gentone ringtone 440 480
$(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): iax2-parser.o iax2-provision.o
More information about the asterisk-commits
mailing list