Lines 23-32
SHELL =/bin/sh
Link Here
|
23 |
.SUFFIXES: .c .o |
23 |
.SUFFIXES: .c .o |
24 |
|
24 |
|
25 |
CC = gcc |
25 |
CC = gcc |
26 |
|
26 |
DESTDIR = /usr/local/ |
27 |
BINDIR =/usr/local/bin |
27 |
BINDIR =$(DESTDIR)bin |
28 |
|
28 |
MANDIR =$(DESTDIR)man/man1 |
29 |
MANDIR =/usr/local/man/man1 |
|
|
30 |
|
29 |
|
31 |
# TARFILE = $(PROGS)-$(VERSION).tar.gz |
30 |
# TARFILE = $(PROGS)-$(VERSION).tar.gz |
32 |
# DISTDIR = $(PROGS)-$(VERSION) |
31 |
# DISTDIR = $(PROGS)-$(VERSION) |
Lines 63-69
depend:
Link Here
|
63 |
|
62 |
|
64 |
install: |
63 |
install: |
65 |
@echo "Installing aslookup ..." |
64 |
@echo "Installing aslookup ..." |
66 |
$(INSTALLCMD) -c -m 4555 -o root -g bin $(PROGS) $(BINDIR)/ |
65 |
mkdir -p $(BINDIR) |
|
|
66 |
$(INSTALLCMD) -m 4555 -o root -g bin $(PROGS) $(BINDIR)/ |
67 |
@echo "done" |
67 |
@echo "done" |
68 |
|
68 |
|
69 |
clean:; rm -f $(OFILES) $(PROGS) |
69 |
clean:; rm -f $(OFILES) $(PROGS) |