#
# pppd makefile for Linux
-# $Id: Makefile.linux,v 1.62 2004/10/29 00:12:27 paulus Exp $
+# $Id: Makefile.linux,v 1.65 2004/11/01 03:49:20 paulus Exp $
#
# Default installation locations
DESTDIR = @DESTDIR@
BINDIR = $(DESTDIR)/sbin
-MANDIR = $(DESTDIR)/man/man8
+MANDIR = $(DESTDIR)/share/man/man8
INCDIR = $(DESTDIR)/include
TARGETS = pppd
endif
ifdef FILTER
+ifneq ($(wildcard /usr/include/pcap-bpf.h),)
LIBS += -lpcap
CFLAGS += -DPPP_FILTER
endif
+endif
ifdef HAVE_INET6
PPPDSRCS += ipv6cp.c eui64.c
CFLAGS += -DMAXOCTETS
endif
-INSTALL= install -o root
+INSTALL= install
all: $(TARGETS)