diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-07-27 14:29:35 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2002-07-27 14:29:35 +0000 |
commit | 0ddc8cbac262dd5caff102d30bc5ce25a3f6677c (patch) | |
tree | 1dc0482a203eeb980788109ca3f5a02761a7cc4c /astman | |
parent | 0f12bfff790e920f3316f72f2a90ab66ca3b9c63 (diff) |
Version 0.2.0 from FTP
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@490 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'astman')
-rwxr-xr-x | astman/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/astman/Makefile b/astman/Makefile new file mode 100755 index 000000000..f932ffb9f --- /dev/null +++ b/astman/Makefile @@ -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 |