lun mar 10 21:39:02 CET 2003
[asterisk/asterisk.git] / astman / Makefile
1
2 TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; else echo "none" ; fi)
3 all: $(TARGET)
4
5 install:
6         if [ "$(TARGET)" != "none" ]; then \
7                 for x in $(TARGET); do \
8                         install -m 755 $$x $(ASTSBINDIR)/astman; \
9                 done ; \
10         fi
11
12 none:
13         @echo Not building the Asterisk Manager "astman"
14
15 clean:
16         rm -f *.o astman
17
18 astman: astman.o ../md5.o
19         $(CC) -o astman astman.o ../md5.o -lnewt