mirror of
https://github.com/asterisk/asterisk.git
synced 2025-12-12 01:52:38 +00:00
dep fix, pbx fix
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@962 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#
|
||||
CFLAGS+=-DNO_AST_MM
|
||||
TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
|
||||
all: $(TARGET)
|
||||
all: depend $(TARGET)
|
||||
|
||||
install:
|
||||
if [ "$(TARGET)" != "none" ]; then \
|
||||
@@ -16,7 +16,15 @@ none:
|
||||
@echo Not building the Asterisk Manager "astman"
|
||||
|
||||
clean:
|
||||
rm -f *.o astman
|
||||
rm -f *.o astman .depend
|
||||
|
||||
astman: astman.o ../md5.o
|
||||
$(CC) -o astman astman.o ../md5.o -lnewt
|
||||
|
||||
include .depend
|
||||
|
||||
depend: .depend
|
||||
|
||||
.depend:
|
||||
../mkdep $(CFLAGS) `ls *.c`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user