diff options
author | Mark Spencer <markster@digium.com> | 2002-07-27 14:29:35 +0000 |
---|---|---|
committer | Mark Spencer <markster@digium.com> | 2002-07-27 14:29:35 +0000 |
commit | 7370ed011ea62b39ce974d39cca54915c067357d (patch) | |
tree | 1dc0482a203eeb980788109ca3f5a02761a7cc4c /astman | |
parent | 995231efc7dc90bfa19489ab4c72d07acd98340a (diff) |
Version 0.2.0 from FTP
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@490 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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 |