[asterisk-dev] Re: [asterisk-commits] trunk r23422 - /trunk/apps/Makefile

Denis Smirnov ds at seiros.ru
Sun Apr 30 02:42:35 MST 2006


On Sat, Apr 29, 2006 at 07:26:54PM -0000, asterisk-commits at lists.digium.com wrote:

> revert the last change to this Makefile which removed the rules to build
> app_apt.  These rules *are* needed beacause this module uses libtonezone,
> so it needs this information from autoconf in case it is located in a
> non-standard location.  Also, without it, app_rpt.so would not be linked
> with libtonezone at all.

 > +app_rpt.so: app_rpt.o
 > +	$(CC) $(SOLINK) -o $@ $< $(ZAPTEL_LIB)
 > +app_rpt.o: app_rpt.c
 > +	$(CC) $(SOLINK) -o $@ $< $(ZAPTEL_INCLUDE)

If so, there is a bug -- why using $(SOLINK) when _compiling_?

Second rule doesn't works anyway. It needs to contain at least $(CFLAGS)
and not contain $(SOLINK).

-- 
JID: ds at im.seiros.ru
ICQ: 58417635 (please, use jabber, if you can)

http://freesource.info/




More information about the asterisk-dev mailing list