Lines 31-37
Link Here
|
31 |
# Pathname of directory to install the man page |
31 |
# Pathname of directory to install the man page |
32 |
MANDEST = @mandir@ |
32 |
MANDEST = @mandir@ |
33 |
# Pathname of directory to install database file |
33 |
# Pathname of directory to install database file |
34 |
ARPDIR = $(prefix)/arpwatch |
34 |
ARPDIR ?= $(prefix)/arpwatch |
35 |
|
35 |
|
36 |
# VPATH |
36 |
# VPATH |
37 |
srcdir = @srcdir@ |
37 |
srcdir = @srcdir@ |
Lines 45-51
Link Here
|
45 |
PROG = arpwatch |
45 |
PROG = arpwatch |
46 |
CCOPT = @V_CCOPT@ |
46 |
CCOPT = @V_CCOPT@ |
47 |
INCLS = -I. @V_INCLS@ |
47 |
INCLS = -I. @V_INCLS@ |
48 |
DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" |
48 |
DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\" |
49 |
|
49 |
|
50 |
# Standard CFLAGS |
50 |
# Standard CFLAGS |
51 |
CFLAGS = $(CCOPT) $(DEFS) $(INCLS) |
51 |
CFLAGS = $(CCOPT) $(DEFS) $(INCLS) |
Lines 110-122
Link Here
|
110 |
$(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil |
110 |
$(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil |
111 |
|
111 |
|
112 |
install: force |
112 |
install: force |
113 |
$(INSTALL) -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST) |
113 |
$(INSTALL) -s -m 555 -o root -g wheel arpwatch $(DESTDIR)$(BINDEST) |
114 |
$(INSTALL) -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST) |
114 |
$(INSTALL) -s -m 555 -o root -g wheel arpsnmp $(DESTDIR)$(BINDEST) |
115 |
|
115 |
|
116 |
install-man: force |
116 |
install-man: force |
117 |
$(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpwatch.8 \ |
117 |
$(INSTALL) -m 444 -o root -g wheel $(srcdir)/arpwatch.8 \ |
118 |
$(DESTDIR)$(MANDEST)/man8 |
118 |
$(DESTDIR)$(MANDEST)/man8 |
119 |
$(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpsnmp.8 \ |
119 |
$(INSTALL) -m 444 -o root -g wheel $(srcdir)/arpsnmp.8 \ |
120 |
$(DESTDIR)$(MANDEST)/man8 |
120 |
$(DESTDIR)$(MANDEST)/man8 |
121 |
|
121 |
|
122 |
lint: $(GENSRC) force |
122 |
lint: $(GENSRC) force |