mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-17 15:29:05 +00:00
Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
17
astman/Makefile
Executable file
17
astman/Makefile
Executable file
@@ -0,0 +1,17 @@
|
||||
|
||||
TARGET=$(shell if [ -f /usr/include/newt.h ]; then echo "astman"; fi)
|
||||
all: $(TARGET)
|
||||
|
||||
install:
|
||||
mkdir -p /usr/sbin
|
||||
if [ "$(TARGET)" != "" ]; then \
|
||||
for x in $(TARGET); do \
|
||||
install -m 755 $$x /usr/sbin/astman; \
|
||||
done ; \
|
||||
fi
|
||||
|
||||
clean:
|
||||
rm -f *.o astman
|
||||
|
||||
astman: astman.o
|
||||
$(CC) -o astman astman.o -lnewt
|
||||
Reference in New Issue
Block a user