ongrep

A cleaned up fork of ngrep for OpenBSD
git clone git://git.sgregoratto.me/ongrep
Log | Files | Refs | README | LICENSE

Makefile (345B)


      1 PREFIX=		/usr/local
      2 BINDIR=		${PREFIX}/sbin
      3 MANDIR=		${PREFIX}/man
      4 
      5 PROG=	ngrep
      6 MAN=	ngrep.8
      7 
      8 UNPRIV_USER?=	_ngrep
      9 CPPFLAGS+=	-DUNPRIV_USER='"${UNPRIV_USER}"' -I${PREFIX}/include
     10 CFLAGS+=	-Wall -Wextra -Wpedantic -Wno-uninitialized -Wstrict-prototypes
     11 LDADD+=		-lpcre -lpcap
     12 DPADD+=		${LIBPCAP}
     13 LDFLAGS+=	-L${PREFIX}/lib
     14 
     15 .include <bsd.prog.mk>