mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -80,7 +80,9 @@ h323/libchanh323.a h323/Makefile.ast:
|
||||
$(CMD_PREFIX) exit 1
|
||||
endif
|
||||
|
||||
$(eval $(call ast_make_final_host,gentone,gentone.c))
|
||||
gentone: gentone.c
|
||||
$(ECHO_PREFIX) echo " [LD] $^ -> $@"
|
||||
$(CMD_PREFIX) $(HOST_CC) $(STATIC_BUILD) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $^ $(LIBS)
|
||||
gentone: LIBS+=-lm
|
||||
|
||||
busy.h: gentone
|
||||
@@ -91,7 +93,7 @@ ringtone.h: gentone
|
||||
|
||||
chan_oss.o: busy.h ringtone.h
|
||||
|
||||
$(chan_iax2): iax2-parser.o iax2-provision.o
|
||||
$(if $(filter chan_iax2,$(EMBEDDED_MODS)),modules.link,chan_iax2.so): iax2-parser.o iax2-provision.o
|
||||
|
||||
chan_alsa.o: busy.h ringtone.h
|
||||
|
||||
@@ -109,4 +111,4 @@ chan_misdn.o: ASTCFLAGS+=-Imisdn
|
||||
|
||||
misdn_config.o: ASTCFLAGS+=-Imisdn
|
||||
|
||||
$(chan_misdn): chan_misdn.o misdn_config.o misdn/isdn_lib.o misdn/isdn_msg_parser.o
|
||||
$(if $(filter chan_misdn,$(EMBEDDED_MODS)),modules.link,chan_misdn.so): chan_misdn.o misdn_config.o misdn/isdn_lib.o misdn/isdn_msg_parser.o
|
||||
|
Reference in New Issue
Block a user