$NetBSD: patch-be,v 1.1.1.1 2005/01/02 02:51:44 cube Exp $ --- pppdump/Makefile.netbsd.orig 2004-12-31 23:51:00.000000000 +0100 +++ pppdump/Makefile.netbsd @@ -0,0 +1,21 @@ +DESTDIR = @DESTDIR@ +BINDIR = $(DESTDIR)/sbin +MANDIR = $(DESTDIR)/man/man8 + +CFLAGS= -O -I../include/net +OBJS = pppdump.o bsd-comp.o deflate.o + +INSTALL= install + +all: pppdump + +pppdump: $(OBJS) + $(CC) -o pppdump $(OBJS) -lz + +clean: + rm -f pppdump $(OBJS) *~ + +install: + mkdir -p $(BINDIR) $(MANDIR) + $(INSTALL) -s -c pppdump $(BINDIR) + $(INSTALL) -c -m 444 pppdump.8 $(MANDIR)