asterisk/astman/Makefile
Matteo Brancaleoni 0ce1ae2a36 lun mar 10 21:39:02 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@638 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2003-03-10 20:39:12 +00:00

20 lines
393 B
Makefile
Executable file

TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
all: $(TARGET)
install:
if [ "$(TARGET)" != "none" ]; then \
for x in $(TARGET); do \
install -m 755 $$x $(ASTSBINDIR)/astman; \
done ; \
fi
none:
@echo Not building the Asterisk Manager "astman"
clean:
rm -f *.o astman
astman: astman.o ../md5.o
$(CC) -o astman astman.o ../md5.o -lnewt